/* ============================================================
   SOBRELEYES ABOGADOS — Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --navy:      #1B2A7B;
  --navy-dark: #111A55;
  --navy-light:#2E42A0;
  --lavender:  #8B8FBF;
  --lav-light: #C5C7E0;
  --white:     #FFFFFF;
  --off-white: #F7F7FA;
  --gray-light:#EBEBF2;
  --gray:      #9090A8;
  --text:      #1A1A2E;
  --text-light:#555570;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --radius: 4px;
  --shadow: 0 4px 24px rgba(27,42,123,0.10);
  --shadow-lg: 0 12px 48px rgba(27,42,123,0.16);
  --transition: 0.3s ease;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.2;
  color: var(--navy-dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p  { color: var(--text-light); font-size: 1rem; line-height: 1.8; }

.section-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lavender);
  display: block;
  margin-bottom: 0.75rem;
}

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section--gray {
  background: var(--off-white);
}

.section--navy {
  background: var(--navy-dark);
  clip-path: polygon(0 60px, 100% 0, 100% calc(100% - 60px), 0 100%);
  padding-top: calc(6rem + 60px);
  padding-bottom: calc(6rem + 60px);
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
}

.btn--primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn--primary:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}

.btn--white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn--white:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-1px);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

/* ── Navbar ──────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 1.5rem;
  overflow: visible;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 20px rgba(27,42,123,0.10);
  backdrop-filter: blur(8px);
}

.navbar__inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: height var(--transition);
}

.navbar.scrolled .navbar__inner {
  height: 68px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  align-self: flex-start;
  padding-top: 6px;
}

.navbar.scrolled .navbar__logo {
  align-self: center;
  padding-top: 0;
}

.navbar__logo img {
  height: 108px;
  width: auto;
  transition: height var(--transition), filter var(--transition);
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}

.navbar.scrolled .navbar__logo img {
  height: 62px;
  filter: none;
}

.navbar__logo-tagline {
  display: flex;
  flex-direction: column;
  padding-left: 1rem;
  margin-left: 1rem;
  border-left: 1px solid rgba(255,255,255,0.18);
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  line-height: 1.9;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.35s ease, transform 0.35s ease, border-color 0.35s ease, color 0.35s ease;
  pointer-events: none;
  white-space: nowrap;
}

.navbar.scrolled .navbar__logo-tagline {
  opacity: 1;
  transform: translateX(0);
  border-left-color: var(--gray-light);
  color: var(--lavender);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.navbar__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.04em;
  transition: color var(--transition);
  position: relative;
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--lavender);
  transition: width var(--transition);
}

.navbar__links a:hover::after,
.navbar__links a.active::after { width: 100%; }

.navbar.scrolled .navbar__links a:not(.btn) {
  color: var(--text);
}

.navbar.scrolled .navbar__links a:not(.btn):hover {
  color: var(--navy);
}

.navbar.scrolled .navbar__links .btn--primary {
  color: var(--white);
}

.navbar__links .btn {
  padding: 0.55rem 1.4rem;
  font-size: 0.85rem;
}

/* Dropdown */
.navbar__dropdown {
  position: relative;
}

.navbar__dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white);
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 0.5rem 0;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  border-top: 3px solid var(--navy);
}

.navbar__dropdown:hover .navbar__dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.navbar__dropdown-menu a {
  display: block;
  padding: 0.65rem 1.25rem;
  font-size: 0.85rem;
  color: var(--text) !important;
  transition: background var(--transition), color var(--transition);
}

.navbar__dropdown-menu a:hover {
  background: var(--off-white);
  color: var(--navy) !important;
}

.navbar__dropdown-menu a::after { display: none; }

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

.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.navbar.scrolled .navbar__toggle span {
  background: var(--navy);
}

.navbar__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__toggle.open span:nth-child(2) { opacity: 0; }
.navbar__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.navbar__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy-dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.navbar__mobile.open { display: flex; }

.navbar__mobile a {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--white);
  transition: color var(--transition);
}

.navbar__mobile a:hover { color: var(--lav-light); }

.navbar__mobile .btn {
  margin-top: 1rem;
  font-size: 1rem;
  padding: 0.9rem 2.5rem;
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, #2A3FA0 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 90px), 0 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,143,191,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -15%; left: -8%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,143,191,0.10) 0%, transparent 70%);
  pointer-events: none;
}


/* Decorative lines */
.hero__lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__lines::before {
  content: '';
  position: absolute;
  top: 0; right: 25%;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.08), transparent);
}

