:root {
	--main: #03045E;
	--verde-azulado: #0096C7;
	--verde-azulado-suave: #56abc7;
	--coral: #FF9770;
	--coral-contraste: #FE5950;
	--coral-suave: #ffc2ac;
	--coral-muy-suave: #FFE7DE;
	--main-font: #212529;
	--gray: #9098A7;
	--light-gray: #EEF0F8;
	--white: #FFFFFF;
	--gradient-background: linear-gradient(to right, var(--white), var(--coral-muy-suave));
}

/*** ESTILOS GENERALES ***/

* {
	box-sizing: border-box;
	max-width: 100%;
}

html {
	width: 100%;
	overflow-x: hidden;
}

body {
	font-family: 'proximanova-medium';
	font-size: 1.25rem;
	color: var(--main-font);
	line-height: 1.5;
	margin: 0;
	padding: 0;
	background-color: var(--white);
	width: 100%;
	overflow-x: hidden;
	position: relative;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'montserrat-700', sans-serif;
	color: var(--main);
	margin-bottom: 1rem;
}

a {
	text-decoration: none;
}

/* ul {
	list-style: none;
	padding: 0;
} */

img {
	max-width: 100%;
	height: auto;
}

section{
	padding: 2rem 1rem;
}

.divider {
  border: none;
  border-top: 1px solid var(--verde-azulado);
  margin: 20px auto;
  max-width: 1200px;
  width: 100%;
}

.text-content {
	padding: 2rem 0;
	max-width: 900px;
	margin: auto;
	text-align: justify;
}

.section-intro {
	text-align: center;
	font-family: 'proximanova-light';
	font-size: clamp(1.2rem, 4vw, 1.5rem);
	line-height: 1.5;
	padding: 0 1rem;
}

.section-intro h1::after {
	content: "";
	display: block;
	height: 3px;
	background-color: var(--coral);
	transform: scale(0,1);
	transform-origin: center;
	animation: underline 0.5s ease forwards;
	transition: transform .25s;
}

@keyframes underline {
	to {
		transform: scale(1,1);
	}
}

/*** NAVEGACIÓN ***/

.absolute-navbar {
	background-color: var(--light-gray);
	padding: 1rem 2rem;
}

.absolute-navbar > .container {
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items:center;
}

.navbar-header {
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

#violeta-logo {
	color: var(--white);
	background-color: var(--main);
	padding: 0.5rem 1.5rem;
	border-radius: 30px;
	font-size: clamp(1.5rem, 3vw, 1.8rem);
}

.absolute-navbar ul {
	display: flex;
	list-style: none;
	gap: 1.5rem;
}

.navlinks a {
	font-family: 'inter-medium';
	font-size: 1rem;
	color: var(--main);
	position: relative;
	display: inline-block;
}

.navlinks a::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--coral);
	transition: width 0.2s ease;
	pointer-events: none;
}

.navlinks a:hover::before {
	width: 100%;
}

.navlinks a.active::before {
	width: 100%;
}

/* Dropdown */
.dropdown {
	position: relative;
}

.dropdown-toggle {
	cursor: pointer;
	display: flex;
	align-items: center;
}

.dropdown-toggle::after {
	content: "";
	display: inline-block;
	width: 15px;
	height: 15px;
	margin-left: 6px;
	background: url("../images/down-chevron.svg") no-repeat center;
	background-size: contain;
	transition: transform 0.2s ease;
}

.dropdown-menu {
	position: absolute;
	display: none;
	top: 100%;
	left: 0;
	background-color: var(--white);
	min-width: 150px;
	box-shadow: 0 4px 6px var(--gray);
	list-style: none;
	padding: 0.5rem 0;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	z-index: 1000;
}

