/* ============================================================
   RAYALTEK — Trade, engineered with trust
   Deep Teal + Copper palette · Mobile-first responsive
   WCAG 2.1 AA · GDPR/DPDP-ready · Performance-optimized
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Brand palette — V1.01 refined */
  --teal-900: #062a2c;
  --teal-800: #0a3a3d;
  --teal-700: #0d4549;
  --teal-600: #115257;
  --teal-500: #166469;
  --copper-700: #9a5520;
  --copper-600: #b56828;
  --copper-500: #c47438;
  --copper-400: #d4915c;
  --copper-300: #deaa72;
  --bone: #faf5ec;
  --cream: #ebdcc4;
  --ivory: #ebdcc4;
  --ink: #062a2c;
  --slate: #445558;
  --slate-light: #7a8688;
  --line: rgba(6, 42, 44, 0.08);
  --line-strong: rgba(6, 42, 44, 0.16);
  --success: #3a7d6e;
  --success-light: #5a9d8e;
  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1280px;
  --shadow-sm: 0 1px 2px rgba(6, 42, 44, 0.04), 0 1px 3px rgba(6, 42, 44, 0.06);
  --shadow-md: 0 4px 12px rgba(6, 42, 44, 0.08), 0 2px 4px rgba(6, 42, 44, 0.04);
  --shadow-lg: 0 20px 50px rgba(6, 42, 44, 0.12), 0 4px 12px rgba(6, 42, 44, 0.06);
  --shadow-copper: 0 8px 24px rgba(201, 123, 58, 0.18);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* Reduced motion respect */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Focus visibility for keyboard users (a11y) */
:focus-visible {
  outline: 2px solid var(--copper-500);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ============================================================
   TYPOGRAPHY (mobile-first, scales up)
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: clamp(2.25rem, 6vw, 4.5rem); font-weight: 400; }
h2 { font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 500; }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.875rem); font-weight: 500; }
h4 { font-size: 1.15rem; font-weight: 600; font-family: var(--font-body); letter-spacing: 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper-600);
  display: inline-block;
  margin-bottom: 1rem;
}

.eyebrow.dark { color: var(--copper-400); }

.lede {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.7;
  color: var(--slate);
  max-width: 620px;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) { .container { padding: 0 2rem; } }

section { padding: 3.5rem 0; }
@media (min-width: 768px) { section { padding: 5rem 0; } }
@media (min-width: 1024px) { section { padding: 6rem 0; } }

/* ============================================================
   NAVIGATION (mobile-first)
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 245, 236, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .nav-inner { padding: 1.25rem 2rem; }
}

.logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--teal-900);
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal-800);
  position: relative;
  flex-shrink: 0;
}

.logo-mark::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1.5px solid var(--copper-400);
  border-radius: 50%;
}

.logo-mark::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: var(--copper-400);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.logo-dot {
  color: var(--copper-600);
  font-style: italic;
  font-weight: 400;
}

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

.nav-links a {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  transition: color 0.2s ease;
  display: inline-block;
  padding: 0.5rem 0;
}

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

.nav-links a.active { color: var(--teal-700); }

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--copper-500);
}

.nav-cta {
  background: var(--teal-800);
  color: var(--bone) !important;
  padding: 0.7rem 1.4rem !important;
  border-radius: 2px;
  font-size: 0.875rem !important;
  transition: all 0.25s ease;
  border: 1px solid var(--teal-800);
}

.nav-cta:hover {
  background: var(--copper-600) !important;
  border-color: var(--copper-600);
  color: var(--bone) !important;
}

.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: all 0.3s ease;
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bone);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-links.open { max-height: 600px; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 0.875rem 1.25rem;
    width: 100%;
    min-height: 44px;
  }
  .nav-cta { margin: 0.5rem 1.25rem; text-align: center; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.925rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.25s ease;
  min-height: 48px;
  text-align: center;
}

.btn-primary {
  background: var(--copper-600);
  color: var(--bone);
  border-color: var(--copper-600);
}

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

.btn-secondary {
  background: transparent;
  color: var(--bone);
  border-color: rgba(245, 239, 230, 0.4);
}

.btn-secondary:hover {
  border-color: var(--bone);
  background: rgba(245, 239, 230, 0.08);
}

.btn-ghost {
  background: transparent;
  color: var(--teal-800);
  border-color: var(--teal-800);
}

.btn-ghost:hover {
  background: var(--teal-800);
  color: var(--bone);
}

.btn-arrow { transition: transform 0.25s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--teal-900) 0%, var(--teal-700) 100%);
  color: var(--bone);
  padding: 4rem 0 5rem;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) { .hero { padding: 6rem 0 7rem; } }

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 25% 35%, rgba(201, 123, 58, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(22, 100, 105, 0.4) 0%, transparent 50%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 239, 230, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 239, 230, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) { .hero-inner { padding: 0 2rem; } }
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1.2fr 1fr; gap: 4rem; }
}

.hero h1 {
  color: var(--bone);
  font-weight: 500;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s ease backwards;
}

.hero h1 em {
  font-style: italic;
  color: var(--copper-300);
  font-weight: 500;
}

.hero-lede {
  font-size: clamp(1rem, 1.5vw, 1.175rem);
  line-height: 1.7;
  color: rgba(245, 239, 230, 0.82);
  max-width: 580px;
  margin-bottom: 2rem;
  animation: fadeUp 0.8s ease 0.15s backwards;
}

.hero-actions {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease 0.3s backwards;
}

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

/* Hero Verified Junction visual — animated */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 280px;
  animation: fadeUp 0.8s ease 0.45s backwards;
}

