:root {
  --ink: #0f1f2e;
  --ink-soft: #2a3a4a;
  --paper: #f5efe6;
  --paper-warm: #ede4d3;
  --cream: #faf6ef;
  --terracotta: #c4583a;
  --terracotta-deep: #a04428;
  --olive: #6b7d4a;
  --gold: #c89b3c;
  --line: rgba(15, 31, 46, 0.12);
  --shadow: rgba(15, 31, 46, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.serif { font-family: 'Fraunces', serif; }

/* ============ NAV ============ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2.5rem;
  background: rgba(250, 246, 239, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terracotta);
  display: inline-block;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  list-style: none;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--terracotta); }

.lang-toggle {
  display: flex;
  gap: 0.3rem;
  font-size: 0.85rem;
  align-items: center;
  font-weight: 500;
}

.lang-toggle a {
  color: var(--ink-soft);
  text-decoration: none;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  transition: all 0.2s;
}

.lang-toggle .active {
  background: var(--ink);
  color: var(--cream);
}

.nav-cta {
  background: var(--ink);
  color: var(--cream) !important;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem !important;
  transition: all 0.2s;
}

.nav-cta:hover {
  background: var(--terracotta);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 880px) {
  nav { padding: 1rem 1.25rem; }
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--cream);
    padding: 1.5rem;
    border-bottom: 1px solid var(--line);
    gap: 1.25rem;
  }
}

/* ============ HERO ============ */
.hero {
  padding: 10rem 2.5rem 6rem;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--terracotta-deep);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.1s forwards;
}

.hero-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--terracotta);
}

h1 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(2.8rem, 6.5vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 2rem;
  max-width: 17ch;
  opacity: 0;
  animation: fadeUp 0.9s 0.25s forwards;
}

h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--terracotta);
}

.hero-sub {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  color: var(--ink-soft);
  max-width: 58ch;
  line-height: 1.55;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.4s forwards;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s 0.55s forwards;
}

.btn-primary {
  background: var(--ink);
  color: var(--cream);
  padding: 1rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  border: 1px solid var(--ink);
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(196, 88, 58, 0.25);
}

.btn-primary svg { transition: transform 0.3s; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding: 1rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  border: 1px solid var(--line);
  transition: all 0.2s;
  cursor: pointer;
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--paper);
}

.hero-mark {
  position: absolute;
  right: -50px;
  top: 8rem;
  width: 320px;
  height: 320px;
  opacity: 0.6;
  z-index: -1;
  animation: rotate 60s linear infinite;
}

@media (max-width: 980px) {
  .hero { padding: 8rem 1.5rem 4rem; }
  .hero-mark { display: none; }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ MARQUEE ============ */
.marquee {
  background: var(--ink);
  color: var(--paper);
  padding: 1.5rem 0;
  overflow: hidden;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.marquee-track {
  display: flex;
  gap: 4rem;
  animation: scroll 35s linear infinite;
  white-space: nowrap;
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 300;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 4rem;
}

.marquee-track .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
  display: inline-block;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ GENERIC SECTION STYLES ============ */
.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--terracotta-deep);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--terracotta);
}

h2 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  max-width: 20ch;
}

h2 em {
  font-style: italic;
  color: var(--terracotta);
  font-weight: 300;
}

/* ============ PROBLEM SECTION ============ */
.problem {
  padding: 8rem 2.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  margin-top: 4rem;
}

@media (max-width: 880px) {
  .problem { padding: 5rem 1.5rem; }
  .problem-grid { grid-template-columns: 1fr; gap: 3rem; }
}

.problem-list {
  list-style: none;
}

.problem-list li {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.problem-list li:last-child { border-bottom: none; }

.problem-list .check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--paper-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  color: var(--terracotta-deep);
  font-weight: 600;
}

.problem-text p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

.problem-text p strong {
  color: var(--ink);
  font-weight: 600;
}

.quote-block {
  margin-top: 2rem;
  padding: 2rem;
  background: var(--paper);
  border-left: 3px solid var(--terracotta);
  border-radius: 4px;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--ink);
}

