/* ===============================================
   Interlocuciones Legales Consultores
   Estilos principales — Edici&oacute;n Premium
   =============================================== */

:root {
  --navy: #15395B;
  --navy-dark: #0A1E33;
  --navy-light: #1E4D73;
  --steel: #4A6D8C;
  --sand: #D8D3B6;
  --sand-light: #E8E4D0;
  --sand-pale: #F5F3EC;
  --white: #FFFFFF;
  --charcoal: #2C2C2C;
  --gold: #C4A44A;
  --gold-muted: #A8903F;
  --gold-light: #D4B95A;
  --radius: 12px;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.12);
  --transition: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--charcoal);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ============= NAVIGATION ============= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.4rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.5s var(--transition);
}

.nav.scrolled {
  background: rgba(10, 30, 51, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.7rem 4rem;
  box-shadow: 0 1px 0 rgba(196, 164, 74, 0.15), 0 8px 40px rgba(0,0,0,0.2);
}

.nav-brand {
  font-family: 'Cormorant Garamond', serif;
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
}

.nav-brand:hover { opacity: 0.85; }

.nav-logo {
  height: 40px;
  width: auto;
  margin-right: 0.75rem;
  transition: height 0.5s var(--transition);
}

.nav.scrolled .nav-logo { height: 32px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.8rem;
}

.nav-links a {
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(216, 211, 182, 0.7);
  text-decoration: none;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: all 0.4s var(--transition);
  transform: translateX(-50%);
  border-radius: 1px;
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-size: 0.65rem !important;
  font-weight: 600 !important;
  color: var(--navy-dark) !important;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  padding: 0.6rem 1.6rem;
  border-radius: 100px;
  letter-spacing: 0.1em !important;
  text-transform: uppercase;
  transition: all 0.3s var(--transition) !important;
  box-shadow: 0 2px 15px rgba(196, 164, 74, 0.25);
}

.nav-cta::after { display: none !important; }
.nav-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 25px rgba(196, 164, 74, 0.4);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--sand);
  transition: all 0.3s;
  border-radius: 1px;
}

/* ============= HERO ============= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-dark);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(30, 77, 115, 0.5) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 20%, rgba(74, 109, 140, 0.25) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 90%, rgba(196, 164, 74, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(30, 77, 115, 0.15) 0%, transparent 30%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 100px, rgba(255,255,255,0.4) 100px, rgba(255,255,255,0.4) 101px),
    repeating-linear-gradient(90deg, transparent, transparent 100px, rgba(255,255,255,0.4) 100px, rgba(255,255,255,0.4) 101px);
}

.hero-gold-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, var(--gold-light), var(--gold), var(--gold-light), transparent 95%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  padding: 2rem;
  animation: heroFadeIn 1.4s var(--transition) both;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(40px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-label {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.5rem;
  padding: 0.5rem 1.5rem;
  border: 1px solid rgba(196, 164, 74, 0.25);
  border-radius: 100px;
  background: rgba(196, 164, 74, 0.06);
  animation: heroFadeIn 1.4s 0.2s var(--transition) both;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--white);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 600;
  line-height: 1.08;
  margin-bottom: 1.8rem;
  letter-spacing: -0.01em;
  animation: heroFadeIn 1.4s 0.3s var(--transition) both;
}

.hero h1 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(216, 211, 182, 0.75);
  line-height: 1.8;
  max-width: 540px;
  margin: 0 auto 3rem;
  animation: heroFadeIn 1.4s 0.45s var(--transition) both;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: heroFadeIn 1.4s 0.6s var(--transition) both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9rem 2.2rem;
  border-radius: 100px;
  transition: all 0.4s var(--transition);
  cursor: pointer;
  border: none;
  position: relative;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-dark);
  box-shadow: 0 4px 20px rgba(196, 164, 74, 0.3);
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(196, 164, 74, 0.4);
}

.btn-outline {
  background: transparent;
  color: rgba(216, 211, 182, 0.8);
  border: 1px solid rgba(216, 211, 182, 0.2);
  backdrop-filter: blur(4px);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--white);
  background: rgba(196, 164, 74, 0.08);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(21, 57, 91, 0.3);
}

.hero-scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: float 3s ease-in-out infinite;
}

.hero-scroll-line {
  width: 1px;
  height: 35px;
  background: linear-gradient(to bottom, rgba(196, 164, 74, 0.6), transparent);
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============= SECTIONS COMMON ============= */
.section-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: inline-block;
}

.section-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

