:root {
	--navy-900: #0A1728;
	--navy-800: #0F2038;
	--navy-700: #16304F;
	--slate-500: #5B6B7C;
	--slate-300: #98A5B3;
	--slate-200: #DCE1E7;
	--paper: #F6F5F1;
	--white: #FFFFFF;
	--bronze: #A9814B;
	--gold: #edbc4d;
	--bronze-light: #CBA876;
	--line: rgba(11, 26, 46, 0.08);
	--radius: 3px;
	--ease: cubic-bezier(.22, .8, .32, 1);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Inter', sans-serif;
	color: var(--navy-900);
	background: var(--paper);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	display: block;
}

.eyebrow {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--bronze);
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.eyebrow::before {
	content: "";
	width: 22px;
	height: 1px;
	background: var(--bronze);
	display: inline-block;
}

h1,
h2,
h3,
h4 {
	font-family: 'Fraunces', serif;
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -0.01em;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 32px;
}

@media(max-width:640px) {
	.container {
		padding: 0 20px;
	}
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 2px solid var(--bronze);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}


/* reveal on scroll */

.reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.reveal.in {
	opacity: 1;
	transform: translateY(0);
}

.reveal-stagger.in .stagger-item {
	opacity: 1;
	transform: translateY(0);
}

.stagger-item {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity .6s var(--ease), transform .6s var(--ease);
}


/* ===== HEADER ===== */

header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	padding: 26px 0;
	transition: padding .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
	border-bottom: 1px solid transparent;
}

header.scrolled {
	padding: 14px 0;
	background: rgba(10, 23, 40, 0.88);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.5);
}

.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 32px;
}

@media(max-width:640px) {
	.nav {
		padding: 0 20px;
	}
}

.brand {
	display: flex;
	align-items: center;
}

.brand a {
	display: flex;
	align-items: center;
	text-decoration: none;
}

.brand img {
	display: block;
	width: 200px;
	height: auto;
	max-height: 70px;
	object-fit: contain;
}

.brand .mark {
	width: 34px;
	height: 34px;
	border: 1px solid var(--bronze-light);
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	color: var(--bronze-light);
	font-style: italic;
	letter-spacing: 0;
}

.nav-links {
	display: flex;
	gap: 40px;
	align-items: center;
}

.nav-links a {
	color: rgba(255, 255, 255, 0.72);
	font-size: 14px;
	font-weight: 500;
	transition: color .2s ease;
	position: relative;
}

.nav-links a:not(.nav-cta)::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -6px;
	width: 0;
	height: 1px;
	background: var(--bronze-light);
	transition: width .25s var(--ease);
}

.nav-links a:not(.nav-cta):hover::after {
	width: 100%;
}

.nav-links a:hover {
	color: var(--white);
}

.nav-cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--bronze);
	color: var(--navy-900) !important;
	padding: 12px 22px;
	font-size: 13px;
	font-weight: 600;
	border-radius: var(--radius);
	letter-spacing: 0.02em;
	transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}

.nav-cta:hover {
	background: var(--bronze-light);
	transform: translateY(-2px);
	box-shadow: 0 10px 24px -8px rgba(169, 129, 75, 0.55);
}

.nav-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	flex-direction: column;
	gap: 5px;
}

.nav-toggle span {
	width: 22px;
	height: 2px;
	background: var(--white);
	transition: transform .25s ease, opacity .25s ease;
}

@media(max-width:900px) {
	.nav-links {
		position: fixed;
		inset: 0 0 0 0;
		background: var(--navy-900);
		z-index: 99;
		flex-direction: column;
		padding: 110px 36px 40px;
		gap: 28px;
		align-items: flex-start;
		transform: translateX(100%);
		transition: transform .4s var(--ease);
	}
	.nav-links.open {
		transform: translateX(0);
		background: #0A1728;
	}
	.nav-links a {
		font-size: 20px;
	}
	.nav-toggle {
		display: flex;
		position: relative;
		z-index: 101;
	}
}


/* ===== HERO ===== */

.hero {
	position: relative;
	background:;
	color: var(--white);
	overflow: hidden;
	padding: 168px 0 0;
	min-height: 92vh;
	display: flex;
	align-items: center;
}