.hero__lines::after {
  content: '';
  position: absolute;
  top: 35%;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.06), transparent);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__text { }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  color: var(--lav-light);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--lavender);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.hero h1 em {
  font-style: normal;
  color: var(--lav-light);
}

.hero__desc {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__image {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero__photo-frame {
  position: relative;
  width: 100%;
  max-width: 440px;
}

.hero__photo-frame-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
}

.hero__photo-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--white);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 200px;
}

.hero__photo-badge-icon {
  width: 44px; height: 44px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero__photo-badge-icon svg {
  width: 22px; height: 22px;
  stroke: white;
}

.hero__photo-badge-text strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--navy-dark);
  line-height: 1;
}

.hero__photo-badge-text span {
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.3;
}

.hero__photo-stats {
  position: absolute;
  top: 1.5rem;
  right: -1.5rem;
  background: rgba(17,26,85,0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero__photo-stat-num {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.hero__photo-stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.50);
  line-height: 1.3;
  max-width: 70px;
}

/* Legacy card (unused but kept for safety) */
.hero__card { display: none; }
.hero__card-logo { display: none; }
.hero__stats { display: none; }
.hero__divider { display: none; }
.hero__contact-info { display: none; }
.hero__contact-info span { display: none; }
.hero__contact-info span svg { display: none; }
.hero__stat-num { display: none; }
.hero__stat-label { display: none; }

/* ── Scroll indicator ───────────────────────────────────────── */
.scroll-indicator {
  position: absolute;
  bottom: 6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.scroll-indicator svg {
  width: 18px; height: 18px;
}

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

/* ── Services strip (home) ──────────────────────────────────── */
.services-strip {
  padding: 5rem 0;
}

.services-strip__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3.5rem;
}

.services-strip__header h2 { margin-bottom: 1rem; }

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

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--lavender));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

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

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

.service-card__photo {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-radius: 4px 4px 0 0;
  margin: -2.5rem -2rem 1.5rem;
  width: calc(100% + 4rem);
  transition: transform 0.4s ease;
}

.service-card:hover .service-card__photo {
  transform: scale(1.03);
}

.service-card__photo-wrap {
  overflow: hidden;
  margin: -2.5rem -2rem 1.5rem;
  border-radius: 4px 4px 0 0;
  height: 180px;
  flex-shrink: 0;
}

.service-card__photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card__photo-wrap img {
  transform: scale(1.05);
}

.service-card__icon {
  width: 56px; height: 56px;
  background: var(--gray-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background var(--transition);
}

.service-card__icon svg {
  width: 26px; height: 26px;
  stroke: var(--navy);
}

.service-card:hover .service-card__icon {
  background: var(--navy);
}

.service-card:hover .service-card__icon svg {
  stroke: var(--white);
}

.service-card h3 {
  margin-bottom: 0.75rem;
  color: var(--navy-dark);
}

.service-card p {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.service-card__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--transition);
}

.service-card__link svg {
  width: 14px; height: 14px;
  transition: transform var(--transition);
}

.service-card:hover .service-card__link { gap: 0.7rem; }
.service-card:hover .service-card__link svg { transform: translateX(3px); }

/* ── Values section ─────────────────────────────────────────── */
.values {
  background: var(--navy-dark);
  padding: 6rem 0;
}

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

.values__header h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.values__header p {
  color: rgba(255,255,255,0.55);
  max-width: 560px;
  margin: 0 auto;
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
}

.value-item {
  background: var(--navy-dark);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: background var(--transition);
}

.value-item:hover {
  background: rgba(255,255,255,0.05);
}

.value-item__icon {
  width: 64px; height: 64px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.value-item__icon svg {
  width: 28px; height: 28px;
  stroke: var(--lav-light);
}

.value-item h4 {
  color: var(--white);
  margin-bottom: 0.75rem;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.value-item p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.50);
  line-height: 1.7;
}

/* ── Team section ───────────────────────────────────────────── */
.team {
  padding: 6rem 0;
  background: var(--off-white);
}

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

.team__header h2 { margin-bottom: 1rem; }

.team__grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 820px;
  margin: 0 auto;
}

.team-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--gray-light);
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  display: flex;
  transition: transform var(--transition), box-shadow var(--transition);
}

.team-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.11);
}

.team-card__photo-wrap {
  width: 220px;
  flex-shrink: 0;
  overflow: hidden;
}

.team-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}

.team-card:hover .team-card__photo {
  transform: scale(1.03);
}

.team-card__top {
  display: none;
}

.team-card__avatar { display: none; }
.team-card__name { display: none; }
.team-card__role { display: none; }