/* Mostrar menú cuando está activo */
.dropdown:hover .dropdown-menu {
	display: block;
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* Estilos de los items del dropdown */
.dropdown-menu li {
	padding: 0.5rem 1rem;
	border-bottom: 1px solid var(--light-gray);
}

.dropdown-menu li:last-child {
	border-bottom: none;
}

.dropdown-menu a {
	display: block;
	color: var(--main);
	text-decoration: none;
	padding: 0.25rem 0;
}

.dropdown-menu a:hover {
  color: var(--coral-contraste);
}

/* Estilos del menú móvil */
.hamburger-menu {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
	position: absolute;
	right: 1rem;
	top: 1rem;
	z-index: 1000;
}

.hamburger-menu span {
	display: block;
	width: 25px;
	height: 3px;
	background-color: var(--main);
	margin: 5px 0;
	transition: 0.4s;
}

.navbar-mobile {
	display: none;
}

.mobile-nav {
	position: fixed;
	top: 0;
	right: -100%;
	width: 80%;
	max-width: 300px;
	height: 100vh;
	background-color: var(--white);
	padding: 2rem;
	transition: 0.3s;
	box-shadow: -2px 0 5px var(--gray);
	z-index: 1000;
}

.mobile-nav.active {
	right: 0;
}

.mobile-nav-header {
	text-align: right;
	margin-bottom: 2rem;
}

.close-menu {
	background: none;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
	color: var(--main);
}

.mobile-nav-menu {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.mobile-dropdown-menu {
	display: none;
	padding-left: 1rem;
	margin-top: 0.5rem;
}

.mobile-dropdown-menu.active {
	display: block;
}

.mobile-dropdown-toggle {
	position: relative;
}

.mobile-dropdown-toggle::after {
	content: "";
	display: inline-block;
	width: 12px;
	height: 12px;
	margin-left: 6px;
	background: url("../images/down-chevron.svg") no-repeat center;
	background-size: contain;
	transition: transform 0.2s ease;
}

/*** COVER DE LA HOME ***/
#cover {
	display: flex;
	justify-content: center;
	margin: auto;
	align-items: center;
}

.cover-img img {
	margin: 2rem;
	border-radius: 50%;
	border: solid 2px var(--coral-suave);
}

.cover-content {
	max-width: 600px;
}

.cover-text, .contact-title {
	font-weight: lighter ;
	font-family: 'libre_baskervilleregular';
	font-size: clamp(2rem, 5vw, 3rem);
	line-height: 1.2;
}

/*** COVER DE LAS PÁGINAS ***/
.cover-page {
	position: relative;
}

.background-img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	z-index: 0;
}

.cover-content {
	position: relative;
	z-index: 1;
}

.cover-content h1 {
	position: relative;
	z-index: 2;
}

@media (max-width: 768px) {
	.background-img {
		display: none;
	}
}

.speak-img {
	width: 100%;
	max-width: 500px;
	margin-top: 2rem;
	border-radius: 25px 0 25px 0;
	box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

/*** CTA BUTTON ***/
.cta-btn,
#contact-form input[type="submit"],
#contact-form button {
	display: inline-block;
	margin-top: 1rem;
	padding: clamp(0.8rem, 2vw, 0.9rem) clamp(1rem, 3vw, 1.5rem);
	background-color: var(--coral-contraste);
	color: var(--white);
	border: 0;
	border-radius: 30px;
	font-size: clamp(1rem, 1.5vw, 1.5rem);
	transition: all 0.3s ease;
}

.cta-btn:hover, #contact-form input[type="submit"]:hover,
#contact-form button:hover {
	background-color: var(--coral);
	transform: translateY(2px);
}

/* load more button */
.load-more {
	background-color: var(--gray);
	font-size: 14px;
	font-family: 'inter-medium', sans-serif;
}

.load-more:hover {
	background-color: var(--coral);
}

/** HOME-SERVICES ***/
.services-container {
	max-width: 1200px;
	padding: 0 1rem;
	margin: auto;
	text-align: center;
}

#services h2 {
	color: var(--main);
	font-size: clamp(1.75rem, 5vw, 2.5rem);
}