@media (max-width: 1023px) {
  .hero-visual { min-height: 240px; max-width: 480px; margin: 0 auto; }
}

.hero-visual svg { width: 100%; max-width: 480px; height: auto; }

/* Animation keyframes */
@keyframes hero-flow-in {
  0% { stroke-dashoffset: 24; opacity: 0; }
  20% { opacity: 0.85; }
  80% { opacity: 0.85; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes hero-flow-out {
  0% { stroke-dashoffset: 0; opacity: 0; }
  20% { opacity: 0.85; }
  80% { opacity: 0.85; }
  100% { stroke-dashoffset: -24; opacity: 0; }
}
@keyframes hero-ring-expand {
  0% { r: 32; opacity: 0; }
  50% { opacity: 0.5; }
  100% { r: 56; opacity: 0; }
}
@keyframes hero-hub-breathe {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.88; }
}
@keyframes hero-tick-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes hero-node-pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* Trace lines — supply (in) and deliver (out) */
.hero-trace-in-1  { animation: hero-flow-in 3s linear infinite; }
.hero-trace-in-2  { animation: hero-flow-in 3s linear infinite; animation-delay: 1s; }
.hero-trace-out-1 { animation: hero-flow-out 3s linear infinite; animation-delay: 0.5s; }
.hero-trace-out-2 { animation: hero-flow-out 3s linear infinite; animation-delay: 1.5s; }

/* Verification rings expanding from hub */
.hero-ring   { opacity: 0; }
.hero-ring-1 { animation: hero-ring-expand 4s ease-out infinite; }
.hero-ring-2 { animation: hero-ring-expand 4s ease-out infinite; animation-delay: 1.3s; }
.hero-ring-3 { animation: hero-ring-expand 4s ease-out infinite; animation-delay: 2.6s; }

/* Hub breathing */
.hero-hub { animation: hero-hub-breathe 5s ease-in-out infinite; }

/* Verification ticks orbiting */
.hero-orbit {
  animation: hero-tick-rotate 30s linear infinite;
  transform-origin: 240px 120px;
}

/* Active deal nodes pulsing */
.hero-pulse-node       { animation: hero-node-pulse 3s ease-in-out infinite; }
.hero-pulse-delay-1    { animation-delay: 1s; }
.hero-pulse-delay-2    { animation-delay: 0.5s; }
.hero-pulse-delay-3    { animation-delay: 1.5s; }

/* Honor reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .hero-trace-in-1, .hero-trace-in-2, .hero-trace-out-1, .hero-trace-out-2,
  .hero-ring-1, .hero-ring-2, .hero-ring-3,
  .hero-hub, .hero-orbit, .hero-pulse-node {
    animation: none !important;
  }
  .hero-trace-in-1, .hero-trace-in-2, .hero-trace-out-1, .hero-trace-out-2 {
    opacity: 0.5;
    stroke-dashoffset: 0;
  }
}

/* ============================================================
   THE LOOP — How Rayaltek Works (signature framework)
   ============================================================ */
.loop-section {
  background: var(--cream);
  position: relative;
}

.loop-wrap {
  max-width: 1080px;
  margin: 3rem auto 0;
  position: relative;
}

/* Sequential Path — desktop horizontal, mobile vertical */
.loop-path {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  margin-top: 1rem;
}

.loop-stage {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem 0.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  font-family: var(--font-body);
  transition: all 0.25s ease;
  min-height: 200px;
}

/* Connecting line between stages */
.loop-stage:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 30px;
  left: calc(50% + 30px);
  right: calc(-50% + 30px);
  height: 1.5px;
  background: repeating-linear-gradient(to right, var(--copper-600) 0 6px, transparent 6px 12px);
  opacity: 0.5;
  z-index: 1;
}