.team-card__body {
  padding: 1.75rem 2rem;
}

.team-card__body p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.team-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--gray-light);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
}

.team-card__tag svg {
  width: 12px; height: 12px;
}

/* ── CTA Banner ─────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: calc(5rem + 70px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 70px, 100% 0, 100% calc(100% - 70px), 0 100%);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
}

.cta-banner__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Page Hero (inner pages) ────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 9rem 0 calc(5rem + 70px);
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 70px), 0 100%);
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-hero p {
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

.breadcrumb a { color: rgba(255,255,255,0.55); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb svg { width: 12px; height: 12px; }

/* ── About page ─────────────────────────────────────────────── */
.about-intro {
  padding: 6rem 0;
}

.about-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-intro__visual {
  position: relative;
}

.about-intro__box {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  border-radius: 12px;
  padding: 3rem;
  color: white;
  position: relative;
}

.about-intro__box-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--white);
  margin-bottom: 2rem;
}

.about-intro__box-author {
  font-size: 0.82rem;
  color: var(--lav-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-intro__badge {
  position: absolute;
  bottom: -1.5rem;
  right: 2rem;
  background: var(--white);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.about-intro__badge-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.about-intro__badge-label {
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.3;
  max-width: 80px;
}

.about-intro__text h2 { margin-bottom: 1.25rem; }
.about-intro__text p  { margin-bottom: 1.25rem; }
.about-intro__text p:last-of-type { margin-bottom: 2rem; }

/* ── Values detail ──────────────────────────────────────────── */
.values-detail {
  padding: 6rem 0;
  background: var(--off-white);
}

.values-detail__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.values-detail__header h2 { margin-bottom: 1rem; }

.values-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.values-list__item {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem 2rem 2rem 2.5rem;
  border-left: 4px solid var(--navy);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  box-shadow: 0 2px 12px rgba(27,42,123,0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.values-list__item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

.values-list__icon {
  width: 48px; height: 48px;
  background: var(--gray-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.values-list__icon svg {
  width: 22px; height: 22px;
  stroke: var(--navy);
}

.values-list__content h4 {
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.values-list__content p {
  font-size: 0.875rem;
}

/* ── Services page ──────────────────────────────────────────── */
.service-block {
  padding: 5rem 0;
}

.service-block:nth-child(even) {
  background: var(--off-white);
}

.service-block__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.service-block__inner.reverse {
  direction: rtl;
}

.service-block__inner.reverse > * {
  direction: ltr;
}

.service-block__visual {
  border-radius: 12px;
  min-height: 380px;
  position: relative;
  overflow: hidden;
}

.service-block__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
}

.service-block__visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17,26,85,0.75) 0%, rgba(27,42,123,0.60) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  text-align: center;
  padding: 2rem;
}

.service-block__visual svg {
  width: 56px; height: 56px;
  stroke: rgba(255,255,255,0.7);
}

.service-block__visual-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--white);
  font-style: italic;
}

.service-block__content h2 {
  margin-bottom: 1rem;
}

.service-block__content p {
  margin-bottom: 1.5rem;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.service-list li svg {
  width: 16px; height: 16px;
  stroke: var(--navy);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ── Contact page ───────────────────────────────────────────── */
.contact-section {
  padding: 6rem 0;
}

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

.contact-info h2 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: 2rem;
}

.contact-info__items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-info__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info__item-icon {
  width: 44px; height: 44px;
  background: var(--gray-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info__item-icon svg {
  width: 20px; height: 20px;
  stroke: var(--navy);
}

.contact-info__item-label {
  font-size: 0.72rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--lavender);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.contact-info__item-value {
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.5;
}

.contact-info__item-value a:hover {
  color: var(--navy);
  text-decoration: underline;
}

.horario {
  background: var(--off-white);
  border-radius: 8px;
  padding: 1.5rem;
}

.horario h4 {
  font-size: 0.8rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: 1rem;
}

.horario__row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--gray-light);
}

.horario__row:last-child { border-bottom: none; }
.horario__row span:first-child { color: var(--text-light); }
.horario__row span:last-child { font-weight: 600; color: var(--text); }

/* Contact Form */
.contact-form-box {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 12px;
  padding: 3rem;
  box-shadow: var(--shadow);
}

.contact-form-box h2 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: 0.5rem;
}

.contact-form-box > p {
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

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

label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.4rem;
}

input, select, textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,42,123,0.10);
}

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

.form-privacy {
  font-size: 0.78rem;
  color: var(--gray);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.form-privacy a {
  color: var(--navy);
  text-decoration: underline;
}

.form-submit { width: 100%; justify-content: center; }

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

.form-success svg {
  width: 48px; height: 48px;
  stroke: #22c55e;
  margin: 0 auto 1rem;
}

.form-success h4 {
  color: var(--navy);
  margin-bottom: 0.5rem;
}

/* Map */
.map-section {
  background: var(--off-white);
  padding: 5rem 0;
}

.map-section__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.map-section__header .section-label {
  display: block;
  margin-bottom: 0.5rem;
}

.map-section__header h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: var(--navy-dark);
  margin-bottom: 0.75rem;
}

.map-section__address {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.map-section__link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.04em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s;
}

.map-section__link:hover { color: var(--navy-light); }

.map-section__link svg { width: 14px; height: 14px; }

.map-section__frame {
  overflow: hidden;
  height: 420px;
  margin-top: 2.5rem;
}

.map-section__frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  filter: grayscale(20%);
}

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.55);
}

