:root {
  --ink: #12151a;
  --ink-soft: #1e2430;
  --paper: #f3f5f8;
  --paper-2: #e8edf3;
  --orange: #ec7000;
  --orange-deep: #d25f00;
  --orange-soft: #ffb06b;
  --muted: #5b6575;
  --line: rgba(18, 21, 26, 0.12);
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(18, 21, 26, 0.16);
  --radius: 18px;
  --container: 1120px;
  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --header-h: 78px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(236, 112, 0, 0.14), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(70, 95, 130, 0.12), transparent 50%),
    linear-gradient(180deg, #f8fafc 0%, var(--paper) 45%, #eef2f7 100%);
  line-height: 1.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
.brand-name,
.footer-name {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  font-weight: 700;
}

h3 {
  font-size: 1.35rem;
  font-weight: 700;
}

p {
  margin: 0;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(248, 250, 252, 0.86);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(20, 17, 15, 0.06);
}

.header-inner {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-mark {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 10px;
  background:
    linear-gradient(145deg, var(--orange) 0%, var(--orange-deep) 70%),
    var(--orange);
  box-shadow: inset 0 -8px 16px rgba(0, 0, 0, 0.18);
  position: relative;
  flex-shrink: 0;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 28% 22% 28% 38%;
  background: var(--white);
  border-radius: 2px 8px 2px 8px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-size: 0.95rem;
  font-weight: 700;
}

.brand-sub {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--orange-deep);
  letter-spacing: -0.02em;
}

.nav-principal {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-principal ul {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.nav-principal a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
  position: relative;
}

.nav-principal a.is-active,
.nav-principal a:hover {
  color: var(--orange-deep);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 253, 249, 0.7);
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(236, 112, 0, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ff7d0d 0%, var(--orange) 100%);
}

.btn-ghost {
  background: rgba(255, 253, 249, 0.12);
  color: var(--white);
  border-color: rgba(255, 253, 249, 0.45);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255, 253, 249, 0.2);
}

.text-link {
  display: inline-flex;
  margin-top: 1.25rem;
  font-weight: 700;
  color: var(--orange-deep);
  border-bottom: 2px solid rgba(200, 90, 0, 0.35);
  padding-bottom: 0.15rem;
}

.text-link:hover {
  border-bottom-color: var(--orange-deep);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: hero-zoom 18s ease-out forwards;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(20, 17, 15, 0.82) 10%, rgba(20, 17, 15, 0.45) 55%, rgba(236, 112, 0, 0.28) 100%),
    linear-gradient(to top, rgba(20, 17, 15, 0.72), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--container));
  margin: 0 auto;
  padding: clamp(3rem, 8vh, 6rem) 0 clamp(3.5rem, 9vh, 7rem);
  max-width: 760px;
  margin-left: max(1.25rem, calc((100% - var(--container)) / 2));
  animation: rise 0.9s ease both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 800;
  color: var(--orange-soft);
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin-top: 1.1rem;
  max-width: 34rem;
  font-size: 1.08rem;
  color: rgba(255, 253, 249, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

/* Sections */
.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 0.85rem;
}

.section-copy,
.page-lead {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-copy-space {
  margin-top: 1rem;
}

.section-head .section-copy {
  margin-top: 0.85rem;
}

.page-lead {
  margin-top: 1rem;
  max-width: 38rem;
}

.page-lead-wide {
  max-width: 46rem;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: end;
}

.page-hero {
  padding: clamp(3rem, 7vw, 5rem) 0 1rem;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: end;
}

.page-hero-media {
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  min-height: 280px;
  box-shadow: var(--shadow);
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pillar {
  padding: 1.75rem 0;
  border-top: 2px solid var(--ink);
}

.pillar-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 1rem;
}

.pillar p {
  margin-top: 0.75rem;
  color: var(--muted);
}

/* Story */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.story-visual {
  border-radius: calc(var(--radius) + 10px);
  overflow: hidden;
  min-height: 360px;
  box-shadow: var(--shadow);
}

.story-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}

.story-copy p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Programs home */
.program-rows {
  display: grid;
  gap: 0.75rem;
}

.program-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.25s ease, color 0.25s ease;
}