.loop-stage-num {
  width: 60px;
  height: 60px;
  background: var(--teal-900);
  border: 1.5px solid var(--copper-400);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--copper-300);
  font-style: italic;
  position: relative;
  z-index: 2;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.loop-stage:hover .loop-stage-num,
.loop-stage.active .loop-stage-num {
  background: var(--copper-600);
  border-color: var(--copper-300);
  color: var(--bone);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(181, 104, 40, 0.25);
}

.loop-stage-step {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin-bottom: 0.4rem;
}

.loop-stage-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.loop-stage-detail {
  font-size: 0.825rem;
  color: var(--slate);
  line-height: 1.45;
  max-width: 150px;
}

/* Detail panel — copper accent */
.loop-detail {
  margin-top: 2.5rem;
  background: var(--bone);
  border: 1px solid var(--line);
  border-left: 3px solid var(--copper-500);
  padding: 1.75rem 2rem;
  border-radius: 0 4px 4px 0;
  min-height: 140px;
  transition: all 0.3s ease;
}

.loop-detail h4 {
  color: var(--copper-700);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  font-style: italic;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.loop-detail p {
  color: var(--slate);
  line-height: 1.7;
  font-size: 1rem;
}

/* Mobile — stack vertically */
@media (max-width: 767px) {
  .loop-path {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .loop-stage {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 1rem;
    padding: 0.75rem;
    min-height: auto;
    background: var(--bone);
    border: 1px solid var(--line);
    border-left: 3px solid var(--copper-400);
    border-radius: 0 4px 4px 0;
  }
  .loop-stage:not(:last-child)::after {
    display: none;
  }
  .loop-stage-num {
    width: 44px;
    height: 44px;
    font-size: 1rem;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .loop-stage-step {
    font-size: 0.6rem;
    margin-bottom: 0.15rem;
  }
  .loop-stage-name {
    font-size: 1.05rem;
    margin-bottom: 0.15rem;
  }
  .loop-stage-detail {
    font-size: 0.8rem;
    max-width: none;
  }
  .loop-stage > div {
    flex: 1;
  }
  .loop-stage.active {
    border-left-color: var(--copper-600);
    background: var(--cream);
  }
  .loop-detail {
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .loop-stage, .loop-stage-num { transition: none !important; }
  .loop-stage:hover .loop-stage-num,
  .loop-stage.active .loop-stage-num { transform: none !important; }
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.section-head {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) { .section-head { margin-bottom: 3.5rem; } }

.section-head.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

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

@media (min-width: 600px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

.service-card {
  background: var(--bone);
  border: 1px solid var(--line);
  padding: 2rem 1.75rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .service-card { padding: 2.25rem 2rem; }
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--copper-500);
  transition: width 0.4s ease;
}

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

.service-card:hover::before { width: 100%; }

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--teal-800);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--copper-400);
}

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

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.service-card p {
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ============================================================
   SECTORS GRID — Active / Available
   ============================================================ */
.sectors-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  overflow: hidden;
}

@media (min-width: 600px) { .sectors-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sectors-grid { grid-template-columns: repeat(3, 1fr); } }

.sector-card {
  background: var(--bone);
  padding: 1.75rem 1.5rem;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

@media (min-width: 768px) { .sector-card { padding: 2rem 1.75rem; } }

.sector-card.is-active {
  background: linear-gradient(180deg, var(--bone) 0%, var(--cream) 100%);
}

.sector-card a.sector-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.sector-card.is-active:hover {
  background: linear-gradient(180deg, var(--cream) 0%, var(--ivory) 100%);
}

.sector-card.is-available:hover {
  background: var(--cream);
}

.sector-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  align-self: flex-start;
}

.sector-status.active {
  background: var(--success);
  color: var(--bone);
}

.sector-status.available {
  background: transparent;
  color: var(--slate-light);
  border: 1px solid var(--line-strong);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.sector-status.active .status-dot {
  background: var(--bone);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.sector-card h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.sector-card p {
  color: var(--slate);
  font-size: 0.875rem;
  line-height: 1.55;
  flex-grow: 1;
}

.sector-card-cta {
  margin-top: 1rem;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--copper-700);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.sector-card.is-available .sector-card-cta {
  color: var(--slate-light);
}

.sectors-footnote {
  text-align: center;
  margin-top: 2rem;
  color: var(--slate);
  font-size: 0.9rem;
  font-style: italic;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   SECTORS INDEX — redesigned cards (V1.01)
   ============================================================ */
.sectors-active-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .sectors-active-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

.sector-active-card {
  background: var(--bone);
  border: 1px solid var(--line);
  border-left: 3px solid var(--success);
  border-radius: 0 8px 8px 0;
  padding: 1.75rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .sector-active-card { padding: 2rem 1.75rem 1.75rem; }
}

.sector-active-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.5rem;
}

.sector-tag {
  font-size: 0.875rem;
  color: var(--slate);
  margin: 0 0 1.25rem;
  line-height: 1.55;
}

.sector-products {
  margin-bottom: 1.25rem;
}

.sector-products-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
  font-size: 0.875rem;
  line-height: 1.55;
  align-items: baseline;
}

.sector-products-label {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--copper-700);
  flex-shrink: 0;
  width: 92px;
  font-size: 0.9rem;
}

.sector-products-list {
  color: var(--ink);
  flex: 1;
  font-size: 0.825rem;
  line-height: 1.55;
}

.sector-meta {
  background: rgba(6, 42, 44, 0.04);
  border-radius: 4px;
  padding: 0.875rem 1rem;
  margin-bottom: 1.25rem;
}

.sector-meta-row {
  display: flex;
  gap: 0.625rem;
  font-size: 0.78rem;
  color: var(--slate);
  line-height: 1.55;
  align-items: baseline;
}

.sector-meta-row + .sector-meta-row {
  margin-top: 0.4rem;
}

.sector-meta-label {
  font-weight: 600;
  color: var(--ink);
  flex-shrink: 0;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  width: 78px;
  padding-top: 1px;
}

.sector-meta-value {
  flex: 1;
  font-size: 0.8rem;
  line-height: 1.55;
}

.sector-card-actions {
  display: flex;
  gap: 0.625rem;
  margin-top: auto;
  flex-wrap: wrap;
}

.sector-card-actions .btn {
  flex: 1;
  min-width: 140px;
  padding: 0.75rem 1rem;
  font-size: 0.825rem;
  min-height: 44px;
}

/* Available cards — lighter weight */
.sectors-available-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 600px) {
  .sectors-available-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
}

.sector-available-card {
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.5rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.sector-available-card:hover {
  border-color: var(--line-strong);
  background: var(--cream);
}

.sector-available-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.5rem;
}

.sector-available-card p {
  color: var(--slate);
  font-size: 0.825rem;
  line-height: 1.55;
  margin: 0 0 1rem;
}

.sector-available-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--copper-700);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: auto;
  transition: color 0.2s ease;
}