/* Logo block — centrado */
.footer__top {
  padding: 4.5rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid rgba(139,143,191,0.18);
}

.footer__logo {
  display: block;
  margin: 0 auto 1.25rem;
  height: 100px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.88;
}

.footer__logo-sub {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--lavender);
  margin: 0;
}

/* Nav: 3 columnas */
.footer__nav {
  padding: 3.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer__nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.6fr;
  gap: 3rem;
}

.footer__heading {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer__links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.50);
  transition: color 0.2s;
}

.footer__links a:hover { color: white; }

/* Horario */
.footer__schedule {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer__schedule-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: 0.82rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer__schedule-row:last-child { border-bottom: none; }

.footer__schedule-row span:first-child {
  color: rgba(255,255,255,0.32);
  white-space: nowrap;
}

.footer__schedule-row span:last-child {
  color: rgba(255,255,255,0.60);
  text-align: right;
  font-size: 0.78rem;
}

.footer__schedule-row--closed span:last-child {
  color: rgba(255,255,255,0.25);
  font-style: italic;
}

/* Barra de contacto */
.footer__contact-bar {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer__contact-bar-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer__contact-phone {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.footer__contact-phone:hover { color: white; }
.footer__contact-phone svg { width: 16px; height: 16px; stroke: var(--lavender); flex-shrink: 0; }

.footer__contact-sep {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

.footer__contact-email {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.50);
  text-decoration: none;
  transition: color 0.2s;
}

.footer__contact-email:hover { color: white; }
.footer__contact-email svg { width: 14px; height: 14px; stroke: var(--lavender); flex-shrink: 0; }

.footer__contact-badge {
  margin-left: auto;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lavender);
  border: 1px solid rgba(139,143,191,0.28);
  border-radius: 4px;
  padding: 0.28rem 0.8rem;
}

/* Copyright bar */
.footer__bottom {
  padding: 1.4rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__bottom p {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.22);
  margin: 0;
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}

.footer__legal a {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.22);
  transition: color 0.2s;
}

.footer__legal a:hover { color: rgba(255,255,255,0.65); }

/* ── WhatsApp button ─────────────────────────────────────────── */
/* ── Contact widget (floating) ───────────────────────────────── */
.contact-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}
.contact-widget__card {
  background: white;
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 8px 48px rgba(27,42,123,0.18), 0 2px 12px rgba(0,0,0,0.08);
  min-width: 230px;
  opacity: 0;
  transform: translateY(10px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  border: 1px solid var(--gray-light);
}
.contact-widget__card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.contact-widget__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: 0.75rem;
  display: block;
}
.contact-widget__phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 0.875rem;
}
.contact-widget__phone svg { width: 16px; height: 16px; stroke: var(--lavender); fill: none; flex-shrink: 0; }
.contact-widget__cta {
  display: block;
  text-align: center;
  padding: 0.65rem 1rem;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: white;
  border-radius: 7px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: opacity 0.2s;
}
.contact-widget__cta:hover { opacity: 0.88; }
.contact-widget__toggle {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1.4rem;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: white;
  border: none;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(27,42,123,0.38);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.contact-widget__toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(27,42,123,0.48);
}
.contact-widget__toggle svg { width: 17px; height: 17px; stroke: white; fill: none; transition: transform 0.3s ease; }
.contact-widget.open .contact-widget__toggle svg { transform: rotate(45deg); }

