/* =============================================
   SALAZAR MESÍAS ABOGADOS — Stylesheet
   ============================================= */

/* === CUSTOM PROPERTIES === */
:root {
  --navy:        #162544;
  --navy-deep:   #0C1929;
  --navy-mid:    #1E3456;
  --gold:        #B8945A;
  --gold-light:  #D4AA72;
  --gold-dark:   #9A7B44;
  --cream:       #F5F0E8;
  --cream-dark:  #EDE8DB;
  --white:       #FFFFFF;
  --gray-light:  #F0EEEA;
  --gray:        #888888;
  --gray-dark:   #4A4A4A;
  --dark:        #111111;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1200px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy-deep); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* === UTILITIES === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--navy);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: var(--transition);
}
.btn:hover::after { opacity: 1; }

.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(184,148,90,0.35);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-outline-white:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

/* Gold divider line */
.gold-line {
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 24px 0;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 28px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: var(--navy-deep);
  padding: 16px 0;
  box-shadow: 0 4px 40px rgba(0,0,0,0.3);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.navbar-logo img {
  height: 52px;
  width: auto;
  transition: var(--transition);
}
.navbar.scrolled .navbar-logo img { height: 44px; }

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.navbar-nav a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  transition: var(--transition);
  position: relative;
}

.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.navbar-nav a:hover {
  color: var(--gold);
}
.navbar-nav a:hover::after { width: 100%; }

.navbar-cta {
  padding: 12px 28px;
  font-size: 10px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--white);
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy-deep);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.04em;
  transition: var(--transition);
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav .gold-line { margin: 0 auto; }


/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--navy-deep);
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Geometric background lines */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 55%;
  height: 130%;
  background: linear-gradient(135deg, var(--navy-mid) 0%, transparent 60%);
  clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
}

/* The diagonal gold stroke — referencing the logo */
.hero-diagonal {
  position: absolute;
  width: 3px;
  height: 65vh;
  background: linear-gradient(180deg, transparent 0%, var(--gold) 30%, var(--gold-light) 70%, transparent 100%);
  right: 38%;
  top: 18%;
  transform: rotate(-15deg);
  opacity: 0.5;
}

/* Subtle grid pattern */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* Large faded monogram */
.hero-monogram {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(200px, 25vw, 380px);
  font-weight: 700;
  color: rgba(255,255,255,0.025);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.05em;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 140px 32px 100px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-eyebrow span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.5vw, 88px);
  font-weight: 400;
  line-height: 1.08;
  color: var(--white);
  max-width: 780px;
  margin-bottom: 36px;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-subtitle {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin-bottom: 52px;
  letter-spacing: 0.03em;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.4);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, rgba(255,255,255,0.4), transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}


/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
  background: var(--navy);
  padding: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid rgba(255,255,255,0.08);
}

.stat-item {
  padding: 48px 40px;
  border-right: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  position: relative;
  transition: background var(--transition);
}
.stat-item:hover { background: rgba(184,148,90,0.08); }

.stat-number {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-suffix {
  font-size: 28px;
  color: var(--gold-light);
}

.stat-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.stat-divider {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  margin: 12px auto;
}


/* =============================================
   NOSOTROS / ABOUT
   ============================================= */
.about {
  padding: 120px 0;
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.about-text .section-title {
  font-size: clamp(36px, 4vw, 54px);
  margin-bottom: 28px;
}

.about-text p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--gray-dark);
  margin-bottom: 20px;
}

.about-values {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.value-item {
  padding: 24px;
  background: var(--white);
  border-left: 3px solid var(--gold);
  transition: var(--transition);
}
.value-item:hover { transform: translateX(6px); }

.value-item h4 {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.value-item p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray-dark);
  margin: 0;
}

/* About visual side */
.about-visual {
  position: relative;
}

.about-quote-card {
  background: var(--navy);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}

.about-quote-card::before {
  content: '\201C';
  position: absolute;
  top: -20px;
  left: 24px;
  font-family: var(--font-display);
  font-size: 160px;
  color: rgba(184,148,90,0.15);
  line-height: 1;
}

.about-quote-card blockquote {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: var(--white);
  position: relative;
  z-index: 1;
  margin-bottom: 28px;
}

.about-quote-card cite {
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.about-accent-box {
  background: var(--gold);
  padding: 40px 48px;
  margin-top: 4px;
}

.about-accent-box p {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.5;
  margin: 0;
}

.about-accent-box strong {
  font-weight: 600;
  display: block;
}

/* Floating decorative element */
.about-visual::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(184,148,90,0.3);
  bottom: -30px;
  right: -30px;
  z-index: -1;
}