.sector-available-link:hover { color: var(--copper-600); }

@media (max-width: 600px) {
  .sector-products-row, .sector-meta-row {
    flex-direction: column;
    gap: 0.2rem;
  }
  .sector-products-label, .sector-meta-label {
    width: auto;
  }
  .sector-card-actions { flex-direction: column; }
  .sector-card-actions .btn { width: 100%; }
}

/* ============================================================
   COMPLIANCE WALL
   ============================================================ */
.compliance-wrap {
  background: var(--teal-900);
  color: var(--bone);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) { .compliance-wrap { padding: 5rem 0; } }

.compliance-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(ellipse at top right, rgba(201, 123, 58, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.compliance-inner {
  position: relative;
}

.compliance-inner h2 { color: var(--bone); }

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(245, 239, 230, 0.1);
  border: 1px solid rgba(245, 239, 230, 0.1);
  border-radius: 4px;
  margin-top: 2.5rem;
  overflow: hidden;
}

@media (min-width: 600px) { .compliance-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .compliance-grid { grid-template-columns: repeat(4, 1fr); } }

.compliance-item {
  background: var(--teal-900);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: background 0.3s ease;
}

.compliance-item:hover { background: var(--teal-800); }

.compliance-code {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--copper-300);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
  display: block;
}

.compliance-label {
  font-size: 0.75rem;
  color: rgba(245, 239, 230, 0.7);
  letter-spacing: 0.04em;
  line-height: 1.4;
  display: block;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--teal-800);
  color: var(--bone);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) { .cta-band { padding: 5rem 0; } }