/* ── Animations ──────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-up:nth-child(2) { transition-delay: 0.10s; }
.fade-up:nth-child(3) { transition-delay: 0.20s; }
.fade-up:nth-child(4) { transition-delay: 0.30s; }

/* ── Cookie Banner ───────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--navy-dark);
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner p { color: rgba(255,255,255,0.72); font-size: 0.875rem; margin: 0; }
.cookie-banner a { color: var(--lav-light); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 0.75rem; flex-shrink: 0; }

/* ── Process (Cómo trabajamos) ───────────────────────────────── */
.process { padding: 6rem 0; background: var(--off-white); }
.process__header { text-align: center; max-width: 600px; margin: 0 auto 4rem; }
.process__header h2 { margin-bottom: 1rem; }
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process__steps::before {
  content: '';
  position: absolute;
  top: 2.25rem;
  left: calc(12.5% + 1rem);
  right: calc(12.5% + 1rem);
  height: 2px;
  background: linear-gradient(90deg, var(--lavender), var(--navy));
  opacity: 0.25;
}
.process__step {
  text-align: center;
  padding: 0 1.5rem;
  position: relative;
}
.process__step-num {
  width: 4.5rem; height: 4.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: white;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 6px 24px rgba(27,42,123,0.22);
}
.process__step h4 { color: var(--navy-dark); margin-bottom: 0.5rem; font-size: 1rem; }
.process__step p { font-size: 0.875rem; color: var(--text-light); }

/* ── FAQ Accordion ───────────────────────────────────────────── */
.faq { padding: 6rem 0; }
.faq__header { text-align: center; max-width: 600px; margin: 0 auto 3.5rem; }
.faq__header h2 { margin-bottom: 1rem; }
.faq__list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq__item {
  border: 1px solid var(--gray-light);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}
.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--navy-dark);
  gap: 1rem;
  transition: background var(--transition);
}
.faq__question:hover { background: var(--off-white); }
.faq__question svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  stroke: var(--lavender);
  transition: transform 0.3s ease;
}
.faq__item.open .faq__question svg { transform: rotate(180deg); }
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
}
.faq__answer p { font-size: 0.9rem; color: var(--text-light); }
.faq__item.open .faq__answer { max-height: 300px; padding: 0 1.5rem 1.25rem; }

/* ── Mobile call bar ─────────────────────────────────────────── */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 800;
  background: var(--navy-dark);
  padding: 0.9rem 1.5rem;
  gap: 0.75rem;
}
.mobile-call-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
}
.mobile-call-bar__phone { background: var(--navy); color: white; }
.mobile-call-bar__cta { background: white; color: var(--navy-dark); font-weight: 700; }
.mobile-call-bar svg { width: 18px; height: 18px; }
.mobile-call-bar__phone svg { stroke: white; fill: none; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer__nav-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .values__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .navbar__links { display: none; }
  .navbar__toggle { display: flex; }

  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__eyebrow { justify-content: center; }
  .hero__desc { margin: 0 auto 2.5rem; }
  .hero__actions { justify-content: center; }
  .hero__image { display: none; }

  .services-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .values__grid { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: 1fr; }

  .service-block__inner,
  .service-block__inner.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 2.5rem;
  }

  .about-intro__grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-intro__badge { position: static; margin-top: 1rem; }

  .contact-section__grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .footer__nav-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__contact-bar-inner { gap: 1rem; }
  .footer__contact-badge { margin-left: 0; }
  .footer__contact-sep { display: none; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .footer__legal { justify-content: center; }

  .values-list { grid-template-columns: 1fr; }

  .section { padding: 4rem 0; }

  /* Mobile call bar */
  .mobile-call-bar { display: flex; }
  .contact-widget { display: none; }
  body { padding-bottom: 64px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; padding: 1.25rem; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .btn { flex: 1; text-align: center; justify-content: center; }

  /* Process steps */
  .process__steps { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .process__steps::before { display: none; }

  /* Reduce diagonal height on mobile */
  .hero { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 50px), 0 100%); }
  .page-hero {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 0 100%);
    padding-bottom: calc(3.5rem + 40px);
  }
  .cta-banner {
    clip-path: polygon(0 40px, 100% 0, 100% calc(100% - 40px), 0 100%);
    padding: calc(3.5rem + 40px) 0;
  }
  .section--navy {
    clip-path: polygon(0 40px, 100% 0, 100% calc(100% - 40px), 0 100%);
    padding: calc(4rem + 40px) 0;
  }
}

@media (max-width: 480px) {
  .cta-banner__actions,
  .hero__actions { flex-direction: column; align-items: center; }

  .contact-form-box { padding: 2rem 1.5rem; }

  .services-strip__grid { grid-template-columns: 1fr; }
}