/* ============ SECTORS ============ */
.sectors {
  padding: 8rem 2.5rem;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sectors-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.sectors-header {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 5rem;
}

@media (max-width: 880px) {
  .sectors { padding: 5rem 1.5rem; }
  .sectors-header { grid-template-columns: 1fr; gap: 1.5rem; }
}

.sectors-header p {
  font-size: 1.1rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

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

@media (max-width: 980px) {
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .sector-grid { grid-template-columns: 1fr; }
}

.sector-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.sector-card:hover {
  transform: translateY(-4px);
  border-color: var(--terracotta);
  box-shadow: 0 14px 40px rgba(15, 31, 46, 0.08);
}

.sector-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--paper-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--terracotta-deep);
}

.sector-card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.sector-card p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.55;
}

.sector-arrow {
  margin-top: auto;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--terracotta-deep);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s;
}

.sector-card:hover .sector-arrow { gap: 0.9rem; }

/* ============ PROCESS ============ */
.process {
  padding: 8rem 2.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

@media (max-width: 980px) {
  .process { padding: 5rem 1.5rem; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
}

@media (max-width: 560px) {
  .process-grid { grid-template-columns: 1fr; }
}

.step-number {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 3.5rem;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.step-number small {
  font-size: 1rem;
  color: var(--ink-soft);
  font-style: italic;
}

.step h4 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.step p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.6;
}

.step-price {
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--olive);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============ SERVICES ============ */
.services {
  padding: 8rem 2.5rem;
  background: var(--ink);
  color: var(--paper);
}

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

.services .section-label { color: var(--gold); }
.services .section-label::before { background: var(--gold); }
.services h2 { color: var(--paper); }
.services h2 em { color: var(--gold); }

.services-intro {
  max-width: 60ch;
  font-size: 1.15rem;
  color: rgba(245, 239, 230, 0.75);
  line-height: 1.6;
  margin-bottom: 4rem;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid rgba(245, 239, 230, 0.15);
}

@media (max-width: 880px) {
  .services { padding: 5rem 1.5rem; }
  .service-list { grid-template-columns: 1fr; }
}

.service-item {
  padding: 2.5rem 2rem 2.5rem 0;
  border-bottom: 1px solid rgba(245, 239, 230, 0.15);
  position: relative;
}

@media (min-width: 881px) {
  .service-item:nth-child(odd) {
    border-right: 1px solid rgba(245, 239, 230, 0.15);
    padding-right: 3rem;
  }
  .service-item:nth-child(even) {
    padding-left: 3rem;
    padding-right: 0;
  }
}

.service-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}

.service-item h4 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.5rem;
  margin-bottom: 0.85rem;
  letter-spacing: -0.015em;
  color: var(--paper);
}

.service-item p {
  color: rgba(245, 239, 230, 0.7);
  font-size: 1rem;
  line-height: 1.6;
}

/* ============ ABOUT ============ */
.about {
  padding: 8rem 2.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

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

@media (max-width: 880px) {
  .about { padding: 5rem 1.5rem; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
}

.about-portrait {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--paper-warm) 0%, var(--paper) 100%);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-portrait::before {
  content: '';
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(196, 88, 58, 0.2);
  border-radius: 4px;
}

.portrait-placeholder {
  text-align: center;
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--ink-soft);
  padding: 2rem;
  font-size: 0.95rem;
}