.hero-bg-gradient {
	position: absolute;
	inset: 0;
background-image:
    radial-gradient(ellipse 900px 600px at 82% 18%, rgba(169, 129, 75, 0.16), transparent 60%),
    radial-gradient(ellipse 700px 500px at 8% 90%, rgba(22, 48, 79, 0.9), transparent 60%),
    url('/assets/images/fondoHero.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;

	pointer-events: none;
}

.ruled-lines {
	position: absolute;
	inset: 0;
	background-image: repeating-linear-gradient(to bottom, transparent, transparent 43px, rgba(255, 255, 255, 0.04) 44px);
	pointer-events: none;
}

.hero-grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1.05fr 0.85fr;
	gap: 40px;
	align-items: center;
	width: 100%;
	padding-bottom: 90px;
}

@media(max-width:960px) {
	.hero-grid {
		grid-template-columns: 1fr;
	}
}

.hero-text h1 {
	font-size: clamp(38px, 4.6vw, 60px);
	color: var(--white);
	margin-bottom: 26px;
}

.hero-text h1 em {
	font-style: italic;
	color: var(--bronze-light);
	font-weight: 400;
}

.hero-text p.lead {
	font-size: 18px;
	color: rgba(255, 255, 255, 0.66);
	max-width: 480px;
	margin-bottom: 42px;
}

.hero-actions {
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
	align-items: center;
	margin-bottom: 64px;
}

.btn-primary {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var(--bronze);
	color: var(--navy-900);
	padding: 17px 32px;
	font-weight: 600;
	font-size: 15px;
	border-radius: var(--radius);
	border: none;
	cursor: pointer;
	transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}

.btn-primary:hover {
	background: var(--bronze-light);
	transform: translateY(-3px);
	box-shadow: 0 16px 30px -10px rgba(169, 129, 75, 0.5);
}

.btn-primary svg {
	transition: transform .25s ease;
}

.btn-primary:hover svg {
	transform: translateX(4px);
}

.btn-ghost {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: rgba(255, 255, 255, 0.85);
	font-weight: 500;
	font-size: 15px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
	padding-bottom: 3px;
	transition: border-color .2s ease, color .2s ease;
}

.btn-ghost:hover {
	color: var(--white);
	border-color: var(--white);
}

.hero-meta {
	display: flex;
	gap: 52px;
	flex-wrap: wrap;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding-top: 26px;
}

.hero-meta div span.num {
	display: block;
	font-family: 'Fraunces', serif;
	font-size: 25px;
	color: var(--bronze-light);
}

.hero-meta div span.label {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 10.5px;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.5);
	text-transform: uppercase;
}


/* hero visual: abstract layered "expedientes" illustration */

.hero-visual {
	position: relative;
	height: 520px;
	display: flex;
	align-items: center;
	justify-content: center;
}

@media(max-width:960px) {
	.hero-visual {
		height: 340px;
		margin-top: 20px;
	}
}

.hero-visual svg {
	width: 100%;
	height: 100%;
}

.float-card {
	position: absolute;
	bottom: 6%;
	left: -6%;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.14);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-radius: var(--radius);
	padding: 20px 24px;
	display: flex;
	align-items: center;
	gap: 14px;
	animation: floaty 5s ease-in-out infinite;
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
}

@media(max-width:960px) {
	.float-card {
		left: 0;
		bottom: -4%;
	}
}

.float-card .dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--bronze-light);
	flex-shrink: 0;
}

.float-card .fc-num {
	font-family: 'Fraunces', serif;
	font-size: 22px;
	color: var(--white);
	line-height: 1;
}

.float-card .fc-label {
	font-size: 11px;
	color: rgba(255, 255, 255, 0.6);
	font-family: 'IBM Plex Mono', monospace;
	letter-spacing: 0.04em;
	margin-top: 3px;
}

@keyframes floaty {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-12px);
	}
}