/* ============= ABOUT ============= */
.about {
  padding: 8rem 4rem;
  background: var(--sand-pale);
  position: relative;
}

.about-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-text {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.85;
  margin-bottom: 1.2rem;
}

.about-text strong {
  color: var(--navy);
  font-weight: 600;
}

.about-card {
  background: linear-gradient(145deg, var(--navy), var(--navy-dark));
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-muted));
}

.about-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(196, 164, 74, 0.04) 0%, transparent 70%);
}

.about-card-icon {
  width: 52px;
  height: 52px;
  background: rgba(196, 164, 74, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(196, 164, 74, 0.15);
  position: relative;
  z-index: 1;
}

.about-card-icon svg { width: 24px; height: 24px; }

.about-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.about-card p {
  font-size: 0.88rem;
  color: rgba(216, 211, 182, 0.8);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(216, 211, 182, 0.1);
  position: relative;
  z-index: 1;
}

.stat-item { text-align: center; }

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 0.62rem;
  color: rgba(216, 211, 182, 0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.4rem;
}

/* ============= CONVICTION / OFFER ============= */
.conviction {
  padding: 8rem 4rem;
  background: var(--white);
}

.conviction-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.conviction-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.conviction-card {
  padding: 3.5rem 3rem 4rem;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--transition);
}

.conviction-card:hover { transform: translateY(-4px); }

.conviction-card.dark {
  background: linear-gradient(145deg, var(--navy), var(--navy-dark));
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.conviction-card.light {
  background: var(--sand-pale);
  color: var(--charcoal);
  border: 1px solid rgba(216, 211, 182, 0.4);
}

.conviction-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  line-height: 1.2;
}

.conviction-card.dark h3 { color: var(--white); }
.conviction-card.light h3 { color: var(--navy); }

.conviction-card p {
  font-size: 0.9rem;
  line-height: 1.75;
}

.conviction-card.dark p { color: rgba(216, 211, 182, 0.8); }
.conviction-card.light p { color: #666; }

.conviction-card::after {
  content: '';
  position: absolute;
  bottom: 3rem;
  left: 3rem;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.conviction-pillars {
  display: flex;
  gap: 0.8rem;
  margin-top: 2.5rem;
}

.pillar {
  flex: 1;
  text-align: center;
  padding: 1.2rem 0.8rem;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.3s var(--transition);
}

.pillar:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(196, 164, 74, 0.2);
}

.pillar-text {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(216, 211, 182, 0.8);
}

/* ============= QUOTE ============= */
.quote-section {
  padding: 7rem 4rem;
  background: var(--navy-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote-section::before {
  content: '\201C';
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 10rem;
  background: linear-gradient(180deg, rgba(196, 164, 74, 0.1), transparent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.quote-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(30, 77, 115, 0.2), transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(30, 77, 115, 0.15), transparent 50%);
}

.quote-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 500;
  font-style: italic;
  color: var(--white);
  line-height: 1.45;
  max-width: 720px;
  margin: 0 auto 2.5rem;
  position: relative;
  z-index: 1;
}

.quote-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
}

.quote-author {
  font-size: 0.82rem;
  color: rgba(216, 211, 182, 0.6);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.quote-author strong {
  display: block;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 0.3rem;
  font-size: 0.88rem;
}

/* ============= SERVICES ============= */
.services {
  padding: 8rem 4rem;
  background: var(--sand-pale);
}

.services-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.services-header {
  text-align: center;
  margin-bottom: 4.5rem;
}

.services-header p {
  font-size: 0.95rem;
  color: #666;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.8rem 2.2rem 3.2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--transition);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--transition);
}

.service-card:hover::before { transform: scaleX(1); }

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--navy), var(--navy-dark));
  color: var(--gold-light);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.8rem;
  box-shadow: 0 4px 15px rgba(21, 57, 91, 0.2);
}

.service-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.service-card p {
  font-size: 0.85rem;
  color: #777;
  line-height: 1.7;
}

/* ============= WORKSHOPS ============= */
.workshops {
  padding: 8rem 4rem;
  background: var(--white);
}

.workshops-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.workshops-header { margin-bottom: 3rem; }

.workshop-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2.8rem 0;
  border-bottom: 1px solid rgba(216, 211, 182, 0.4);
  transition: all 0.3s var(--transition);
}

.workshop-item:hover { padding-left: 1rem; }

.workshop-item:last-child { border-bottom: none; }

.workshop-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--navy), var(--navy-dark));
  color: var(--gold-light);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(21, 57, 91, 0.15);
}