#services h3 {
	color: var(--main);
	font-size: clamp(1.25rem, 1.8rem);
}

.services-intro p {
	font-size: clamp(1rem, 2vw, 1.25rem);
}

.parent-grid {	
	display: grid;
	margin: auto;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(1, 1fr);
	gap: 4rem;
	padding-bottom: 3rem;
}

.service-icon {
	max-width: 80px;
	max-height: 80px;
	width: auto;
	height: auto;
	display: block;
	margin: 2rem auto;
	border: solid 3px var(--white);
	border-radius: 50%;
}

.service a, .speak-link, .speak-navigation a {
	font-family: 'inter-medium';
	color: var(--verde-azulado);
}

.service a:hover, .speak-link:hover, 
.speak-navigation a:hover {
	color: var(--coral);
}

.services-cta {
	padding: 1rem 0;
}

/*** HOME-TESTIMONIALS ***/
.testimonials {
	text-align: center;
	padding: 2rem 1rem;
	max-width: 700px;
	margin: 0 auto;
	overflow: hidden;
}

.carousel {
	display: flex;
	transition: transform 0.6s ease;
}

.testimonial {
	min-width: 100%;
	flex-shrink: 0;
	padding: 1rem;
}

.testimonial p {
	font-style: italic;
	margin-bottom: 0.8rem;
}

.testimonial h4 {
	color: var(--main-font);
}

.testimonial h5 {
	color: var(--main-font);
	margin: 0;
}

.controls {
	margin-top: 1.2rem;
	display: flex;
	justify-content: center;
	gap: 0.5rem;
}

.controls button {
	background: var(--coral-contraste);
	color: var(--white);
	border: none;
	border-radius: 50%;
	width: 2rem;
	height: 2rem;
	font-size: 1.2rem;
	cursor: pointer;
	transition: background 0.3s;
}

.controls button:hover {
	background: var(--coral);
}

/*** HOME-BRANDS ***/
.brands {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--white);
  max-width: 1000px;
  margin: 0 auto;
}

.brands h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 2rem;
  align-items: center;
  justify-items: center;
}

.brand-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.brand-item:hover {
  opacity: 1;
}

.brand-item img {
  max-width: 120px;

  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.brand-item:hover img {
  filter: grayscale(0%);
}

.brand-item p {
  font-size: 0.9rem;
  color: var(--gray);
  margin: 0;
}

/*** HOME-MINI ABOUT ***/
#mini-about, #pretty {
	background-color: var(--light-gray);
	text-align: center;
	padding: 2rem 1rem;
}

.pretty-content {
	max-width: 600px;
	margin: auto;
}

/*** COVER PAGE ***/
.cover-page {
    position: relative;
    max-width: 100%;
	min-height: 60vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.cover-content {
    position: relative;
    color: white;
    text-align: center;
    z-index: 1;
}

.cover-content h1 {
    font-size: 3rem;
    margin: 0 0 1rem;
}


@media (max-width: 768px) {
    .cover-page {
        padding: 2rem 1rem;
        background-image: none;
		min-height: 0;
		padding-bottom: 0;
    }
}

/*** CONSULTING PAGE ***/
.consulting-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.consulting-content h3 {
	text-align: center;
	font-size: 2.5rem;
	padding: 0 0 2rem 0;
}

.content-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.content-row.reverse {
    direction: rtl;
}

.content-row.reverse > * {
    direction: ltr;
}

.content-text h2 {
    margin-top: 0;
}

.content-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

@media (max-width: 768px) {
    .content-row,
    .content-row.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .content-row.reverse > * {
        direction: ltr;
    }
}

/*** SPEAK ARCHIVE ***/
.speak-archive {
	max-width: 1200px;
	margin: auto;
	padding: 2rem 0;
}

.speak-archive h1 {
	text-align: center;
}

.speak-archive h2 a {
	color: var(--main);
}
.speak-archive h2 a:hover {
	color: var(--);
}

.speak-archive .container {
	display: grid;
	margin: auto;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(1, 1fr);
	gap: 2rem;
	padding: 2rem 0;
}

/*** SINGLE SPEAK ***/
.speak-single {
	max-width: 900px;
	margin: auto;
	padding: 0 1rem;
}

.speak-meta {
	font-size: 1rem;
}

.speak-featured-image {
	padding: 2rem;
}

.speak-navigation {
	display: flex;
	justify-content: space-between;
	gap: 3rem;
	padding: 2rem 0;
}


/*** FOOTER ***/
#main-footer {
    background-color: var(--main);
	color: var(--white);
    font-size: 0.95rem;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Columnas */
.footer-col h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
	color: var(--white);
}
.footer-col ul {
    list-style: none;
    padding: 0;
}
.footer-col li {
    margin-bottom: 0.4rem;
}
.footer-col a {
    color: var(--light-gray);
    transition: 0.3s;
}
.footer-col a:hover {
    color: var(--gray);
}
.footer-linkedin {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.05rem;
    font-weight: 600;
}
.footer-linkedin img {
    width: 22px;
    height: 22px;
}