/* =============================================
   SERVICIOS / PRACTICE AREAS
   ============================================= */
.services {
  padding: 120px 0;
  background: var(--white);
}

.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 72px;
  gap: 40px;
}

.services-header .section-title {
  font-size: clamp(36px, 4vw, 54px);
  max-width: 500px;
}

.services-header p {
  max-width: 340px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--gray);
  text-align: right;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--cream-dark);
}

.service-card {
  background: var(--white);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  background: var(--navy);
  transform: translateY(-4px);
  z-index: 2;
  box-shadow: 0 20px 60px rgba(22,37,68,0.25);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  color: var(--gold);
  transition: var(--transition);
}

.service-card:hover .service-icon { color: var(--gold-light); }

.service-number {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  color: rgba(22,37,68,0.05);
  line-height: 1;
  transition: var(--transition);
  user-select: none;
}
.service-card:hover .service-number { color: rgba(255,255,255,0.06); }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.25;
  transition: var(--transition);
}
.service-card:hover h3 { color: var(--white); }

.service-card p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--gray);
  transition: var(--transition);
}
.service-card:hover p { color: rgba(255,255,255,0.65); }

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-10px);
  transition: var(--transition);
}
.service-link::after {
  content: '→';
  transition: transform var(--transition);
}
.service-card:hover .service-link {
  opacity: 1;
  transform: translateX(0);
}
.service-card:hover .service-link:hover::after { transform: translateX(4px); }


/* =============================================
   EQUIPO / TEAM
   ============================================= */
.team {
  padding: 120px 0;
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
}

.team::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Background decorative */
.team-bg-text {
  position: absolute;
  bottom: -40px;
  right: -20px;
  font-family: var(--font-display);
  font-size: clamp(100px, 18vw, 260px);
  font-weight: 700;
  color: rgba(255,255,255,0.02);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.team .section-label { color: var(--gold); }
.team .section-label::before { background: var(--gold); }

.team-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 2;
}

/* Photo */
.team-photo-wrap {
  position: relative;
}

.team-photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--navy-mid);
  border: 1px solid rgba(184,148,90,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.team-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: rgba(255,255,255,0.2);
  text-align: center;
}

.team-photo-placeholder svg {
  width: 80px;
  height: 80px;
  opacity: 0.3;
}

.team-photo-placeholder span {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Photo border accent */
.team-photo-wrap::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 16px;
  right: -16px;
  bottom: -16px;
  border: 1px solid rgba(184,148,90,0.2);
  z-index: -1;
}

/* Team info */
.team-info .section-label { margin-bottom: 12px; }

.team-name {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 6px;
}

.team-role {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
}

.team-bio {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255,255,255,0.7);
  margin-bottom: 48px;
}

/* Credentials */
.credentials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.credential-group h4 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(184,148,90,0.25);
}

.credential-group ul { display: flex; flex-direction: column; gap: 10px; }

.credential-group li {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  padding-left: 16px;
  position: relative;
}

.credential-group li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 1px;
  background: var(--gold);
}

.team-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(184,148,90,0.4);
  padding: 14px 28px;
  transition: var(--transition);
}
.team-linkedin:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}


/* =============================================
   DIFERENCIADORES / WHY US
   ============================================= */
.why-us {
  padding: 120px 0;
  background: var(--cream);
}

.why-us-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 80px;
}

.why-us-header .section-label {
  justify-content: center;
}
.why-us-header .section-label::before { display: none; }

.why-us-header .section-title {
  font-size: clamp(36px, 4vw, 52px);
  margin-bottom: 20px;
}

.why-us-header p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--gray);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--cream-dark);
}

.why-item {
  background: var(--white);
  padding: 52px 44px;
  position: relative;
  transition: var(--transition);
}

.why-item:hover {
  background: var(--navy);
}

.why-item-icon {
  width: 52px;
  height: 52px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: var(--gold);
  transition: var(--transition);
}
.why-item:hover .why-item-icon {
  background: rgba(184,148,90,0.15);
}

.why-item h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 16px;
  transition: var(--transition);
}
.why-item:hover h3 { color: var(--white); }

.why-item p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--gray-dark);
  transition: var(--transition);
}
.why-item:hover p { color: rgba(255,255,255,0.65); }

/* =============================================
   CONTACTO
   ============================================= */