.workshop-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.workshop-content p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.75;
  max-width: 680px;
}

/* ============= METHODOLOGY ============= */
.methodology {
  padding: 8rem 4rem;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.methodology::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(30, 77, 115, 0.6), transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(74, 109, 140, 0.2), transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(196, 164, 74, 0.03), transparent 40%);
}

.methodology-inner {
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.methodology-header {
  text-align: center;
  margin-bottom: 4.5rem;
}

.methodology-header .section-label { color: var(--gold); }
.methodology-header .section-heading { color: var(--white); }

.methodology-header p {
  font-size: 0.95rem;
  color: rgba(216, 211, 182, 0.7);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.step-card {
  text-align: center;
  padding: 2.8rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.4s var(--transition);
  position: relative;
  backdrop-filter: blur(4px);
}

.step-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-6px);
  border-color: rgba(196, 164, 74, 0.2);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.8rem;
  line-height: 1.25;
}

.step-card p {
  font-size: 0.8rem;
  color: rgba(216, 211, 182, 0.6);
  line-height: 1.65;
}

.step-card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -0.75rem;
  width: 1.5rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(196, 164, 74, 0.4), transparent);
}

/* ============= TEAM ============= */
.team {
  padding: 8rem 4rem;
  background: var(--sand-pale);
}

.team-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.team-header {
  text-align: center;
  margin-bottom: 4rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1140px;
  margin: 0 auto;
}

.team-card {
  width: 100%;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  transition: all 0.4s var(--transition);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.team-card-top {
  background: linear-gradient(145deg, var(--navy), var(--navy-dark));
  padding: 2.8rem 2rem 2.2rem;
  position: relative;
}

.team-card-top::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.team-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--navy-light);
  margin: 0 auto 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 3px solid rgba(196, 164, 74, 0.3);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: all 0.4s var(--transition);
}

.team-card:hover .team-avatar {
  border-color: rgba(196, 164, 74, 0.6);
  transform: scale(1.05);
}

.team-avatar svg { width: 36px; height: 36px; }

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card-top h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.team-card-body { padding: 1.5rem 2rem 2rem; }

.team-role {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--steel);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.team-divider {
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-muted));
  margin: 1rem auto;
  border-radius: 1px;
}

/* ============= CONTACT (index) ============= */
.contact {
  padding: 8rem 4rem;
  background: var(--navy-dark);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(30, 77, 115, 0.3), transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(30, 77, 115, 0.15), transparent 50%);
}

.contact-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.contact .section-heading { color: var(--white); }

.contact-desc {
  font-size: 0.95rem;
  color: rgba(216, 211, 182, 0.7);
  line-height: 1.75;
  margin-bottom: 3rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contact-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  transition: all 0.4s var(--transition);
  backdrop-filter: blur(4px);
}

.contact-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(196, 164, 74, 0.3);
  transform: translateY(-3px);
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: rgba(196, 164, 74, 0.1);
  border: 1px solid rgba(196, 164, 74, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.contact-card-icon svg { width: 18px; height: 18px; }

.contact-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.contact-card p {
  font-size: 0.8rem;
  color: rgba(216, 211, 182, 0.5);
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--gold);
  text-decoration: none;
  transition: all 0.3s;
  margin-bottom: 2.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 100px;
  background: rgba(196, 164, 74, 0.06);
  border: 1px solid rgba(196, 164, 74, 0.15);
}

.contact-email:hover {
  color: var(--gold-light);
  background: rgba(196, 164, 74, 0.12);
  border-color: rgba(196, 164, 74, 0.3);
}

.contact-email svg { width: 18px; height: 18px; }

/* ============= CONTACT FORM PAGE ============= */
.contact-page {
  min-height: 100vh;
  background: var(--sand-pale);
}

.contact-page-hero {
  background: var(--navy-dark);
  padding: 9rem 4rem 4.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(30, 77, 115, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(74, 109, 140, 0.2) 0%, transparent 50%);
}

.contact-page-hero .hero-gold-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, var(--gold-light), var(--gold), var(--gold-light), transparent 95%);
}

.contact-page-hero-content {
  position: relative;
  z-index: 1;
}

.contact-page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--white);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
}

.contact-page-hero p {
  font-size: 1rem;
  color: rgba(216, 211, 182, 0.7);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

.contact-form-section {
  padding: 5rem 4rem;
  max-width: 950px;
  margin: 0 auto;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-sidebar {
  background: linear-gradient(145deg, var(--navy), var(--navy-dark));
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  min-width: 0;
  box-shadow: var(--shadow-lg);
}

.contact-info-sidebar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-muted));
}