.program-row-media {
  width: 96px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.program-row-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.program-row > div:nth-child(2) {
  flex: 1;
  min-width: 0;
}

.program-row:first-child {
  border-top: 1px solid var(--line);
}

.program-row:hover {
  padding-left: 0.5rem;
  color: var(--orange-deep);
}

.program-row p {
  margin-top: 0.4rem;
  color: var(--muted);
}

.program-arrow {
  font-size: 1.5rem;
  color: var(--orange);
  transition: transform 0.25s ease;
}

.program-row:hover .program-arrow {
  transform: translateX(6px);
}

/* Voice / testimonials */
.section-voice {
  background:
    linear-gradient(135deg, rgba(236, 112, 0, 0.12), rgba(70, 95, 130, 0.12)),
    var(--paper-2);
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.testimonial img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial blockquote p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.testimonial footer {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.testimonial cite {
  font-style: normal;
  font-weight: 700;
}

.testimonial span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* CTA */
.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(600px 200px at 100% 0%, rgba(255, 176, 107, 0.28), transparent 50%),
    linear-gradient(135deg, var(--ink) 0%, #243041 100%);
  color: var(--white);
  box-shadow: var(--shadow);
}

.cta-panel p {
  margin-top: 0.7rem;
  color: rgba(255, 253, 249, 0.78);
  max-width: 36rem;
}

/* Values / team / services */
.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.values article {
  padding-top: 1.25rem;
  border-top: 2px solid var(--orange);
}

.values p {
  margin-top: 0.75rem;
  color: var(--muted);
}

.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem 1.5rem;
}

.team-member img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  filter: saturate(0.95) contrast(1.02);
}

.team-member p {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 2rem;
}

.service-item {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.service-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 0.65rem;
}

.service-item p {
  margin-top: 0.7rem;
  color: var(--muted);
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}

.process li {
  counter-increment: step;
  padding-top: 1.25rem;
  border-top: 2px solid var(--ink);
  display: grid;
  gap: 0.55rem;
}

.process li::before {
  content: "0" counter(step);
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--orange);
}

.process span {
  color: var(--muted);
}

/* Programs detail */
.program-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.program-detail-alt {
  background: rgba(255, 253, 249, 0.45);
}

.program-copy > p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.program-media {
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  min-height: 320px;
  box-shadow: var(--shadow);
}

.program-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}

.check-list {
  margin: 1.4rem 0 1.75rem;
  display: grid;
  gap: 0.65rem;
}

.check-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--orange);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-channels {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.25rem;
}

.contact-channels span {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 0.3rem;
}

.contact-channels a {
  font-weight: 600;
  border-bottom: 1px solid transparent;
}

.contact-channels a:hover {
  border-bottom-color: var(--orange-deep);
  color: var(--orange-deep);
}

.contact-form {
  background: rgba(255, 253, 249, 0.72);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 16px 40px rgba(20, 17, 15, 0.06);
}

.form-row {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.form-row.two {
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-row.two > div {
  display: grid;
  gap: 0.45rem;
}

label {
  font-weight: 600;
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(20, 17, 15, 0.16);
  background: var(--white);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  font: inherit;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(236, 112, 0, 0.15);
}

.form-feedback {
  margin-top: 1rem;
  font-weight: 600;
  min-height: 1.4em;
}

.form-feedback.is-success {
  color: #1f6b3a;
}

.form-feedback.is-error {
  color: #9b1c1c;
}

.map-panel {
  min-height: 280px;
  border-radius: calc(var(--radius) + 8px);
  background:
    linear-gradient(135deg, rgba(20, 17, 15, 0.55), rgba(236, 112, 0, 0.35)),
    url("https://images.unsplash.com/photo-1524661135-423995f22d0b?auto=format&fit=crop&w=1600&q=80") center/cover;
  display: grid;
  align-items: end;
  box-shadow: var(--shadow);
}

.map-overlay {
  padding: 1.5rem;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 253, 249, 0.82);
  padding: 3.5rem 0 1.75rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 253, 249, 0.12);
}

.footer-name {
  font-size: 1.35rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-soft);
  margin-bottom: 0.9rem;
}

.site-footer ul {
  display: grid;
  gap: 0.55rem;
}

.site-footer a:hover {
  color: var(--orange-soft);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  font-size: 0.9rem;
}

.footer-note {
  color: rgba(255, 253, 249, 0.55);
}

/* Impact */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.impact-grid article {
  padding-top: 1.25rem;
  border-top: 2px solid var(--orange);
}

.impact-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 0.55rem;
}

.impact-grid p:last-child {
  color: var(--muted);
  font-size: 0.98rem;
}

/* Gallery strip */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.gallery-strip figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 240px;
}

.gallery-strip img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-strip figure:hover img {
  transform: scale(1.05);
}

.gallery-strip figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem;
  color: var(--white);
  font-weight: 700;
  background: linear-gradient(to top, rgba(18, 21, 26, 0.75), transparent);
}

/* Sectors */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.sector-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 0.9rem;
}

.sector-item p {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Inline checks */
.inline-checks {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.55rem;
}

.inline-checks li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.inline-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--orange);
}

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-list details {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--orange);
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin-top: 0.75rem;
  color: var(--muted);
}

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.timeline li {
  padding-top: 1.25rem;
  border-top: 2px solid var(--ink);
}

