/* Estilos propios de agencia-chatgpt-ads.php */

@media only screen and (max-width: 600px) {
	#mega-menu-wrap {
		display: none
			/* Inicialmente oculto */
	}
}

@media screen and (max-width: 760px) {

	.img-box {
		width: 20%;
	}

	.pb50mio {
		padding-bottom: 50px;
	}
	.pb30mio {
		padding-bottom: 30px;
	}
	.pb20mio {
		padding-bottom: 20px;
	}
	.pt50mio {
		padding-top: 50px;
	}
	.pt30mio {
		padding-top: 30px;
	}
	.pt20mio {
		padding-top: 20px;
	}

	.textcmio {
		text-align: center !important;
	}

	.pctamio {
		padding-top: 70px;
		padding-bottom: 60px;
	}
}

/* Datos de ChatGPT Ads: banda degradada con 3 cifras */
.cgpt-stats {
	display: flex;
	max-width: 960px;
	margin: 0 auto;
	background: linear-gradient(90deg, #1b49ef 0%, #2f86f0 55%, #00d2f0 100%);
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 10px 20px 0 rgba(0,11,40,.08);
}

.cgpt-stats-item {
	flex: 1;
	padding: 35px 20px;
	color: #fff;
	text-align: center;
}

.cgpt-stats-item + .cgpt-stats-item {
	border-left: 1px solid rgba(255,255,255,.25);
}

.cgpt-stats-label {
	display: block;
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 8px;
}

.cgpt-stats-num {
	display: block;
	font-size: 36px;
	font-weight: 800;
	line-height: 1.2;
}

.cgpt-stats-note {
	display: block;
	font-size: 14px;
	font-style: italic;
	opacity: .9;
}

.cgpt-source {
	max-width: 960px;
	margin: 10px auto 0;
	font-size: 13px;
	font-style: italic;
	color: #6b6f86;
}

@media screen and (max-width: 760px) {
	.cgpt-stats {
		flex-direction: column;
	}

	.cgpt-stats-item {
		padding: 22px 20px;
	}

	.cgpt-stats-item + .cgpt-stats-item {
		border-left: 0;
		border-top: 1px solid rgba(255,255,255,.25);
	}

	.cgpt-stats-num {
		font-size: 30px;
	}
}

/* ¿Cuándo llegó a Argentina?: línea de tiempo horizontal */
.cgpt-launch {
	display: flex;
	position: relative;
	margin: 30px 0;
	padding: 0;
	list-style: none;
}

.cgpt-launch:before {
	content: "";
	position: absolute;
	top: 11px;
	left: 16.66%;
	right: 16.66%;
	height: 2px;
	background: #1b49ef;
}

.cgpt-launch li {
	flex: 1;
	position: relative;
	text-align: center;
	padding: 0 8px;
}

.cgpt-launch-dot {
	display: block;
	position: relative;
	width: 24px;
	height: 24px;
	margin: 0 auto 12px;
	border-radius: 50%;
	background: #fff;
	border: 3px solid #1b49ef;
	z-index: 1;
}

.cgpt-launch-date {
	display: block;
	font-weight: 800;
	color: #1b49ef;
	font-size: 16px;
}

.cgpt-launch-place {
	display: block;
	font-size: 15px;
	line-height: 1.4;
}

.cgpt-launch .cgpt-launch-ar .cgpt-launch-dot {
	background: #9438e5;
	border-color: #9438e5;
	box-shadow: 0 0 0 6px rgba(148,56,229,.15);
}

.cgpt-launch .cgpt-launch-ar .cgpt-launch-date {
	color: #9438e5;
}

.cgpt-launch .cgpt-launch-ar .cgpt-launch-place {
	font-weight: 700;
}

/* ¿Dónde aparecen?: cita de OpenAI */
.cgpt-quote {
	border-left: 4px solid #1b49ef;
	background: #F3F5FF;
	border-radius: 0 8px 8px 0;
	padding: 20px 25px;
	margin: 25px 0 0;
	font-style: italic;
}

.cgpt-quote-src {
	display: block;
	margin-top: 8px;
	font-style: normal;
	font-weight: 700;
	color: #1b49ef;
}

/* Tarjetas simples con ícono arriba (dónde aparecen) */
.cgpt-card {
	background: #fff;
	border: 1px solid #E3E7F7;
	border-radius: 12px;
	padding: 30px 25px;
	height: 100%;
	box-shadow: 0 10px 20px 0 rgba(0,11,40,.05);
}

.cgpt-card img {
	height: 66px;
	width: auto;
	margin-bottom: 15px;
}

.cgpt-card h3 {
	font-size: 18px;
	margin-bottom: 10px;
}

.cgpt-card p {
	margin-bottom: 0;
}

/* Lista con tilde azul */
.cgpt-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.cgpt-list li {
	position: relative;
	padding-left: 30px;
	margin-bottom: 10px;
}

.cgpt-list li:before {
	content: "\f00c";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	position: absolute;
	left: 0;
	top: 1px;
	color: #1b49ef;
}

@media screen and (min-width: 768px) {
	.cgpt-list-2col {
		column-count: 2;
		column-gap: 30px;
	}

	.cgpt-list-2col li {
		display: inline-block;
		width: 100%;
		break-inside: avoid;
	}
}

/* Ejemplo de anuncio con referencias (como el de OpenAI, marca ficticia) */
.cgpt-ad-demo {
	background: linear-gradient(135deg, #EEF3FF 0%, #F7F9FF 50%, #E3ECFF 100%);
	border-radius: 16px;
	padding: 110px 20px 120px 100px;
}

/* El ancho del wrap es el de la tarjeta: las referencias se ubican respecto de ella */
.cgpt-ad-wrap {
	position: relative;
	max-width: 420px;
}

.cgpt-ad {
	position: relative;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 15px 35px 0 rgba(0,11,40,.10);
	padding: 18px;
}

.cgpt-ad-head {
	display: flex;
	align-items: center;
	height: 36px;
	margin-bottom: 12px;
	font-size: 15px;
}

.cgpt-ad-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #1d3557;
	color: #fff;
	font-size: 15px;
	margin-right: 10px;
	flex-shrink: 0;
}

.cgpt-ad-head b {
	color: #1d1f2c;
}

.cgpt-ad-head span {
	color: #8a8fa3;
	margin-left: 5px;
}

.cgpt-ad-head .cgpt-ad-more {
	margin-left: auto;
	color: #8a8fa3;
	letter-spacing: 2px;
}

.cgpt-ad-body {
	display: flex;
	align-items: center;
	height: 140px;
	background: #F5F7FC;
	border-radius: 12px;
	padding: 14px;
}

.cgpt-ad-text {
	flex: 1;
	padding-right: 12px;
}

.cgpt-ad-text strong {
	display: block;
	font-size: 19px;
	line-height: 1.25;
	color: #1d1f2c;
	margin-bottom: 6px;
}

.cgpt-ad-text span {
	display: block;
	font-size: 14px;
	line-height: 1.4;
	color: #6b6f86;
}

.cgpt-ad-img {
	width: 125px;
	height: 112px;
	border-radius: 10px;
	overflow: hidden;
	flex-shrink: 0;
	background: linear-gradient(135deg, #cfd9ea 0%, #9fb1cc 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 40px;
}

.cgpt-ad-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Referencias en desktop: texto afuera y una línea que llega al elemento */
.cgpt-ad-ref {
	position: absolute;
	font-size: 14px;
	line-height: 1.35;
	color: #4d6fd8;
}

.cgpt-ad-ref b {
	display: block;
	font-size: 16px;
	color: #1b49ef;
}

.cgpt-ad-ref:before,
.cgpt-ad-ref:after {
	content: "";
	position: absolute;
}

.cgpt-ad-ref:before {
	border: 0 solid #1b49ef;
}

.cgpt-ad-ref:after {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #1b49ef;
}

/* Título: arriba a la izquierda, baja hasta el título del anuncio (y = 113px de la tarjeta) */
.cgpt-ad-ref-title {
	top: -85px;
	left: -75px;
	padding-left: 14px;
}

.cgpt-ad-ref-title:before {
	left: 0;
	top: 8px;
	width: 93px;
	height: 190px;
	border-left-width: 2px;
	border-bottom-width: 2px;
}

.cgpt-ad-ref-title:after {
	left: 90px;
	top: 194px;
}

/* Descripción: abajo a la izquierda, sube hasta el texto del anuncio */
.cgpt-ad-ref-desc {
	top: 245px;
	left: -75px;
	padding-left: 14px;
}

.cgpt-ad-ref-desc:before {
	left: 0;
	bottom: calc(100% - 12px);
	width: 93px;
	height: 105px;
	border-left-width: 2px;
	border-top-width: 2px;
}

.cgpt-ad-ref-desc:after {
	left: 90px;
	top: -97px;
}

/* Imagen: a la derecha, a la altura de la imagen */
.cgpt-ad-ref-img {
	top: 100px;
	left: calc(100% + 35px);
	width: 140px;
}

.cgpt-ad-ref-img:before {
	left: -72px;
	top: 32px;
	width: 66px;
	border-top-width: 2px;
}

.cgpt-ad-ref-img:after {
	left: -74px;
	top: 29px;
}

.cgpt-ad-num {
	display: none;
}

/* Hasta 1199px no hay lugar al costado: referencias numeradas debajo del anuncio */
@media screen and (max-width: 1199px) {
	.cgpt-ad-demo {
		padding: 25px 15px;
		margin-top: 15px;
	}

	.cgpt-ad-wrap {
		margin: 0 auto;
	}

	.cgpt-ad-ref {
		position: relative;
		top: auto;
		left: auto;
		width: auto;
		padding: 0 0 0 34px;
		margin-top: 15px;
	}

	.cgpt-ad-ref:before,
	.cgpt-ad-ref:after {
		display: none;
	}

	.cgpt-ad-num {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 24px;
		height: 24px;
		border-radius: 50%;
		background: #1b49ef;
		color: #fff;
		font-size: 13px;
		font-weight: 700;
		font-style: normal;
		position: absolute;
		z-index: 1;
	}

	.cgpt-ad-ref .cgpt-ad-num {
		left: 0;
		top: 0;
	}

	/* Números pegados a cada elemento del anuncio */
	.cgpt-ad-text strong,
	.cgpt-ad-text span {
		position: relative;
	}

	.cgpt-ad-text .cgpt-ad-num {
		left: -32px;
		top: 0;
	}

	.cgpt-ad-img {
		position: relative;
	}

	.cgpt-ad-img .cgpt-ad-num {
		top: 6px;
		right: 6px;
	}

	.cgpt-ad-body {
		height: auto;
		min-height: 125px;
	}

	.cgpt-ad-img {
		width: 100px;
		height: 97px;
	}

	.cgpt-ad-text {
		padding-left: 32px;
	}

	.cgpt-ad-text strong {
		font-size: 17px;
	}

	.cgpt-ad-ref {
		margin-top: 18px;
	}

	.cgpt-ad + .cgpt-ad-ref {
		margin-top: 25px;
	}
}

/* Mobile: menos margen alrededor y una imagen más chica para que el texto respire */
@media screen and (max-width: 575px) {
	.cgpt-ad-demo {
		padding: 20px 10px 25px;
	}

	.cgpt-ad {
		padding: 15px 12px;
	}

	.cgpt-ad-head {
		font-size: 14px;
	}

	.cgpt-ad-body {
		padding: 14px 10px;
	}

	.cgpt-ad-img {
		width: 88px;
		height: 88px;
	}

	.cgpt-ad-text {
		padding-right: 10px;
	}

	.cgpt-ad-ref {
		padding-left: 36px;
	}
}

@media screen and (max-width: 575px) {
	.cgpt-launch-date {
		font-size: 14px;
	}

	.cgpt-launch-place {
		font-size: 14px;
	}
}

/* Proceso de trabajo: línea de tiempo (mismo recurso que agencia-meta-ads.php) */
.cgpt-timeline {
	position: relative;
	max-width: 1140px;
	margin: 0 auto;
}

.cgpt-timeline:before {
	content: "";
	position: absolute;
	left: 50%;
	top: 60px;
	bottom: 60px;
	width: 2px;
	background: #1b49ef;
	transform: translateX(-50%);
}

.cgpt-tl-item {
	position: relative;
	width: 50%;
}

.cgpt-tl-item + .cgpt-tl-item {
	margin-top: -40px;
}

.cgpt-tl-left {
	padding-right: 40px;
}

.cgpt-tl-right {
	margin-left: 50%;
	padding-left: 40px;
}

.cgpt-tl-card {
	position: relative;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 10px 20px 0 rgba(0,11,40,.08);
	padding: 30px;
	text-align: center;
}

.cgpt-tl-card:after {
	content: "";
	position: absolute;
	top: 50%;
	margin-top: -10px;
	border: 10px solid transparent;
}

.cgpt-tl-left .cgpt-tl-card:after {
	right: -20px;
	border-left-color: #fff;
}

.cgpt-tl-right .cgpt-tl-card:after {
	left: -20px;
	border-right-color: #fff;
}

.cgpt-tl-card h3 {
	font-size: 20px;
	color: #9438e5;
	margin-bottom: 12px;
}

.cgpt-tl-card p {
	margin-bottom: 0;
}

.cgpt-tl-dot {
	position: absolute;
	top: 50%;
	width: 40px;
	height: 40px;
	margin-top: -20px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 5px 15px 0 rgba(0,11,40,.1);
	color: #9438e5;
	font-size: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
}

.cgpt-tl-dot b {
	display: none;
}

.cgpt-tl-left .cgpt-tl-dot {
	right: -20px;
}

.cgpt-tl-right .cgpt-tl-dot {
	left: -20px;
}

.cgpt-tl-num {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-size: 30px;
	font-weight: 800;
	color: #1b49ef;
}

.cgpt-tl-left .cgpt-tl-num {
	right: -80px;
}

.cgpt-tl-right .cgpt-tl-num {
	left: -80px;
}

/* Mobile/tablet: línea a la izquierda y todas las tarjetas a la derecha */
@media screen and (max-width: 991px) {
	.cgpt-timeline:before {
		left: 20px;
	}

	.cgpt-tl-item,
	.cgpt-tl-right {
		width: 100%;
		margin-left: 0;
		padding: 0 0 0 60px;
	}

	.cgpt-tl-item + .cgpt-tl-item {
		margin-top: 25px;
	}

	.cgpt-tl-left .cgpt-tl-card:after {
		right: auto;
		left: -20px;
		border-left-color: transparent;
		border-right-color: #fff;
	}

	.cgpt-tl-left .cgpt-tl-dot,
	.cgpt-tl-right .cgpt-tl-dot {
		left: 0;
		right: auto;
		color: #1b49ef;
		font-weight: 800;
	}

	.cgpt-tl-dot i,
	.cgpt-tl-num {
		display: none;
	}

	.cgpt-tl-dot b {
		display: block;
	}

	.cgpt-tl-card {
		padding: 25px 20px;
	}
}

/* Ventajas: tarjetas 2x2 con ícono a la izquierda */
.cgpt-adv {
	display: flex;
	align-items: flex-start;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 10px 20px 0 rgba(0,11,40,.08);
	padding: 30px;
	height: 100%;
}

.cgpt-adv img {
	width: 72px;
	height: auto;
	margin-right: 22px;
	flex-shrink: 0;
}

.cgpt-adv h3 {
	font-size: 19px;
	margin-bottom: 8px;
}

.cgpt-adv p {
	margin-bottom: 0;
}

@media screen and (max-width: 575px) {
	.cgpt-adv {
		flex-direction: column;
		padding: 25px;
	}

	.cgpt-adv img {
		margin: 0 0 15px;
	}
}

/* Por qué elegirnos: íconos del mismo tamaño que en agencia-meta-ads.php */
.cgpt-why .icon-box .img-box {
	width: 80px;
}

/* Hover de títulos en azul primario (el theme los pone verde/violeta) */
.icon-box .box-content .box-title:hover,
.icon-box .box-content .box-title a:hover {
	color: #225ed8;
}