.portrait-placeholder span {
  display: block;
  font-size: 4rem;
  font-style: normal;
  color: var(--terracotta);
  margin-bottom: 1rem;
  line-height: 1;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.about-text p:first-of-type {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 1.75rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.stat-num {
  font-family: 'Fraunces', serif;
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* ============ FINAL CTA ============ */
.final-cta {
  padding: 8rem 2.5rem;
  background: var(--paper);
  border-top: 1px solid var(--line);
  text-align: center;
}

.final-cta-inner {
  max-width: 720px;
  margin: 0 auto;
}

.final-cta h2 {
  margin: 0 auto 1.5rem;
  max-width: none;
}

.final-cta-sub {
  font-size: 1.2rem;
  color: var(--ink-soft);
  margin-bottom: 3rem;
  line-height: 1.55;
}

.cta-options {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.cta-fine {
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* ============ FOOTER ============ */
footer {
  background: var(--ink);
  color: var(--paper);
  padding: 5rem 2.5rem 2rem;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

@media (max-width: 880px) {
  footer { padding: 4rem 1.5rem 2rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
}

.footer-brand .logo {
  color: var(--paper);
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(245, 239, 230, 0.7);
  line-height: 1.5;
  max-width: 30ch;
}

.footer-col h5 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
  color: var(--gold);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  color: rgba(245, 239, 230, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--gold); }

.locations {
  border-top: 1px solid rgba(245, 239, 230, 0.15);
  border-bottom: 1px solid rgba(245, 239, 230, 0.15);
  padding: 2.5rem 0;
  margin-bottom: 2rem;
}

.locations-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.locations-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.95rem;
  color: rgba(245, 239, 230, 0.65);
  font-family: 'Fraunces', serif;
  font-style: italic;
}

.locations-list span {
  position: relative;
}

.locations-list span:not(:last-child)::after {
  content: '·';
  margin-left: 1.5rem;
  color: var(--terracotta);
  font-style: normal;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(245, 239, 230, 0.5);
}

.footer-bottom a {
  color: rgba(245, 239, 230, 0.5);
  text-decoration: none;
  margin-left: 1.5rem;
  transition: color 0.2s;
}

.footer-bottom a:hover { color: var(--gold); }

/* ============ SECTOR PAGE SPECIFIC ============ */
.sector-hero {
  padding: 10rem 2.5rem 5rem;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

.breadcrumb a {
  color: var(--terracotta-deep);
  text-decoration: none;
}

.breadcrumb a:hover { text-decoration: underline; }

.breadcrumb span {
  margin: 0 0.5rem;
  color: var(--line);
}

.sector-hero h1 {
  max-width: 22ch;
}

.day-in-life {
  padding: 6rem 2.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.day-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  margin-top: 3rem;
}

@media (max-width: 880px) {
  .day-in-life { padding: 4rem 1.5rem; }
  .day-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .sector-hero { padding: 8rem 1.5rem 4rem; }
}

.day-task {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.day-task:last-child { border-bottom: none; }

.day-task-time {
  flex-shrink: 0;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--terracotta);
  width: 60px;
}

.day-task-text {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.day-task-text strong {
  color: var(--ink);
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

/* Solutions list for sector pages */
.solutions {
  padding: 8rem 2.5rem;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.solutions-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.solutions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 4rem;
}

@media (max-width: 880px) {
  .solutions { padding: 5rem 1.5rem; }
  .solutions-grid { grid-template-columns: 1fr; }
}

.solution-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2.5rem;
  transition: all 0.3s;
}

.solution-card:hover {
  border-color: var(--terracotta);
  box-shadow: 0 14px 40px rgba(15, 31, 46, 0.06);
  transform: translateY(-2px);
}

.solution-card h4 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  letter-spacing: -0.015em;
}

.solution-card p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.solution-impact {
  font-size: 0.85rem;
  color: var(--olive);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.solution-impact::before {
  content: '→';
  color: var(--terracotta);
}

/* Decorative grain texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.015;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ SECTOR HERO TAGLINE (menoslio) ============ */
.sector-hero-tagline {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 400;
  color: var(--terracotta);
  margin: 0 0 1.5rem 0;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* ============ WHATSAPP FLOATING WIDGET ============ */
/* Floating button - branded terracotta version */
.wa-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  background: var(--terracotta);
  color: var(--cream);
  border: none;
  width: auto;
  min-width: 56px;
  height: 56px;
  border-radius: 999px;
  padding: 0 1.25rem 0 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: 0 8px 32px rgba(196, 88, 58, 0.35), 0 2px 8px rgba(15, 31, 46, 0.15);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}
.wa-fab.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.wa-fab:hover {
  background: var(--terracotta-deep);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(196, 88, 58, 0.45), 0 4px 12px rgba(15, 31, 46, 0.2);
}
.wa-fab svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.wa-fab-label {
  white-space: nowrap;
}
@media (max-width: 640px) {
  .wa-fab {
    bottom: 1rem;
    right: 1rem;
    min-width: 52px;
    height: 52px;
    padding: 0 1rem 0 0.9rem;
    font-size: 0.9rem;
  }
}

/* Modal backdrop */
.wa-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 31, 46, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.wa-modal-backdrop.active {
  display: flex;
  opacity: 1;
}

/* Modal card */
.wa-modal {
  background: var(--cream);
  border-radius: 14px;
  padding: 2.25rem 2rem 1.75rem;
  max-width: 460px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(15, 31, 46, 0.25);
  position: relative;
  transform: translateY(16px);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  max-height: 90vh;
  overflow-y: auto;
}
.wa-modal-backdrop.active .wa-modal {
  transform: translateY(0);
}
.wa-modal h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--ink);
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.wa-modal p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.55;
  margin: 0 0 1.25rem 0;
}
.wa-modal-fields {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.wa-modal-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.wa-modal-field label {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.wa-modal-field input,
.wa-modal-field select,
.wa-modal-field textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.2s;
}
.wa-modal-field input:focus,
.wa-modal-field select:focus,
.wa-modal-field textarea:focus {
  outline: none;
  border-color: var(--terracotta);
}
.wa-modal-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.wa-modal-btn-primary {
  background: var(--ink);
  color: var(--cream);
  border: none;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  flex: 1;
  min-width: 180px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s;
}
.wa-modal-btn-primary:hover {
  background: var(--terracotta);
}
.wa-modal-btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.wa-modal-btn-secondary:hover {
  border-color: var(--ink);
  background: var(--paper);
}
.wa-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: transparent;
  border: none;
  color: var(--ink-soft);
  font-size: 1.5rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s;
}
.wa-modal-close:hover {
  background: var(--paper-warm);
}
.wa-modal-privacy {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 1rem;
  line-height: 1.5;
  opacity: 0.85;
}
.wa-modal-privacy a {
  color: var(--terracotta-deep);
  text-decoration: underline;
}

/* ============ WHATSAPP CLASSIC FAB (HIDDEN) ============ */
/* Toggle visibility by changing display:none to display:flex below.
   Used together with .wa-fab is fine but having both visible looks cluttered.
   To enable: change "display: none" to "display: flex" in the rule below. */
.wa-classic {
  display: none;  /* CHANGE TO 'flex' TO ENABLE THE CLASSIC GREEN BUTTON */
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  background: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-classic:hover {
  transform: scale(1.06);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5);
}
.wa-classic svg {
  width: 32px;
  height: 32px;
  fill: white;
}
@media (max-width: 640px) {
  .wa-classic {
    bottom: 1rem;
    right: 1rem;
    width: 54px;
    height: 54px;
  }
  .wa-classic svg { width: 28px; height: 28px; }
}


/* ============ SCROLL-DRIVEN MOTION (OPCIÓN B) ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }
.reveal-delay-6 { transition-delay: 0.48s; }

/* Sector icons - monochrome SVG style instead of emojis */
.sector-icon-svg {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--paper-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta-deep);
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  margin-bottom: 1.25rem;
}
.sector-icon-svg svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sector-card:hover .sector-icon-svg {
  background: var(--terracotta);
  color: var(--cream);
  transform: scale(1.05) rotate(-3deg);
}

/* ============ PROCESS DEMO VISUAL ============ */
.demo {
  padding: 6rem 2.5rem;
  max-width: 1280px;
  margin: 0 auto;
  overflow: hidden;
}
.demo-header {
  text-align: center;
  margin-bottom: 4rem;
}
.demo-header h2 {
  max-width: 22ch;
  margin: 0 auto 1rem;
}
.demo-header p {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 auto;
  line-height: 1.6;
}
.demo-stage {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
  position: relative;
}
@media (max-width: 880px) {
  .demo { padding: 4rem 1.5rem; }
  .demo-stage {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .demo-arrow { transform: rotate(90deg); justify-self: center; }
}

.demo-window {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(15, 31, 46, 0.08);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.demo-window:hover {
  transform: translateY(-4px);
}
.demo-window-bar {
  background: var(--paper-warm);
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.demo-window-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(15, 31, 46, 0.15);
}
.demo-window-title {
  margin-left: 0.5rem;
  font-size: 0.78rem;
  color: var(--ink-soft);
  font-family: 'DM Sans', sans-serif;
}
.demo-window-body {
  padding: 1.25rem;
  min-height: 140px;
}
.demo-label {
  font-size: 0.7rem;
  color: var(--terracotta-deep);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.demo-text {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.demo-text strong {
  color: var(--ink);
}
.demo-flag {
  display: inline-block;
  margin-right: 0.25rem;
  font-size: 0.9rem;
}

.demo-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta);
}
.demo-arrow svg {
  width: 36px;
  height: 36px;
  animation: arrowPulse 2.4s ease-in-out infinite;
}
.demo-arrow:nth-of-type(2) svg { animation-delay: 0.6s; }
@keyframes arrowPulse {
  0%, 100% { transform: translateX(0); opacity: 0.45; }
  50% { transform: translateX(6px); opacity: 1; }
}

.demo-center {
  position: relative;
}
.demo-center .demo-window-body {
  background: linear-gradient(135deg, var(--ink) 0%, #1a2f44 100%);
  color: var(--cream);
}
.demo-center .demo-label {
  color: var(--gold);
}
.demo-center .demo-text {
  color: rgba(245, 239, 230, 0.9);
}
.demo-center .demo-text strong {
  color: var(--cream);
}
.demo-center .demo-window-bar {
  background: var(--ink);
  border-bottom: 1px solid rgba(245, 239, 230, 0.15);
}
.demo-center .demo-window-title {
  color: rgba(245, 239, 230, 0.7);
}
.demo-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  margin-right: 0.4rem;
  animation: pulse 1.4s ease-in-out infinite;
  vertical-align: middle;
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.1); }
}

.stat-num {
  font-variant-numeric: tabular-nums;
}


/* ============ FOOTER LINK BUTTON ============ */
/* Looks like a link in footer but is a button that triggers WhatsApp modal */
.footer-link-button {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  text-align: left;
  display: inline;
  transition: color 0.2s;
}
.footer-link-button:hover {
  color: var(--terracotta);
}

/* Email obfuscated style */
.email-obfuscated {
  font-family: inherit;
  opacity: 0.7;
  font-style: italic;
}

/* SOCIAL PROOF SECTION */
.social-proof {
  padding: 4rem 1.5rem;
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.social-proof-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.proof-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(15, 31, 46, 0.1);
}

.metric {
  text-align: center;
}

.metric-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--terracotta);
  font-family: 'Fraunces', serif;
  margin-bottom: 0.25rem;
}

.metric-label {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.3;
}

.proof-testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.testimonial {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  border-left: 3px solid var(--terracotta);
  box-shadow: 0 2px 12px rgba(15, 31, 46, 0.04);
}

.testimonial-quote {
  font-style: italic;
  color: var(--ink);
  margin: 0 0 1rem 0;
  line-height: 1.6;
  font-size: 0.95rem;
}

.testimonial-author {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 500;
}

.proof-count {
  text-align: center;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.6;
  opacity: 0.8;
}

@media (max-width: 600px) {
  .proof-metrics {
    gap: 1.5rem;
  }
  
  .proof-testimonials {
    grid-template-columns: 1fr;
  }
  
  .metric-number {
    font-size: 1.5rem;
  }
}

/* CASE STUDY SECTION */
.case-study {
  padding: 4rem 1.5rem;
  background: #fff;
  border-top: 1px solid var(--line);
}

.case-study-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.case-study-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2.5rem;
}

.case-study-text h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  color: var(--ink);
  margin: 1.5rem 0 0.75rem 0;
  margin-top: 2rem;
  font-weight: 600;
}