.cta-band::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 123, 58, 0.18) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .cta-inner { grid-template-columns: 1.5fr 1fr; gap: 3rem; }
}

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

.cta-band p {
  color: rgba(245, 239, 230, 0.82);
  font-size: 1.05rem;
  max-width: 500px;
}

.cta-actions {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .cta-actions { justify-content: stretch; }
  .cta-actions .btn { flex: 1; }
}

/* ============================================================
   FORM
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 1.3fr; gap: 4rem; }
}

.contact-info h3 { font-size: 1.4rem; margin-bottom: 1rem; }
.contact-info p { color: var(--slate); margin-bottom: 2rem; line-height: 1.7; }

.contact-meta { display: grid; gap: 1.25rem; }

.contact-meta-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 1rem;
  align-items: start;
}

.contact-meta-icon {
  width: 36px;
  height: 36px;
  background: var(--teal-800);
  color: var(--copper-400);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  flex-shrink: 0;
}

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

.contact-meta-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.contact-meta-value {
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.5;
}

.contact-meta-value a { color: var(--copper-700); }
.contact-meta-value a:hover { color: var(--copper-600); }

.form {
  background: var(--bone);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 4px;
}

@media (min-width: 768px) { .form { padding: 2.5rem; } }

.form h3 { margin-bottom: 0.5rem; font-size: 1.4rem; }

.form-intro {
  color: var(--slate);
  margin-bottom: 1.75rem;
  font-size: 0.925rem;
  line-height: 1.6;
}

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

.form-group label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group label .required { color: var(--copper-700); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--bone);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  transition: all 0.2s ease;
  min-height: 48px;
}

.form-group textarea { min-height: 120px; resize: vertical; line-height: 1.5; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal-700);
  box-shadow: 0 0 0 3px rgba(13, 69, 73, 0.08);
}

.form-status {
  margin-top: 1rem;
  padding: 0.875rem 1rem;
  border-radius: 2px;
  font-size: 0.9rem;
  display: none;
  line-height: 1.5;
}

.form-status.success {
  display: block;
  background: rgba(201, 123, 58, 0.1);
  border: 1px solid var(--copper-500);
  color: var(--teal-900);
}

.form-status.error {
  display: block;
  background: rgba(168, 96, 42, 0.08);
  border: 1px solid var(--copper-700);
  color: var(--copper-700);
}

.form-fineprint {
  font-size: 0.78rem;
  color: var(--slate-light);
  margin-top: 1rem;
  line-height: 1.55;
  text-align: center;
}

.form-fineprint a { color: var(--copper-700); text-decoration: underline; }

/* Honeypot — invisible to humans, traps bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ============================================================
   PAGE HEADER (interior pages)
   ============================================================ */
.page-header {
  background: linear-gradient(135deg, var(--teal-900) 0%, var(--teal-700) 100%);
  color: var(--bone);
  padding: 2.75rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) { .page-header { padding: 3.5rem 0 3rem; } }

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 239, 230, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 239, 230, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-header-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) { .page-header-inner { padding: 0 2rem; } }

.page-header h1 { color: var(--bone); font-weight: 500; margin-bottom: 1rem; max-width: 800px; }
.page-header h1 em { color: var(--copper-300); font-style: italic; font-weight: 500; }

.page-header p {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: rgba(245, 239, 230, 0.82);
  max-width: 640px;
  line-height: 1.7;
}

.breadcrumb {
  font-size: 0.825rem;
  color: rgba(245, 239, 230, 0.6);
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
}

.breadcrumb a { color: var(--copper-300); }
.breadcrumb a:hover { color: var(--copper-400); }

/* ============================================================
   FEATURE BLOCKS / VALUE BLOCKS
   ============================================================ */
.value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) { .value-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }

.value-item { border-top: 2px solid var(--teal-800); padding-top: 1.5rem; }
.value-item h3 { font-size: 1.3rem; margin-bottom: 0.75rem; }
.value-item p { color: var(--slate); font-size: 0.95rem; line-height: 1.7; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--teal-900);
  color: rgba(245, 239, 230, 0.72);
  padding: 3.5rem 0 1.75rem;
}

@media (min-width: 768px) { footer { padding: 4.5rem 0 2rem; } }

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

@media (min-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; } }

.footer-brand .logo { color: var(--bone); margin-bottom: 1.25rem; }
.footer-brand .logo-mark { background: var(--bone); }
.footer-brand .logo-mark::before { border-color: var(--teal-900); }
.footer-brand .logo-mark::after { background: var(--teal-900); }