.scroll-cue {
	position: absolute;
	bottom: 26px;
	left: 32px;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 12px;
	color: rgba(255, 255, 255, 0.45);
	font-family: 'IBM Plex Mono', monospace;
	font-size: 10.5px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

@media(max-width:640px) {
	.scroll-cue {
		display: none;
	}
}

.scroll-cue .line {
	width: 1px;
	height: 34px;
	background: linear-gradient(to bottom, var(--bronze-light), transparent);
	position: relative;
	overflow: hidden;
}

.scroll-cue .line::after {
	content: "";
	position: absolute;
	top: -20px;
	left: 0;
	width: 100%;
	height: 20px;
	background: var(--bronze-light);
	animation: scrollmove 2s ease-in-out infinite;
}

@keyframes scrollmove {
	0% {
		top: -20px;
	}
	100% {
		top: 34px;
	}
}


/* ============================================================
   NUESTRA FIRMA
============================================================ */

.firm-section {
  position: relative;
  padding: 120px 0;
  background: #f8f7f4;
  overflow: hidden;
}

.firm-section::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  right: -250px;
  top: -200px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(203, 168, 118, 0.12) 0%,
    rgba(203, 168, 118, 0) 70%
  );
  pointer-events: none;
}

.firm-section .container {
  position: relative;
  z-index: 1;
}

.firm-section .section-head {
  margin-bottom: 60px;
}

.firm-section .section-intro {
  max-width: 720px;
  margin: 18px auto 0;
  text-align: center;
  color: #68717c;
  line-height: 1.8;
}


/* ============================================================
   MISIÓN Y VISIÓN
============================================================ */

.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  width: 100%;
}

.mv-card {
  position: relative;
  padding: 48px 42px;
  background: #ffffff;
  border: 1px solid rgba(10, 23, 40, 0.08);
  overflow: hidden;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  box-sizing: border-box;
}

.mv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 55px rgba(10, 23, 40, 0.10);
  border-color: rgba(169, 129, 75, 0.35);
}

/* Tarjeta destacada */
.mv-card-featured {
  background: #0a1728;
  color: #ffffff;
  border-color: rgba(203, 168, 118, 0.35);
}

/* Número */
.mv-number {
  position: absolute;
  top: 18px;
  right: 28px;

  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.12em;

  color: #a9814b;
}

/* Etiqueta */
.mv-label {
  display: inline-block;
  margin-bottom: 18px;

  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;

  color: #a9814b;
}

/* Contenido */
.mv-content {
  position: relative;
  z-index: 2;
}

.mv-content h3 {
  margin: 0 0 25px;

  font-family: "Fraunces", serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.15;

  color: #0a1728;
}

.mv-card-featured .mv-content h3 {
  color: #ffffff;
}

.mv-content p {
  margin: 0 0 18px;

  color: #5d6874;
  font-size: 0.96rem;
  line-height: 1.85;
}

.mv-card-featured .mv-content p {
  color: rgba(255, 255, 255, 0.72);
}

/* Línea decorativa inferior */
.mv-card::after {
  content: "";

  position: absolute;
  left: 42px;
  bottom: 0;

  width: 80px;
  height: 3px;

  background: #a9814b;

  transition: width 0.35s ease;
}

.mv-card:hover::after {
  width: 150px;
}


/* ============================================================
   SECCIONES
============================================================ */

.section {
  padding: 130px 0;
  width: 100%;
  box-sizing: border-box;
}

.section-head {
  max-width: 640px;
  margin-bottom: 70px;
}

.section-head .eyebrow {
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0;

  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.15;

  color: var(--navy-900);
}

.section-alt {
  background: #f8f7f4;
}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 900px) {

  .section {
    padding: 100px 0;
  }

  .section-head {
    margin-bottom: 50px;
  }

  .mission-vision-grid {
    gap: 24px;
  }

  .mv-card {
    padding: 40px 32px;
  }

  .mv-card::after {
    left: 32px;
  }

  .mv-content h3 {
    font-size: clamp(1.7rem, 4vw, 2.2rem);
  }

  .mv-content p {
    font-size: 0.94rem;
    line-height: 1.75;
  }

}


/* ============================================================
   CELULAR
============================================================ */