.contact {
  padding: 120px 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 80px;
  align-items: start;
}

.contact-info .section-title {
  font-size: clamp(32px, 3.5vw, 48px);
  margin-bottom: 24px;
}

.contact-info > p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--gray);
  margin-bottom: 48px;
  max-width: 440px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 48px;
}

.contact-detail {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-detail-text h4 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 4px;
}

.contact-detail-text p, .contact-detail-text a {
  font-size: 14px;
  color: var(--gray-dark);
  line-height: 1.6;
  transition: color var(--transition);
}
.contact-detail-text a:hover { color: var(--gold); }

.contact-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border: 1px solid var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  transition: var(--transition);
}
.social-link:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--gold);
}

/* Contact Form */
.contact-form-wrap {
  background: var(--navy);
  padding: 56px 48px;
}

.contact-form-wrap h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 8px;
}

.contact-form-wrap > p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 14px 18px;
  outline: none;
  transition: border-color var(--transition);
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.25); }

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23B8945A' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.form-group select option { background: var(--navy); color: var(--white); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit { width: 100%; justify-content: center; margin-top: 8px; }

.form-privacy {
  margin-top: 16px;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
  text-align: center;
}

.form-success {
  display: none;
  text-align: center;
  padding: 32px;
  color: var(--gold-light);
}
.form-success svg { margin: 0 auto 16px; }
.form-success h4 { font-family: var(--font-display); font-size: 24px; color: var(--white); margin-bottom: 8px; }
.form-success p { font-size: 13px; color: rgba(255,255,255,0.6); }


/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--navy-deep);
  padding: 72px 0 0;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand img { height: 56px; width: auto; margin-bottom: 24px; }

.footer-brand p {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,0.45);
  margin-bottom: 28px;
}

.footer-col h4 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(184,148,90,0.2);
}

.footer-col ul { display: flex; flex-direction: column; gap: 12px; }

.footer-col li a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col li a::before {
  content: '';
  display: block;
  width: 14px;
  height: 1px;
  background: rgba(184,148,90,0.4);
  transition: width var(--transition), background var(--transition);
}

.footer-col li a:hover {
  color: var(--gold-light);
}
.footer-col li a:hover::before {
  width: 20px;
  background: var(--gold);
}

.footer-col address {
  font-style: normal;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
}

.footer-col address strong {
  display: block;
  color: rgba(255,255,255,0.75);
  margin-bottom: 4px;
}

.footer-col address a {
  color: var(--gold);
  transition: color var(--transition);
}
.footer-col address a:hover { color: var(--gold-light); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  transition: color var(--transition);
  letter-spacing: 0.05em;
}
.footer-legal a:hover { color: var(--gold); }


/* =============================================
   WHATSAPP FLOAT
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 6px 30px rgba(37,211,102,0.4);
  transition: var(--transition);
  animation: waPulse 3s ease-in-out infinite;
}

.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 40px rgba(37,211,102,0.5);
  animation: none;
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: 2px;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
}
.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 6px 30px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 6px 40px rgba(37,211,102,0.7), 0 0 0 10px rgba(37,211,102,0.08); }
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 104px;
  right: 36px;
  z-index: 900;
  width: 44px;
  height: 44px;
  background: var(--navy);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  cursor: pointer;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}
.back-to-top:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}


/* =============================================
   RESPONSIVE
   ============================================= */

/* Tablet (≤ 1024px) */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .team-grid { grid-template-columns: 280px 1fr; gap: 48px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .credentials { grid-template-columns: 1fr; }
}

/* Mobile (≤ 768px) */
@media (max-width: 768px) {
  .navbar-nav, .navbar-cta { display: none; }
  .hamburger { display: flex; }

  .hero-title { font-size: clamp(36px, 9vw, 52px); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-monogram { display: none; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { padding: 32px 24px; }
  .stat-number { font-size: 42px; }

  .about-values { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }

  .services-header { flex-direction: column; align-items: flex-start; }
  .services-header p { text-align: left; }

  .team-grid { grid-template-columns: 1fr; }
  .team-photo { aspect-ratio: 1/1; max-width: 320px; }

  .why-grid { grid-template-columns: 1fr; }

  .contact-form-wrap { padding: 36px 28px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }

  .whatsapp-float { bottom: 20px; right: 20px; }
  .back-to-top { bottom: 88px; right: 24px; }

  .container { padding: 0 20px; }
}

/* Small mobile (≤ 480px) */
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 120px 20px 80px; }
}