.footer-brand p {
  font-size: 0.925rem;
  line-height: 1.7;
  max-width: 320px;
  margin-bottom: 1.5rem;
}

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone);
  margin-bottom: 1.1rem;
  font-weight: 600;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }

.footer-col a {
  font-size: 0.925rem;
  transition: color 0.2s ease;
  display: inline-block;
  padding: 0.15rem 0;
}

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

.footer-bottom {
  border-top: 1px solid rgba(245, 239, 230, 0.1);
  padding-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.825rem;
}

@media (min-width: 600px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

.footer-legal { display: flex; gap: 1.25rem; flex-wrap: wrap; }

.footer-cin {
  font-size: 0.78rem;
  color: rgba(245, 239, 230, 0.5);
  letter-spacing: 0.02em;
  margin-top: 0.5rem;
}

.social-links { display: flex; gap: 0.75rem; }

.social-links a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(245, 239, 230, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.social-links a:hover {
  background: var(--copper-600);
  border-color: var(--copper-600);
  color: var(--bone);
}

.social-links svg { width: 16px; height: 16px; }

/* ============================================================
   FLOATING WHATSAPP BUTTON
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 56px;
  height: 56px;
  background: var(--whatsapp);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 2px 6px rgba(0, 0, 0, 0.15);
  z-index: 99;
  transition: all 0.25s ease;
  text-decoration: none;
  cursor: pointer;
}

.wa-float:hover {
  background: var(--whatsapp-dark);
  transform: scale(1.06);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5);
}

.wa-float svg { width: 28px; height: 28px; }

.wa-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--whatsapp);
  opacity: 0.6;
  animation: wa-pulse 2.4s infinite;
}

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.4); opacity: 0; }
}

@media (min-width: 768px) {
  .wa-float { bottom: 1.75rem; right: 1.75rem; width: 60px; height: 60px; }
  .wa-float svg { width: 30px; height: 30px; }
}

/* WhatsApp tooltip on desktop */
.wa-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--teal-900);
  color: var(--bone);
  font-size: 0.825rem;
  font-weight: 500;
  padding: 0.5rem 0.875rem;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.wa-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--teal-900);
}

@media (min-width: 1024px) {
  .wa-float:hover .wa-tooltip { opacity: 1; }
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--teal-900);
  color: var(--bone);
  padding: 1rem 1.25rem;
  z-index: 98;
  border-top: 1px solid var(--copper-600);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.15);
}

.cookie-banner.show { transform: translateY(0); }

.cookie-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

@media (min-width: 768px) {
  .cookie-banner { padding: 1.25rem 2rem; }
  .cookie-inner { flex-direction: row; justify-content: space-between; gap: 1.5rem; }
}

.cookie-text {
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(245, 239, 230, 0.85);
}

.cookie-text a { color: var(--copper-300); text-decoration: underline; }

.cookie-actions { display: flex; gap: 0.5rem; flex-shrink: 0; }

.cookie-btn {
  background: var(--copper-600);
  color: var(--bone);
  border: 1px solid var(--copper-600);
  padding: 0.5rem 1rem;
  font-size: 0.825rem;
  font-weight: 500;
  border-radius: 2px;
  cursor: pointer;
  min-height: 40px;
  transition: all 0.2s ease;
}

.cookie-btn:hover { background: var(--copper-700); border-color: var(--copper-700); }

.cookie-btn.secondary {
  background: transparent;
  border-color: rgba(245, 239, 230, 0.3);
  color: rgba(245, 239, 230, 0.85);
}

.cookie-btn.secondary:hover {
  border-color: var(--bone);
  color: var(--bone);
}

/* ============================================================
   PRODUCT LIST (sector pages)
   ============================================================ */
.product-block {
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) { .product-block { padding: 2rem; } }

.product-block h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--copper-700);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.product-block p { color: var(--slate); font-size: 0.95rem; line-height: 1.7; }

.product-block .product-tags {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.product-tag {
  font-size: 0.78rem;
  color: var(--teal-700);
  background: var(--cream);
  padding: 0.25rem 0.6rem;
  border-radius: 12px;
  border: 1px solid var(--line);
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }

/* No-JS fallback */
.no-js .reveal { opacity: 1 !important; transform: none !important; }

/* Print styles */
@media print {
  .nav, .wa-float, .cookie-banner, .cta-band { display: none !important; }
  body { background: white; color: black; }
  a { color: black; text-decoration: underline; }
}