.contact-info-sidebar h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.8rem;
}

.sidebar-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.8rem;
}

.sidebar-item:last-child { margin-bottom: 0; }

.sidebar-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 8px;
  background: rgba(196, 164, 74, 0.1);
  border: 1px solid rgba(196, 164, 74, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-icon svg { width: 16px; height: 16px; }

.sidebar-item h4 {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.sidebar-item p {
  font-size: 0.78rem;
  color: rgba(216, 211, 182, 0.7);
  line-height: 1.5;
}

.sidebar-item > div { min-width: 0; }

.sidebar-item a {
  color: var(--gold);
  text-decoration: none;
  font-size: 0.78rem;
  transition: color 0.3s;
  word-break: break-all;
  overflow-wrap: break-word;
}

.sidebar-item a:hover { color: var(--gold-light); }

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.8rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.04);
}

.contact-form-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.contact-form-card > p {
  font-size: 0.82rem;
  color: #999;
  margin-bottom: 2.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.form-group label .required {
  color: var(--gold);
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  color: var(--charcoal);
  background: var(--sand-pale);
  border: 1.5px solid transparent;
  border-radius: 8px;
  padding: 0.8rem 1.1rem;
  transition: all 0.3s var(--transition);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(196, 164, 74, 0.1);
  background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #bbb;
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234A6D8C' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 1.8rem;
}

.form-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 1px;
  accent-color: var(--gold);
  cursor: pointer;
}

.form-consent label {
  font-size: 0.75rem;
  color: #888;
  line-height: 1.5;
  cursor: pointer;
}

.form-submit {
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-dark);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border: none;
  border-radius: 100px;
  padding: 1.1rem 2rem;
  cursor: pointer;
  transition: all 0.4s var(--transition);
  box-shadow: 0 4px 20px rgba(196, 164, 74, 0.3);
}

.form-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(196, 164, 74, 0.4);
}

.form-submit:active { transform: translateY(0); }

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}

.form-success.show { display: block; }

.form-success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(196, 164, 74, 0.1);
  border: 2px solid rgba(196, 164, 74, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.5rem;
  color: var(--gold);
}

.form-success h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.form-success p {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.6;
}

/* ============= FOOTER ============= */
.footer {
  background: var(--navy-dark);
  padding: 2.5rem 4rem;
  border-top: 1px solid rgba(196, 164, 74, 0.1);
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(216, 211, 182, 0.7);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
}

.footer-logo {
  height: 28px;
  width: auto;
  margin-right: 0.6rem;
  opacity: 0.7;
}

.footer-copy {
  font-size: 0.7rem;
  color: rgba(216, 211, 182, 0.3);
  letter-spacing: 0.04em;
}

/* ============= SCROLL ANIMATIONS ============= */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============= RESPONSIVE ============= */
@media (max-width: 900px) {
  .nav { padding: 1rem 1.5rem; }
  .nav.scrolled { padding: 0.7rem 1.5rem; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 30, 51, 0.98);
    backdrop-filter: blur(20px);
    padding: 1.5rem 2rem 2rem;
    gap: 1.2rem;
    border-bottom: 1px solid rgba(196, 164, 74, 0.15);
  }
  .nav-toggle { display: flex; }

  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .conviction-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .step-card::after { display: none; }
  .team-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .team-card[style*="grid-column"] { grid-column: auto !important; }
  .contact-cards { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto 3rem; }
  .contact-form-grid { grid-template-columns: 1fr; }

  .hero h1 { font-size: 2.2rem; }
  .section-heading { font-size: 1.8rem; }

  .about, .conviction, .services, .workshops, .methodology, .team, .contact {
    padding: 4.5rem 1.5rem;
  }

  .contact-form-section { padding: 3rem 1.5rem; }

  .footer-inner { flex-direction: column; gap: 0.8rem; text-align: center; }
  .footer { padding: 2rem 1.5rem; }
}

@media (max-width: 600px) {
  .steps-grid { grid-template-columns: 1fr; }
  .conviction-pillars { flex-direction: column; }
  .hero-actions { flex-direction: column; align-items: center; }
  .workshop-item { grid-template-columns: 50px 1fr; gap: 1rem; }
  .workshop-number { width: 44px; height: 44px; font-size: 1rem; }
  .form-row { grid-template-columns: 1fr; }
  .nav-logo { height: 32px; }
  .nav.scrolled .nav-logo { height: 28px; }
}