@media (max-width: 700px) {

  .section {
    padding: 75px 0;
  }

  .section-head {
    width: 100%;
    max-width: 100%;
    margin-bottom: 40px;
  }

  .section-head .eyebrow {
    margin-bottom: 14px;
    font-size: 0.68rem;
  }

  .section-head h2 {
    font-size: clamp(28px, 8vw, 36px);
    line-height: 1.15;
  }

  /* Una tarjeta debajo de la otra */
  .mission-vision-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mv-card {
    width: 100%;
    padding: 38px 26px 42px;
  }

  .mv-number {
    top: 16px;
    right: 22px;
    font-size: 0.68rem;
  }

  .mv-label {
    margin-bottom: 14px;
    font-size: 0.67rem;
    letter-spacing: 0.13em;
  }

  .mv-content h3 {
    margin-bottom: 20px;
    font-size: 2rem;
    line-height: 1.15;
  }

  .mv-content p {
    font-size: 0.93rem;
    line-height: 1.75;
  }

  .mv-card::after {
    left: 26px;
    width: 65px;
  }

  .mv-card:hover::after {
    width: 110px;
  }

  /* Desactivar movimiento en táctil */
  .mv-card:hover {
    transform: none;
  }
}


/* ============================================================
   CELULAR PEQUEÑO
============================================================ */

@media (max-width: 400px) {

  .section {
    padding: 60px 0;
  }

  .mission-vision-grid {
    gap: 16px;
  }

  .mv-card {
    padding: 34px 22px 38px;
  }

  .mv-number {
    right: 18px;
    top: 14px;
  }

  .mv-content h3 {
    font-size: 1.8rem;
  }

  .mv-content p {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .mv-card::after {
    left: 22px;
  }
}

/* ===== PRACTICE AREAS ===== */

/* ============================================================
   ÁREAS DE PRÁCTICA — 4 ÁREAS
============================================================ */

#areas {
  position: relative;
  background: #ffffff;
  padding: 120px 0;
  overflow: hidden;
}

/* Detalle decorativo superior */
#areas::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 3px;
  background: #a9814b;
}

/* Contenedor del encabezado */
#areas .section-head {
  max-width: 800px;
}

/* ============================================================
   GRID — 2 COLUMNAS
============================================================ */

#areas .articles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ============================================================
   TARJETAS
============================================================ */

#areas .article-card {
  position: relative;
  min-height: 290px;
  padding: 38px 40px 42px;

  display: flex;
  flex-direction: column;

  background: #f8f7f4;
  border: 1px solid rgba(10, 23, 40, 0.08);

  transition:
    transform 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;

  overflow: hidden;
}

/* Línea dorada inferior */
#areas .article-card::after {
  content: "";
  position: absolute;
  left: 40px;
  bottom: 0;

  width: 70px;
  height: 3px;

  background: #a9814b;

  transition: width 0.35s ease;
}

/* Hover */
#areas .article-card:hover {
  transform: translateY(-7px);

  background: #ffffff;

  border-color: rgba(169, 129, 75, 0.35);

  box-shadow:
    0 20px 45px rgba(10, 23, 40, 0.10);
}

#areas .article-card:hover::after {
  width: 140px;
}

/* ============================================================
   NÚMERO DEL ARTÍCULO
============================================================ */

#areas .article-num {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 35px;

  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  color: #a9814b;
}

/* Flecha */
#areas .article-num svg {
  width: 17px;
  height: 17px;

  transition:
    transform 0.35s ease,
    color 0.35s ease;
}

#areas .article-card:hover .article-num svg {
  transform: translateX(6px);
  color: #0a1728;
}

/* ============================================================
   TÍTULO
============================================================ */

#areas .article-card h3 {
  margin: 0 0 18px;

  font-family: "Fraunces", serif;
  font-size: clamp(1.65rem, 2.5vw, 2.15rem);
  font-weight: 500;
  line-height: 1.15;

  color: #0a1728;
}

/* Título largo de la cuarta tarjeta */
#areas .article-card:nth-child(4) h3 {
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
}

/* ============================================================
   DESCRIPCIÓN
============================================================ */

#areas .article-card p {
  margin: 0;

  max-width: 620px;

  color: #626d79;

  font-size: 0.94rem;
  line-height: 1.8;
}

/* ============================================================
   DECORACIÓN SUTIL
============================================================ */

#areas .article-card::before {
  content: "";

  position: absolute;

  width: 180px;
  height: 180px;

  right: -100px;
  bottom: -110px;

  border-radius: 50%;

  border: 1px solid rgba(169, 129, 75, 0.10);

  transition:
    transform 0.5s ease,
    border-color 0.5s ease;
}