/* Franja inferior */
.footer-bottom {
    border-top: 0.5px solid var(--light-gray);
    text-align: center;
    padding: 1rem 1rem;
    font-size: 0.85rem;
    color: var(--light-gray);
}
.footer-bottom p {
    margin: 0;
	color: var(--light-gray);
}

/*** FORMULARIOS ***/

/* página contacto */
.contactolayout {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 50px 20px;
	background-color: var(--white);
}

.contact-section {
	padding: 40px;
	border-radius: 12px;
	width: 100%;
	max-width: 600px;
}

/* Estilos de los inputs y textarea */
#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form textarea {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid var(--gray);
	border-radius: 8px;
	font-size: 16px;
	transition: all 0.3s ease;
}

#contact-form input[type="text"]:focus,
#contact-form input[type="email"]:focus,
#contact-form textarea:focus,
#subscription input[type="email"] {
	border-color: var(--verde-azulado);
	box-shadow: 0 0 5px var(--gray);
	outline: none;
}

/* contacto home */
#contact-home {
	background: var(--light-gray);
}

.contact-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem;
	text-align: center;
}

.contact-title {
	padding-top: 2rem;
}

#contact-home p {
	margin: 0;
}

.contact-section {
	max-width: 800px;
	margin: 0 auto;
	padding: 2rem 0;
}

#contact-home #contact-form > form,
#contact-home #contact-form form.wpcf7-form {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
	text-align: left;
}

#contact-home #contact-form .wpcf7-form-control-wrap {
	display: block;
}

/* Casilla de verificación de privacidad ocupa dos columnas */
#contact-home #contact-form p:has(.wpcf7-acceptance),
#contact-home #contact-form span:has(.wpcf7-acceptance) {
	grid-column: 1 / -1;
}

#contact-home #contact-form .wpcf7-list-item,
#contact-form .wpcf7-list-item,
#subscription .wpcf7-list-item {
	font-size: 0.85rem;
}

#contact-home #contact-form p:has(textarea),
#contact-home #contact-form span:has(textarea) {
	grid-column: 1 / -1;
}

/* Inputs de texto y email */
#contact-home #contact-form input[type="text"],
#contact-home #contact-form input[type="email"] {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid var(--gray);
	border-radius: 8px;
	font-size: 16px;
	transition: all 0.3s ease;
}

/* Textarea ocupa las dos columnas */
#contact-home #contact-form textarea {
	max-height: 80px;
	grid-column: 1 / -1;
	width: 100%;
	border: 1px solid var(--gray);
	border-radius: 8px;
	font-size: 16px;
	resize: vertical;
}

#contact-home #contact-form .acceptance {
	font-size: 0.5rem;
}