.timeline-year {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.timeline p {
  margin-top: 0.55rem;
  color: var(--muted);
}

/* Dual / media layouts */
.dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.dual-media {
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  min-height: 320px;
  box-shadow: var(--shadow);
}

.dual-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 340px;
}

.benefit-list {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.15rem;
}

.benefit-list li {
  display: grid;
  gap: 0.3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.benefit-list span {
  color: var(--muted);
}

/* Service blocks */
.service-blocks {
  display: grid;
  gap: 3rem;
}

.service-block {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: center;
}

.service-block-alt {
  direction: rtl;
}

.service-block-alt > * {
  direction: ltr;
}

.service-block-media {
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  min-height: 280px;
  box-shadow: var(--shadow);
}

.service-block-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 300px;
}

.service-block p {
  margin-top: 0.75rem;
  color: var(--muted);
}

/* Compare programs */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.compare-grid article {
  padding-top: 1.25rem;
  border-top: 2px solid var(--orange);
}

.compare-meta {
  margin: 0.55rem 0;
  font-weight: 700;
  color: var(--orange-deep);
  font-size: 0.92rem;
}

.compare-grid p:last-child {
  color: var(--muted);
}

.program-meta {
  margin: 0.75rem 0 1rem;
  font-weight: 700;
  color: var(--orange-deep);
  font-size: 0.95rem;
}

.program-subtitle {
  margin-top: 1.35rem;
  font-size: 1.05rem;
}

.program-subtitle + p {
  margin-top: 0.4rem !important;
}

/* Contact extras */
.form-title {
  margin-bottom: 0.35rem;
}

.form-intro {
  margin-bottom: 1.25rem;
  color: var(--muted);
}

.contact-aside-media {
  margin-top: 1.75rem;
  border-radius: var(--radius);
  overflow: hidden;
}

.contact-aside-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.map-sub {
  margin-top: 0.35rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255, 253, 249, 0.8);
}

.form-check {
  margin: 1.1rem 0 1.35rem;
}

.check-label {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-weight: 500;
  cursor: pointer;
}

.check-label input {
  width: auto;
  margin-top: 0.25rem;
  accent-color: var(--orange);
}

.check-label a {
  color: var(--orange-deep);
  font-weight: 700;
  border-bottom: 1px solid rgba(210, 95, 0, 0.35);
}

.footer-note a {
  color: var(--orange-soft);
}

.footer-note a:hover {
  color: var(--white);
}

/* Legal page */
.legal-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 2.5rem;
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.65);
}

.legal-nav ul {
  display: grid;
  gap: 0.55rem;
}

.legal-nav a {
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.legal-nav a:hover {
  color: var(--orange-deep);
}

.legal-content section {
  margin-bottom: 2.25rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.legal-content h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  margin-bottom: 0.85rem;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 1.02rem;
}

.legal-content p + p,
.legal-content ul {
  margin-top: 0.85rem;
}

.legal-content ul {
  display: grid;
  gap: 0.5rem;
  padding-left: 1.2rem;
  list-style: disc;
}

.legal-content a {
  color: var(--orange-deep);
  font-weight: 600;
}

.legal-note {
  margin-top: 0.5rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--orange);
  background: rgba(236, 112, 0, 0.08);
  color: var(--ink-soft) !important;
  font-size: 0.95rem !important;
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes hero-zoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .hero-content,
  .hero-media img,
  .btn,
  .program-row,
  .program-arrow {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .nav-toggle { display: inline-block; }

  .nav-principal {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(248, 250, 252, 0.98);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    gap: 1rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav-principal.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-principal ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .nav-principal li a {
    display: block;
    padding: 0.75rem 0.25rem;
  }

  .btn-nav {
    width: 100%;
  }

  .split,
  .story-grid,
  .page-hero-grid,
  .program-layout,
  .contact-grid,
  .footer-grid,
  .dual-grid,
  .faq-layout,
  .legal-layout,
  .service-block,
  .service-block-alt {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .legal-nav {
    position: static;
  }

  .pillars,
  .values,
  .team,
  .process,
  .service-list,
  .impact-grid,
  .testimonials,
  .compare-grid,
  .timeline {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-strip,
  .sector-grid {
    grid-template-columns: 1fr 1fr;
  }

  .program-detail-alt .program-media,
  .service-block-alt .service-block-media {
    order: -1;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-content {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 640px) {
  .pillars,
  .values,
  .team,
  .process,
  .service-list,
  .form-row.two,
  .impact-grid,
  .testimonials,
  .compare-grid,
  .timeline,
  .gallery-strip,
  .sector-grid {
    grid-template-columns: 1fr;
  }

  .brand-name {
    font-size: 0.82rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .program-row {
    flex-wrap: wrap;
  }

  .program-row-media {
    width: 100%;
    height: 140px;
  }

  .program-arrow {
    display: none;
  }
}