#areas .article-card:hover::before {
  transform: scale(1.35);
  border-color: rgba(169, 129, 75, 0.18);
}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 900px) {

  #areas {
    padding: 90px 0;
  }

  #areas .articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  #areas .article-card {
    min-height: 300px;
    padding: 32px 30px 38px;
  }

  #areas .article-num {
    margin-bottom: 28px;
  }

  #areas .article-card h3 {
    font-size: 1.65rem;
  }

  #areas .article-card:nth-child(4) h3 {
    font-size: 1.45rem;
  }

}


/* ============================================================
   MÓVIL
============================================================ */

@media (max-width: 650px) {

  #areas {
    padding: 75px 0;
  }

  #areas .section-head {
    margin-bottom: 40px;
    padding: 0 10px;
  }

  #areas .articles-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  #areas .article-card {
    min-height: auto;
    padding: 30px 26px 38px;
  }

  #areas .article-num {
    margin-bottom: 25px;
  }

  #areas .article-card h3,
  #areas .article-card:nth-child(4) h3 {
    font-size: 1.65rem;
  }

  #areas .article-card p {
    font-size: 0.9rem;
    line-height: 1.75;
  }

  #areas .article-card::after {
    left: 26px;
  }

}


/* ===== TEAM ===== */

.team-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
}

@media(max-width:900px) {
	.team-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media(max-width:520px) {
	.team-grid {
		grid-template-columns: 1fr;
	}
}

.team-card figure {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4/5;
	background: var(--navy-700);
	margin-bottom: 18px;
	border-radius: 15px;
	border: 3px solid var(--gold);
	box-sizing: border-box;
}

.team-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(45%) contrast(1.02);
	transition: filter .4s ease, transform .5s var(--ease);
}

.team-card:hover img {
	filter: grayscale(0%);
	transform: scale(1.06);
}

.team-card figure::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(10, 23, 40, 0.75) 0%, transparent 46%);
	opacity: 0;
	transition: opacity .35s ease;
}

.team-card:hover figure::after {
	opacity: 1;
}

.team-card .tag {
	position: absolute;
	bottom: 14px;
	left: 14px;
	background: var(--gold);
	color: var(--navy-900);
	font-family: 'IBM Plex Mono', monospace;
	font-size: 10px;
	letter-spacing: 0.06em;
	padding: 5px 10px;
	text-transform: uppercase;
	font-weight: 600;
	border-radius: 15px;
}

.team-card .social {
	position: absolute;
	bottom: 14px;
	left: 14px;
	display: flex;
	gap: 8px;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity .3s ease, transform .3s ease;
}

.team-card:hover .social {
	opacity: 1;
	transform: translateY(0);
}

.team-card .social a {
	width: 30px;
	height: 30px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--white);
	font-size: 11px;
	font-family: 'IBM Plex Mono', monospace;
}

.team-card h4 {
	font-size: 17px;
	color: var(--navy-900);
	margin-bottom: 3px;
}

.team-card .role {
	font-size: 13px;
	color: var(--bronze);
	font-weight: 500;
	margin-bottom: 8px;
}

.team-card .spec {
	font-size: 13px;
	color: var(--slate-500);
}


/* ===== STATS ===== */

.stats-band {
	background: var(--navy-900);
	padding: 88px 0;
	color: var(--white);
	position: relative;
	overflow: hidden;
}

.stats-band::before {
	content: "";
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(to bottom, transparent, transparent 43px, rgba(255, 255, 255, 0.03) 44px);
}

.stats-grid {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
}