#contact-home #contact-form input[type="submit"],
#contact-home #contact-form button {
	grid-column: 1 / -1;
	padding: 0.8rem 1.5rem;
	border-radius: 25px;
	background-color: var(--coral-contraste);
	color: var(--white);
	font-size: 1.25rem;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
}

#contact-home #contact-form p:has(input[type="submit"]),
#contact-home #contact-form span:has(input[type="submit"]) {
	grid-column: 1 / -1;
}

#contact-home #contact-form input[type="submit"]:hover,
#contact-home #contact-form button:hover {
	background-color: var(--coral);
	transform: translateY(2px);
}

/* Focus */
#contact-home #contact-form input:focus,
#contact-home #contact-form textarea:focus {
	border-color: var(--verde-azulado);
	box-shadow: 0 0 5px var(--gray);
	outline: none;
}

/* suscripción footer */
#subscription,
.subscription-section {
	text-align: left;
	max-width: 600px;
	margin: auto;
}

#subscription input[type="email"],
.subscription-section input[type="email"] {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid var(--gray);
	border-radius: 8px;
	font-size: 16px;
	transition: all 0.3s ease;
}

#subscription input[type="email"]:focus,
.subscription-section input[type="email"]:focus {
	border-color: var(--verde-azulado);
	box-shadow: 0 0 5px var(--gray);
	outline: none;
}

#subscription input[type="submit"],
#subscription button,
.subscription-section input[type="submit"],
.subscription-section button {
	padding: 0.8rem 1.5rem;
	border: none;
	border-radius: 25px;
	background-color: var(--coral-contraste);
	color: var(--white);
	font-size: 1.25rem;
	cursor: pointer;
	transition: all 0.3s ease;
}

#subscription input[type="submit"]:hover,
#subscription button:hover,
.subscription-section input[type="submit"]:hover,
.subscription-section button:hover {
	background-color: var(--coral);
	transform: translateY(2px);
}

/* --- Mensajes de éxito/error POR REVISAR!!!!! --- */
.wpcf7-response-output {
	margin-top: 15px;
	padding: 12px;
	border-radius: 8px;
	font-size: 14px;
}

.wpcf7-mail-sent-ok {
background-color: #d4edda;
color: #155724;
}

.wpcf7-mail-sent-ng {
	background-color: #f8d7da;
	color: #721c24;
}

/*** AJUSTES RESPONSIVE ***/
@media (max-width: 768px) {
	.text-content {
		padding: 0 1rem;
		font-size: 1.15rem;
		text-align: left;
	}

	/* Navegación responsive */
	.absolute-navbar {
		padding: 0.5rem;
		width: 100%;
	}

	.absolute-navbar > .container {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		width: 100%;
	}

	.navbar-header {
		justify-content: flex-start;
		margin-left: 1rem;
	}

	.absolute-navbar ul {
		flex-direction: column;
		align-items: center;
		width: 100%;
	}

	.main-navbar {
		display: none;
	}

	.hamburger-menu {
		display: block;
	}

	.navbar-mobile {
		display: block;
	}

	#violeta-logo {
		padding: 0.3rem 1rem;
	}

	/* Cover responsive */
	#cover {
		flex-direction: column;
		padding: 2rem 1rem;
		text-align: center;
	}

	.cover-img img {
		margin: 1rem auto;
		max-width: 75%;
		height: auto;
	}

	.cover-content {
		padding: 0 1rem;
		width: 100%;
	}

	/* Services responsive */
	.parent-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
		padding: 0 1rem;
	}

	/* Contacto responsive */
	.contact-section {
		padding: 30px 1rem;
		margin: 0 auto;
	}

	.contactolayout {
		flex-direction: column;
		padding: 2rem 1rem;
	}

	/* Speaks responsive */
	.speak-archive .container {
		grid-template-columns: repeat(1, 1fr);
		padding: 0 1rem;

	}

	.footer-content {
        grid-template-columns: 1fr;
        text-align: left;
    }
}