.case-study-text h3:first-child {
  margin-top: 0;
}

.case-study-text p {
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0 0 1rem 0;
}

.case-study-text ul li {
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.result-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: var(--paper-warm);
  border-radius: 10px;
}

.result-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.5rem 0;
}

.result-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--terracotta);
  font-family: 'Fraunces', serif;
  line-height: 1;
}

.result-label {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 0.5rem;
  line-height: 1.3;
  font-weight: 500;
}

.case-study-visual {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.case-study-quote {
  background: var(--paper-warm);
  padding: 2rem;
  border-radius: 10px;
  border-left: 3px solid var(--terracotta);
}

.case-study-quote p {
  margin: 0 0 1rem 0;
  font-style: italic;
  color: var(--ink);
  line-height: 1.7;
  font-size: 0.95rem;
}

.quote-author {
  margin: 0 !important;
  font-style: normal;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 600;
}

.quote-author span {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  margin-top: 0.3rem;
}

.case-study-highlights {
  background: #faf6ef;
  padding: 1.5rem;
  border-radius: 10px;
}

.case-study-highlights h4 {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 800px) {
  .case-study-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .result-box {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .case-study {
    padding: 2rem 1rem;
  }
  
  .result-box {
    gap: 0.75rem;
    padding: 1rem;
  }
  
  .result-number {
    font-size: 1.35rem;
  }
  
  .case-study-quote {
    padding: 1.5rem;
  }
}