@media(max-width:760px) {
	.stats-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.stat {
	border-left: 1px solid rgba(255, 255, 255, 0.15);
	padding-left: 22px;
}

.stat .num {
	font-family: 'Fraunces', serif;
	font-size: 46px;
	color: var(--bronze-light);
	display: block;
	line-height: 1;
	margin-bottom: 10px;
}

.stat .label {
	font-size: 13.5px;
	color: rgba(255, 255, 255, 0.6);
}


/* ===== TESTIMONIOS ===== */

.testimonial-track {
	display: flex;
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
}

.testimonial-track::-webkit-scrollbar {
	display: none;
}

.testimonial {
	background: var(--white);
	padding: 40px 36px;
	flex: 1 1 340px;
	min-width: 300px;
	scroll-snap-align: start;
	transition: background .3s ease;
}

.testimonial:hover {
	background: var(--paper);
}

.testimonial .quote-mark {
	font-family: 'Fraunces', serif;
	font-size: 46px;
	color: var(--bronze-light);
	line-height: 1;
	display: block;
	margin-bottom: 6px;
}

.testimonial p.quote {
	font-size: 15.5px;
	color: var(--navy-700);
	margin-bottom: 26px;
	font-style: italic;
	font-family: 'Fraunces', serif;
	font-weight: 400;
	line-height: 1.55;
}

.testimonial .who {
	font-size: 13px;
	color: var(--navy-900);
	font-weight: 600;
}

.testimonial .who span {
	display: block;
	font-weight: 400;
	color: var(--slate-500);
	font-size: 12.5px;
	margin-top: 2px;
}


/* ===== CONTACTO ===== */

.contact-wrap {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 70px;
	align-items: start;
}

@media(max-width:860px) {
	.contact-wrap {
		grid-template-columns: 1fr;
		gap: 50px;
	}
}

.contact-info h2 {
	font-size: clamp(28px, 3vw, 38px);
	margin-bottom: 18px;
}

.contact-info p {
	color: var(--slate-500);
	margin-bottom: 34px;
	max-width: 420px;
}

.contact-detail {
	display: flex;
	gap: 14px;
	padding: 18px 0;
	border-top: 1px solid var(--line);
}

.contact-detail:last-of-type {
	border-bottom: 1px solid var(--line);
}

.contact-detail .k {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 11px;
	color: var(--bronze);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	min-width: 110px;
	padding-top: 2px;
}

.contact-detail .v {
	font-size: 14.5px;
	color: var(--navy-900);
}

.whatsapp-btn {
	margin-top: 34px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: #1F3A2E;
	color: var(--white);
	padding: 15px 26px;
	border-radius: var(--radius);
	font-size: 14.5px;
	font-weight: 600;
	transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}

.whatsapp-btn:hover {
	background: #28503D;
	transform: translateY(-3px);
	box-shadow: 0 16px 30px -12px rgba(31, 58, 46, 0.5);
}

form {
	background: var(--white);
	border: 1px solid var(--line);
	padding: 44px;
	box-shadow: 0 30px 60px -34px rgba(11, 26, 46, 0.18);
}

.field {
	margin-bottom: 24px;
}

.field label {
	display: block;
	font-family: 'IBM Plex Mono', monospace;
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--slate-500);
	margin-bottom: 9px;
}

.field input,
.field textarea,
.field select {
	width: 100%;
	border: none;
	border-bottom: 1px solid var(--slate-200);
	background: transparent;
	padding: 10px 2px;
	font-family: 'Inter', sans-serif;
	font-size: 15px;
	color: var(--navy-900);
	transition: border-color .25s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
	border-color: var(--bronze);
	outline: none;
}

.field textarea {
	resize: vertical;
	min-height: 90px;
}

.submit-btn {
	width: 100%;
	background: var(--navy-900);
	color: var(--white);
	padding: 16px;
	font-weight: 600;
	font-size: 14.5px;
	border: none;
	cursor: pointer;
	border-radius: var(--radius);
	letter-spacing: 0.02em;
	transition: background .25s ease, transform .2s ease;
}

.submit-btn:hover {
	background: var(--navy-700);
	transform: translateY(-2px);
}

.form-note {
	font-size: 12px;
	color: var(--slate-500);
	margin-top: 14px;
	text-align: center;
}


/* ===== FLOATING WHATSAPP ===== */

.fab-whatsapp {
	position: fixed;
	bottom: 26px;
	right: 26px;
	z-index: 80;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: #1F3A2E;
	color: var(--white);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 16px 34px -12px rgba(0, 0, 0, 0.45);
	transition: transform .25s ease, background .25s ease;
}

.fab-whatsapp:hover {
	transform: scale(1.08);
	background: #28503D;
}


/* ===== FOOTER ===== */

.site-footer {
  background: #071321;
  color: #fff;
  padding: 80px 0 0;
  border-top: 1px solid rgba(203, 168, 118, 0.18);
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 120px;
  padding-bottom: 65px;
}


/* MARCA */

.footer-brand {
  max-width: 500px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 25px;
}

.footer-logo img {
  width: 210px;
  height: auto;
  display: block;
}

