/* =========================================================
   MANZOMSA WEBSITE — MASTER STYLESHEET
   Design tokens: deep green + alarm red + charcoal + paper
   Mobile-first. Logical properties used for RTL/LTR safety.
   Bootstrap-style card/shadow system + scroll/hover animations.
   ========================================================= */

/* =========================================================
   SELF-HOSTED FONTS
   ========================================================= */
@font-face{
  font-family:'Tajawal';
  src: url('../fonts/tajawal/Tajawal-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face{
  font-family:'Tajawal';
  src: url('../fonts/tajawal/Tajawal-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face{
  font-family:'Tajawal';
  src: url('../fonts/tajawal/Tajawal-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face{
  font-family:'Tajawal';
  src: url('../fonts/tajawal/Tajawal-ExtraBold.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face{
  font-family:'Tajawal';
  src: url('../fonts/tajawal/Tajawal-Black.woff2') format('woff2');
  font-weight: 900; font-style: normal; font-display: swap;
}

@font-face{
  font-family:'IBM Plex Sans Arabic';
  src: url('../fonts/ibm-plex-sans-arabic/IBMPlexSansArabic-Light.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face{
  font-family:'IBM Plex Sans Arabic';
  src: url('../fonts/ibm-plex-sans-arabic/IBMPlexSansArabic-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face{
  font-family:'IBM Plex Sans Arabic';
  src: url('../fonts/ibm-plex-sans-arabic/IBMPlexSansArabic-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face{
  font-family:'IBM Plex Sans Arabic';
  src: url('../fonts/ibm-plex-sans-arabic/IBMPlexSansArabic-SemiBold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face{
  font-family:'IBM Plex Sans Arabic';
  src: url('../fonts/ibm-plex-sans-arabic/IBMPlexSansArabic-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

@font-face{
  font-family:'IBM Plex Mono';
  src: url('../fonts/ibm-plex-mono/IBMPlexMono-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face{
  font-family:'IBM Plex Mono';
  src: url('../fonts/ibm-plex-mono/IBMPlexMono-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face{
  font-family:'IBM Plex Mono';
  src: url('../fonts/ibm-plex-mono/IBMPlexMono-SemiBold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}

:root{
  --green-deep:#173B30;
  --green-mid:#1B4D3E;
  --red-alarm:#C81E1E;
  --red-dark:#8F1414;
  --charcoal:#2B2B2B;
  --paper:#F7F5EF;
  --paper-dim:#EFEBE0;
  --brass:#B4923A;
  --line:rgba(43,43,43,0.14);
  --white:#FFFFFF;
  --whatsapp-green:#25D366;
  --whatsapp-green-dark:#1DA851;

  --header-h: 74px;
  --topstrip-h: 38px;

  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 14px;

  --shadow-xs: 0 1px 3px rgba(23,59,48,0.06), 0 1px 2px rgba(23,59,48,0.05);
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.06);
  --shadow-md: 0 14px 34px rgba(0,0,0,0.12);
  --shadow-hover: 0 16px 32px rgba(23,59,48,0.16), 0 4px 10px rgba(23,59,48,0.08);

  --transition: 0.22s ease;
  --transition-fast: 0.15s ease;
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* =========================================================
   RESET
   ========================================================= */
*, *::before, *::after{ box-sizing: border-box; margin: 0; padding: 0; }
html{ scroll-behavior: smooth; }
body{
  font-family:'IBM Plex Sans Arabic','Tajawal',sans-serif;
  background: var(--paper);
  color: var(--charcoal);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
h1,h2,h3,h4,h5{
  font-family:'Tajawal','IBM Plex Sans Arabic',sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }
button{ font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select{ font-family: inherit; font-size: 15px; }
ul{ list-style: none; }

.mono{ font-family:'IBM Plex Mono', monospace; }

a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible{
  outline: 2px solid var(--red-alarm);
  outline-offset: 3px;
}

#about, #services, #process, #certs, #faq, #core-services,
#contact-main, #vision, #stats, #why, #story{
  scroll-margin-top: calc(var(--header-h) + var(--topstrip-h) + 16px);
}

/* =========================================================
   LAYOUT UTILITIES
   ========================================================= */
.wrap{
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 20px;
}
.section{ padding-block: 64px; }
.section.tight{ padding-block: 46px; }

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family:'IBM Plex Mono', monospace;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--red-alarm);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.eyebrow::before{
  content: '';
  width: 20px;
  height: 2px;
  background: var(--red-alarm);
  display: inline-block;
}

.cta-btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red-alarm);
  color: var(--white);
  padding: 13px 22px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid var(--red-alarm);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  transition: background var(--transition), border-color var(--transition),
              transform var(--transition-fast), box-shadow var(--transition), color var(--transition);
  white-space: nowrap;
}
.cta-btn:hover{
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.cta-btn:active{
  transform: translateY(0) scale(0.97);
  transition: transform 0.1s ease;
}
.cta-btn.ghost{ background: transparent; color: var(--green-deep); border-color: var(--green-deep); box-shadow:none; }
.cta-btn.ghost:hover{ background: var(--green-deep); color: var(--white); }

/* =========================================================
   TOP UTILITY STRIP
   ========================================================= */
.top-strip{
  background: var(--green-deep);
  color: var(--paper);
  font-family:'IBM Plex Mono', monospace;
  font-size: 11.5px;
}
.top-strip .wrap{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 8px;
  flex-wrap: wrap;
  gap: 6px;
  row-gap: 4px;
}
.top-strip .items{
  display: flex;
  gap: 16px;
  opacity: 0.88;
  flex-wrap: wrap;
  align-items: center;
}

.lang-btn{
  background: rgba(247,245,239,0.12);
  color: var(--paper);
  border: 1px solid rgba(247,245,239,0.3) !important;
  padding: 4px 10px;
  font-family:'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  transition: background var(--transition), transform var(--transition-fast);
}
.lang-btn:hover{ background: rgba(247,245,239,0.24); }
.lang-btn:active{ transform: scale(0.92); }

@media (max-width: 640px){
  .top-strip .items:first-child{ display: none; }
  .top-strip .wrap{ justify-content: center; }
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
header{
  background: var(--paper);
  border-block-end: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow var(--transition);
}
header.scrolled{
  box-shadow: var(--shadow-sm);
}
.header-bar{
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, var(--red-alarm) 0 60%, var(--green-mid) 60% 100%);
}
nav.wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}

.brand{ display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img{ height: 42px; width: auto; transition: transform var(--transition); }
.brand:hover img{ transform: scale(1.06) rotate(-2deg); }
.brand-text{ line-height: 1.3; }
.brand-text .ar{ font-size: 15px; font-weight: 800; color: var(--green-deep); }
.brand-text .en{ font-size: 10px; font-family:'IBM Plex Mono',monospace; letter-spacing: 0.04em; color: var(--charcoal); opacity: 0.6; }

.nav-toggle{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  flex-shrink: 0;
}
.nav-toggle span{
  display: block;
  width: 100%;
  height: 2px;
  background: var(--green-deep);
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.navlinks{
  display: flex;
  gap: 26px;
  font-weight: 500;
  font-size: 14.5px;
}
.navlinks a{
  position: relative;
  padding-block: 6px;
  color: var(--charcoal);
  transition: color var(--transition);
}
.navlinks a:hover{ color: var(--red-alarm); }
.navlinks a::after{
  content: '';
  position: absolute;
  inset-inline: 0;
  block-size: 2px;
  bottom: 0;
  background: var(--red-alarm);
  transform: scaleX(0);
  transition: transform var(--transition) var(--ease-out);
}
.navlinks a:hover::after, .navlinks a.active::after{ transform: scaleX(1); }

.header-cta{ display: flex; align-items: center; flex-shrink: 0; }

@media (max-width: 900px){
  .nav-toggle{ display: flex; order: 3; }
  header{ position: sticky; }
  .navlinks{
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition), box-shadow var(--transition);
    border-block-end: 1px solid var(--line);
  }
  .navlinks.open{ max-height: 420px; box-shadow: var(--shadow-md); }
  .navlinks a{
    padding: 16px 20px;
    border-block-end: 1px solid var(--line);
    width: 100%;
  }
  .header-cta .cta-btn{ padding: 10px 14px; font-size: 13px; }
  .brand-text .en{ display: none; }
}
@media (max-width: 480px){
  .brand img{ height: 36px; }
  .brand-text .ar{ font-size: 13px; }
  .header-cta .cta-btn span{ display: none; }
}

/* =========================================================
   HERO — with staggered entrance animation on page load
   ========================================================= */
.hero{
  position: relative;
  background-color: var(--green-deep);
  background-image:
    linear-gradient(90deg, rgba(15,42,34,0.95) 0%, rgba(15,42,34,0.82) 30%, rgba(15,42,34,0.55) 60%, rgba(15,42,34,0.35) 100%),
    linear-gradient(to top, rgba(15,42,34,0.65) 0%, rgba(15,42,34,0) 45%),
    url('../images/hero-photo.jpg');
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
  color: var(--paper);
  overflow: hidden;
  padding-block: 90px 70px;
}
.hero-grid{
  position: relative;
  z-index: 2;
  max-width: 640px;
}
@keyframes heroFadeUp{
  from{ opacity: 0; transform: translateY(20px); }
  to{ opacity: 1; transform: translateY(0); }
}
.hero-grid > *{
  opacity: 0;
  animation: heroFadeUp .75s var(--ease-out) forwards;
}
.hero-grid > *:nth-child(1){ animation-delay: .05s; }
.hero-grid > *:nth-child(2){ animation-delay: .15s; }
.hero-grid > *:nth-child(3){ animation-delay: .25s; }
.hero-grid > *:nth-child(4){ animation-delay: .35s; }
.hero-grid > *:nth-child(5){ animation-delay: .45s; }

.hero h1{
  font-size: clamp(28px, 4.4vw, 48px);
  line-height: 1.25;
  color: var(--white);
  margin-block-end: 18px;
}
.hero p{
  font-size: clamp(14.5px, 1.6vw, 17px);
  color: rgba(247,245,239,0.85);
  max-width: 520px;
  margin-block-end: 28px;
}
.hero-ctas{ display: flex; gap: 12px; flex-wrap: wrap; margin-block-end: 34px; }

.hero .cta-btn.ghost{
  color: var(--white);
  border-color: rgba(247,245,239,0.55);
}
.hero .cta-btn.ghost:hover{
  background: var(--white);
  color: var(--green-deep);
  border-color: var(--white);
}

.hero-meta{ display: flex; gap: 24px; flex-wrap: wrap; }
.hero-meta div{ border-inline-start: 2px solid var(--red-alarm); padding-inline-start: 12px; }
.hero-meta .num{ font-family:'IBM Plex Mono',monospace; font-size: 22px; font-weight: 600; color: var(--white); }
.hero-meta .lbl{ font-size: 12px; color: rgba(247,245,239,0.7); }

@media (max-width: 900px){
  .hero{
    background-image:
      linear-gradient(180deg, rgba(15,42,34,0.9) 0%, rgba(15,42,34,0.75) 50%, rgba(15,42,34,0.88) 100%),
      url('../images/hero-photo.jpg');
    background-size: cover, cover;
    background-position: center, center;
  }
  .hero-grid{ max-width: 100%; }

  .hero-meta{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .hero-meta div{ padding-inline-start: 8px; }
  .hero-meta .num{ font-size: 18px; }
  .hero-meta .lbl{ font-size: 10.5px; }
}

/* =========================================================
   SCROLL-REVEAL SYSTEM (used across all pages)
   ========================================================= */
.reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > *{ transition-delay: 0ms; }
.reveal-stagger > *:nth-child(2){ transition-delay: 70ms; }
.reveal-stagger > *:nth-child(3){ transition-delay: 140ms; }
.reveal-stagger > *:nth-child(4){ transition-delay: 210ms; }
.reveal-stagger > *:nth-child(5){ transition-delay: 280ms; }
.reveal-stagger > *:nth-child(6){ transition-delay: 350ms; }
.reveal-stagger > *:nth-child(7){ transition-delay: 420ms; }
.reveal-stagger > *:nth-child(8){ transition-delay: 490ms; }
.reveal-stagger > *:nth-child(9){ transition-delay: 560ms; }

/* =========================================================
   ABOUT (text + photo)
   ========================================================= */
.about, .about-full{ background: var(--white); }
.about-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: start;
}
.about-text p{ margin-block-end: 16px; color: rgba(43,43,43,0.82); font-size: 15px; }

.about-photo{
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--transition);
}
.about-photo:hover{ box-shadow: var(--shadow-hover); }
.about-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease-out);
}
.about-photo:hover img{ transform: scale(1.045); }

@media (max-width: 900px){
  .about-grid{ grid-template-columns: 1fr; gap: 32px; }
}

/* =========================================================
   VISION / MISSION
   ========================================================= */
.vision-mission{ background: var(--paper-dim); }
.vm-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vm-card{
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--red-alarm);
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition), box-shadow var(--transition);
}
.vm-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.vm-card h3{ font-size: 20px; color: var(--green-deep); margin-block: 6px 12px; }
.vm-card p{ font-size: 14.5px; color: rgba(43,43,43,0.72); }

@media (max-width: 700px){ .vm-grid{ grid-template-columns: 1fr; } }

/* =========================================================
   STATS BAND
   ========================================================= */
.stats-band{
  background: linear-gradient(135deg, var(--green-deep), var(--green-mid));
  padding-block: 40px;
}
.stats-grid{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  text-align: center;
}
.stat-item .num{ font-size: clamp(22px, 3vw, 32px); font-weight: 600; color: var(--white); display: inline-block; }
.stat-item .lbl{ font-size: 12.5px; color: rgba(247,245,239,0.65); margin-block-start: 6px; }
@keyframes statPulse{ 50%{ transform: scale(1.1); } }
.stat-item.counted .num{ animation: statPulse .4s var(--ease-out); }

@media (max-width: 700px){
  .stats-grid{ grid-template-columns: repeat(2, 1fr); gap: 26px 16px; }
}

/* =========================================================
   WHY CHOOSE US
   ========================================================= */
.why{ background: var(--white); }
.why-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-block-start: 30px; }
.why-card{
  background: var(--white);
  padding: 26px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.why-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: transparent; }
.why-card h4{ font-size: 15.5px; color: var(--green-deep); margin-block-end: 8px; }
.why-card p{ font-size: 13.5px; color: rgba(43,43,43,0.65); }

@media (max-width: 900px){ .why-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px){ .why-grid{ grid-template-columns: 1fr; } }

/* =========================================================
   SERVICES
   ========================================================= */
.services{ background: var(--paper-dim); }
.services-full{ background: var(--white); }
.svc-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-block-start: 30px;
}
.svc-card{
  background: var(--paper-dim);
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}
.svc-grid-full .svc-card{ background: var(--white); display: flex; flex-direction: column; }
.svc-card:hover{
  background: var(--white);
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}
.svc-icon{
  width: 40px;
  height: 40px;
  color: var(--red-alarm);
  margin-block-end: 16px;
  transition: transform var(--transition-fast) var(--ease-out);
}
.svc-grid-full .svc-icon{ width: 44px; height: 44px; }
.svc-card:hover .svc-icon{ transform: scale(1.15) rotate(-6deg); }
.svc-card h3{ font-size: 16.5px; color: var(--green-deep); margin-block-end: 8px; line-height: 1.4; }
.svc-card p{ font-size: 13.5px; color: rgba(43,43,43,0.65); flex-grow: 1; }
.svc-link{
  display: inline-block;
  margin-block-start: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--red-alarm);
  transition: transform var(--transition-fast);
}
.svc-link:hover{ text-decoration: underline; transform: translateX(-3px); }
[dir="ltr"] .svc-link:hover{ transform: translateX(3px); }

.section-cta{ margin-block-start: 34px; text-align: center; }

@media (min-width: 561px){
  .svc-grid-full{ grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px){ .svc-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .svc-grid{ grid-template-columns: 1fr; } }

/* =========================================================
   PROCESS / TIMELINE
   ========================================================= */
.process{ background: linear-gradient(135deg, var(--green-deep), var(--green-mid)); color: var(--paper); }
.process .eyebrow{ color: var(--red-alarm); }
.process h2{ color: var(--white); }
.timeline{ display: flex; gap: 0; margin-block-start: 36px; }
.tl-step{ flex: 1; position: relative; padding-inline-end: 20px; }
.tl-step:not(:last-child)::after{
  content: '';
  position: absolute;
  top: 15px;
  inset-inline: 0 -20px;
  height: 1px;
  background: rgba(247,245,239,0.25);
}
.tl-dot{
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--red-alarm); color: var(--white);
  font-family:'IBM Plex Mono',monospace; font-weight: 600; font-size: 12.5px;
  display: flex; align-items: center; justify-content: center;
  margin-block-end: 18px; position: relative; z-index: 2;
  transition: transform var(--transition), box-shadow var(--transition);
}
.tl-step:hover .tl-dot{
  transform: scale(1.18);
  box-shadow: 0 0 0 6px rgba(200,30,30,0.22);
}
.tl-step h4{ font-size: 14.5px; margin-block-end: 6px; color: var(--white); }
.tl-step p{ font-size: 13px; color: rgba(247,245,239,0.68); }

@media (max-width: 800px){
  .timeline{ flex-wrap: wrap; gap: 26px; }
  .tl-step{ flex: 0 0 45%; }
  .tl-step::after{ display: none; }
}
@media (max-width: 500px){ .tl-step{ flex: 0 0 100%; } }

/* =========================================================
   TRUST STRIP
   ========================================================= */
.trust{ background: linear-gradient(120deg, var(--red-alarm), var(--red-dark)); color: var(--white); padding-block: 28px; }
.trust .wrap{
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px; text-align: center;
}
.trust p{ font-size: 15px; font-weight: 600; }
.trust .cta-btn{ background: var(--white); color: var(--red-alarm); border-color: var(--white); }
.trust .cta-btn:hover{ background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }

@media (max-width: 600px){ .trust .wrap{ justify-content: center; } }

/* =========================================================
   CERTIFICATIONS
   ========================================================= */
.certs{ background: var(--white); text-align: center; }
.certs-row{ display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin-block-start: 20px; }
.cert-badge{ display: flex; flex-direction: column; align-items: center; gap: 10px; width: 110px; }
.cert-badge .ring{
  width: 68px; height: 68px; border-radius: 50%;
  border: 2px solid var(--green-mid);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.cert-badge:hover .ring{ transform: scale(1.1); box-shadow: var(--shadow-hover); }
.cert-badge .ring img{
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 10px;
  transition: transform var(--transition);
}
.cert-badge:hover .ring img{ transform: scale(1.06); }
.cert-badge > span{
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(43,43,43,0.72);
  text-align: center;
  line-height: 1.35;
  transition: color var(--transition);
}
.cert-badge:hover > span{ color: var(--green-deep); }

/* =========================================================
   FAQ
   ========================================================= */
.faq{ background: var(--paper-dim); }
.faq-list{ margin-block-start: 20px; display: flex; flex-direction: column; gap: 10px; }
.faq-item{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.faq-item.open{ box-shadow: var(--shadow-xs); border-color: var(--green-mid); }
.faq-q{
  display: flex; justify-content: space-between; align-items: center;
  width: 100%;
  padding: 18px 20px;
  text-align: start;
  font-weight: 600;
  font-size: 15px;
  color: var(--green-deep);
}
.faq-q .plus{ font-family:'IBM Plex Mono',monospace; font-size: 18px; color: var(--red-alarm); transition: transform var(--transition); flex-shrink: 0; }
.faq-item.open .plus{ transform: rotate(45deg); }
.faq-a{ max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-a{ max-height: 240px; }
.faq-a p{ padding-inline: 20px; padding-block-end: 20px; font-size: 14px; color: rgba(43,43,43,0.7); }

/* =========================================================
   CONTACT (teaser)
   ========================================================= */
.contact-teaser-grid{ text-align: center; max-width: 640px; margin-inline: auto; }
.contact-teaser-grid p{ margin-block: 14px 22px; color: rgba(43,43,43,0.7); font-size: 15px; }

/* =========================================================
   CONTACT PAGE (full)
   ========================================================= */
.contact-full{ background: var(--white); }
.contact-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }

.contact-list{ display: flex; flex-direction: column; gap: 20px; margin-block: 22px; }
.contact-item{ display: flex; gap: 14px; align-items: flex-start; }
.contact-item .icn{
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--red-alarm);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: transform var(--transition);
}
.contact-item:hover .icn{ transform: scale(1.12) rotate(-8deg); }
.contact-item .icn svg{ width: 16px; height: 16px; stroke: var(--white); fill: none; }
.contact-item h5{ font-size: 12px; color: rgba(43,43,43,0.5); font-family:'IBM Plex Mono',monospace; margin-block-end: 4px; letter-spacing: 0.05em; }
.contact-item p, .contact-item a{ font-size: 14.5px; color: var(--charcoal); }
.contact-item a:hover{ color: var(--red-alarm); }

.contact-people{ margin-block: 22px; }
.contact-people h5{
  font-size: 12px;
  font-family:'IBM Plex Mono',monospace;
  color: rgba(43,43,43,0.5);
  margin-block-end: 10px;
  letter-spacing: 0.05em;
}
.contact-people-row{ display: flex; gap: 14px; flex-wrap: wrap; }
.person-chip{
  background: var(--paper-dim);
  border-inline-start: 3px solid var(--green-mid);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex; flex-direction: column; gap: 3px;
  flex: 1; min-width: 200px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.person-chip:hover{ transform: translateY(-3px); box-shadow: var(--shadow-xs); }
.person-name{ font-size: 14px; font-weight: 700; color: var(--charcoal); }
.person-role{ font-size: 12px; color: var(--red-alarm); }
.person-chip a{ font-size: 12.5px; color: rgba(43,43,43,0.65); }

.contact-socials{ display: flex; gap: 10px; margin-block-start: 8px; }
.social-btn{
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--whatsapp-green); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), transform var(--transition);
}
.social-btn:hover{ background: var(--whatsapp-green-dark); transform: scale(1.12); }

.contact-form{ display: flex; flex-direction: column; gap: 16px; margin-block-start: 24px; }
.form-row{ display: flex; flex-direction: column; gap: 6px; }
.form-row label{ font-size: 13px; font-weight: 600; color: var(--charcoal); }
.form-row input, .form-row select, .form-row textarea{
  background: var(--paper-dim);
  border: 1px solid var(--line);
  padding: 12px 14px;
  color: var(--charcoal);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus{
  border-color: var(--red-alarm);
  outline: none;
  box-shadow: 0 0 0 3px rgba(200,30,30,0.15);
}
.form-submit{ align-self: flex-start; margin-block-start: 6px; }
.form-status{ font-size: 13.5px; min-height: 20px; }
.form-status.success{ color: var(--green-mid); font-weight: 600; }
.form-status.error{ color: var(--red-alarm); font-weight: 600; }

@media (max-width: 900px){
  .contact-grid{ grid-template-columns: 1fr; gap: 34px; }
}

/* =========================================================
   MAP
   ========================================================= */
.map-section{ width: 100%; }
.map-embed{
  width: 100%; height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.map-embed iframe{ width: 100%; height: 100%; display: block; }

@media (max-width: 600px){ .map-embed{ height: 280px; } }

/* =========================================================
   FOOTER
   ========================================================= */
.footer-bar{ height: 5px; width: 100%; background: linear-gradient(90deg, var(--red-alarm) 0 15%, var(--green-mid) 15% 100%); }
footer{ background: var(--green-deep); color: rgba(247,245,239,0.6); padding-block: 22px; font-size: 12.5px; }
footer .wrap{ display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; text-align: center; }

@media (max-width: 600px){
  footer .wrap{
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal{ opacity: 1 !important; transform: none !important; }
  .hero-grid > *{ opacity: 1 !important; animation: none !important; }
}

/* =========================================================
   LARGE SCREENS
   ========================================================= */
@media (min-width: 1440px){
  .wrap{ max-width: 1280px; }
  .section{ padding-block: 96px; }
}