.footer-brand p {
  margin: 0 0 28px;
  max-width: 430px;

  color: rgba(255, 255, 255, 0.62);

  font-size: 14px;
  line-height: 1.8;
}


/* BOTÓN */

.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;

  color: #cba876;
  text-decoration: none;

  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;

  padding-bottom: 8px;

  border-bottom: 1px solid rgba(203, 168, 118, 0.45);

  transition: all 0.3s ease;
}

.footer-cta span {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.footer-cta:hover {
  color: #fff;
  border-color: #cba876;
}

.footer-cta:hover span {
  transform: translateX(5px);
}


/* NAVEGACIÓN */

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-column h4 {
  margin: 5px 0 25px;

  color: #cba876;

  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 500;

  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-column > a {
  position: relative;

  color: rgba(255, 255, 255, 0.65);

  text-decoration: none;

  font-size: 14px;
  line-height: 1.5;

  margin-bottom: 14px;

  transition: color 0.25s ease;
}

.footer-column > a:hover {
  color: #fff;
}


/* PARTE INFERIOR */

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;

  padding: 25px 0;

  border-top: 1px solid rgba(255, 255, 255, 0.09);

  color: rgba(255, 255, 255, 0.4);

  font-size: 11px;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 25px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;

  transition: color 0.25s ease;
}

.footer-legal a:hover {
  color: #cba876;
}


/* RESPONSIVE */

@media (max-width: 700px) {

  .site-footer {
    padding-top: 55px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 45px;
    padding-bottom: 45px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .footer-legal {
    flex-wrap: wrap;
    gap: 15px 25px;
  }

}

@media (max-width: 480px) {

  .footer-logo img {
    width: 180px;
  }

  .footer-bottom {
    font-size: 10px;
  }

}


/* ===== FLUID EN EL HERO ===== */

#fluid {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	touch-action: pan-y;
	/* permite hacer scroll con el dedo aunque el canvas est茅 encima */
}

.hero-content,
.hero-image-wrapper {
	position: relative;
	z-index: 2;
}


/* Altura de viewport correcta en m贸viles (evita el salto con la barra de Safari/Chrome) */

@supports (height: 100dvh) {
	.hero {
		min-height: 100dvh;
	}
}


.success-message {
    margin-bottom: 20px;
    padding: 18px 20px;
    border-radius: 10px;
    background: #eef9f1;
    border: 1px solid #b8dfc2;
    color: #245b32;
}

.success-message strong {
    display: block;
    font-size: 17px;
    margin-bottom: 5px;
}

.success-message p {
    margin: 0;
    font-size: 14px;
}
.form-honeypot {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;

    width: 1px !important;
    height: 1px !important;

    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* =========================================
   POPUP SOLICITUD ENVIADA
========================================= */

.success-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, 0.45);

    animation: popupOverlayIn 0.25s ease;
}

.success-popup {
    position: relative;

    width: 100%;
    max-width: 440px;

    padding: 40px 35px 35px;

    background: #ffffff;
    border-radius: 14px;

    text-align: center;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.20);

    animation: popupIn 0.3s ease;
}

.success-popup-close {
    position: absolute;
    top: 12px;
    right: 15px;

    width: 35px;
    height: 35px;

    border: none;
    background: transparent;

    font-size: 30px;
    line-height: 30px;

    color: #777;

    cursor: pointer;
}

.success-popup-close:hover {
    color: #111;
}

.success-popup-icon {
    width: 65px;
    height: 65px;

    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #eaf6ef;
    color: #1f4d3b;

    font-size: 34px;
    font-weight: bold;
}

.success-popup h3 {
    margin: 0 0 12px;

    font-size: 26px;

    color: #111;
}

.success-popup p {
    margin: 6px 0;

    font-size: 15px;
    line-height: 1.6;

    color: #555;
}

.success-popup-button {
    margin-top: 22px;

    padding: 12px 30px;

    border: none;
    border-radius: 6px;

    background: #1f4d3b;
    color: #ffffff;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;
}

.success-popup-button:hover {
    opacity: 0.9;
}

/* Animaciones */

@keyframes popupOverlayIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes popupIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.success-popup-overlay.cerrando {
    opacity: 0;
    transition: opacity 0.25s ease;
}

.success-popup-overlay.cerrando .success-popup {
    transform: translateY(20px) scale(0.96);
    transition: transform 0.25s ease;
}