/* =========================================================
   FLORAND BAT SRL — Design tokens
   Primary  : #F58220 (construction orange)
   Secondary: #222222 (charcoal)
   Ink      : #171717 (deep charcoal, hero overlay)
   Amber    : #FFB44D (glow accent)
   Surface  : #FFFFFF
   Mist     : #F5F5F3 (light gray)
   Line     : #E7E5E1
   Display  : Poppins (700/800)
   Body     : Poppins (400/500)
   Utility  : "Space Mono" — blueprint labels & measurements
   ========================================================= */

:root {
  --orange: #f58220;
  --orange-dark: #d96c0f;
  --amber: #ffb44d;
  --ink: #171717;
  --charcoal: #222222;
  --charcoal-70: rgba(34, 34, 34, 0.7);
  --white: #ffffff;
  --mist: #f5f5f3;
  --line: #e7e5e1;
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(23, 23, 23, 0.06);
  --shadow-md: 0 12px 30px rgba(23, 23, 23, 0.1);
  --shadow-lg: 0 24px 60px rgba(23, 23, 23, 0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1180px;
  --nav-h: 84px;
}

html,
body {
  max-width: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
}
p {
  margin: 0;
  line-height: 1.7;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--orange);
  color: #fff;
  padding: 12px 18px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin: 0 0 14px;
  font-weight: 700;
}
.eyebrow--light {
  color: var(--amber);
}

.icon {
  display: inline-block;
  vertical-align: -3px;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.96rem;
  border: 1.5px solid transparent;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.25s var(--ease),
    color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-3px);
}
.btn:active {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 24px rgba(245, 130, 32, 0.35);
}
.btn--primary:hover {
  background: var(--orange-dark);
  box-shadow: 0 14px 30px rgba(245, 130, 32, 0.45);
}

.btn--whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.32);
}
.btn--whatsapp:hover {
  background: var(--whatsapp-dark);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.42);
}

.btn--outline {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
}
.btn--outline:hover {
  background: rgba(255, 255, 255, 0.18);
}

.btn--dark {
  background: var(--charcoal);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}
.btn--dark:hover {
  background: #000;
}

.btn--outline-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}
.btn--outline-dark:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn--ghost {
  background: var(--mist);
  color: var(--charcoal);
}
.btn--ghost:hover {
  background: var(--line);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-weight: 600;
  color: var(--orange-dark);
  transition: gap 0.25s var(--ease);
}
.link-arrow:hover {
  gap: 13px;
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--nav-h);
  transition:
    background 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease);
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 2px 24px rgba(23, 23, 23, 0.07);
}
.nav__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav__logo {
  width: 38px;
  height: 38px;
}
.nav__name {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--charcoal);
  transition: color 0.3s var(--ease);
}
.nav.is-scrolled .nav__name {
  color: var(--charcoal);
}
.nav:not(.is-scrolled) .nav__name {
  color: #fff;
}
.nav__name strong {
  color: var(--orange);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-inline: auto;
}
.nav__link {
  position: relative;
  font-size: 0.94rem;
  font-weight: 500;
  padding: 6px 0;
  color: #fff;
  transition: color 0.3s var(--ease);
}
.nav.is-scrolled .nav__link {
  color: var(--charcoal-70);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 0;
  background: var(--orange);
  transition: width 0.3s var(--ease);
}
.nav__link:hover,
.nav__link.is-active {
  color: var(--orange);
}
.nav.is-scrolled .nav__link:hover,
.nav.is-scrolled .nav__link.is-active {
  color: var(--orange-dark);
}
.nav__link.is-active::after {
  width: 100%;
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  padding: 11px 20px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(245, 130, 32, 0.32);
  transition:
    transform 0.25s var(--ease),
    background 0.25s var(--ease);
}
.nav__cta:hover {
  transform: translateY(-2px);
  background: var(--orange-dark);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.nav__burger span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition:
    transform 0.3s var(--ease),
    opacity 0.3s var(--ease),
    background 0.3s var(--ease);
}
.nav.is-scrolled .nav__burger span {
  background: var(--charcoal);
}
.nav__burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__burger.is-open span:nth-child(2) {
  opacity: 0;
}
.nav__burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  :root {
    --nav-h: 74px;
  }

  .nav {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
  }
  .nav__inner {
    padding-inline: 18px;
    gap: 14px;
  }
  .nav__logo {
    width: 34px;
    height: 34px;
  }
  .nav__name {
    font-size: 0.96rem;
    color: var(--charcoal);
  }

  .nav__links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    margin: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    padding: 10px 24px 26px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.3s var(--ease),
      opacity 0.3s var(--ease);
    box-shadow: 0 18px 30px rgba(23, 23, 23, 0.08);
  }
  .nav__links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__links .nav__link {
    color: var(--charcoal);
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav__links .nav__link:last-child {
    border-bottom: none;
  }
  .nav__cta {
    display: none;
  }
  .nav__burger {
    display: flex;
  }
  .nav__burger span {
    background: var(--charcoal);
  }
}

/* =========================================================
   HERO — blueprint signature
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(
      1100px 620px at 18% 10%,
      rgba(245, 130, 32, 0.22),
      transparent 60%
    ),
    radial-gradient(
      900px 700px at 85% 90%,
      rgba(255, 180, 77, 0.14),
      transparent 55%
    ),
    linear-gradient(160deg, #1b1b1b 0%, var(--ink) 55%, #0f0f0f 100%);
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__blueprint {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(
    ellipse 90% 70% at 50% 40%,
    #000 40%,
    transparent 90%
  );
}
.hero__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__lines .draw-line {
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.6;
  opacity: 0.55;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 2.6s var(--ease) 0.4s forwards;
  vector-effect: non-scaling-stroke;
}
.draw-line--delay {
  animation-delay: 1s;
  opacity: 0.3;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding-block: 60px;
}
.hero__logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
}
.hero__eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}
.hero__title {
  font-size: clamp(2.3rem, 5.4vw, 4.3rem);
  line-height: 1.1;
  font-weight: 800;
  max-width: 920px;
  margin-inline: auto;
  color: #fff;
}
.hero__subtitle {
  max-width: 640px;
  margin: 26px auto 0;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 40px;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  z-index: 1;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
}
.hero__scroll span {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: var(--orange);
  border-radius: 3px;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  70% {
    opacity: 0;
    transform: translateY(14px);
  }
  100% {
    opacity: 0;
  }
}

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay='1'] {
  transition-delay: 0.08s;
}
.reveal[data-delay='2'] {
  transition-delay: 0.16s;
}
.reveal[data-delay='3'] {
  transition-delay: 0.24s;
}

/* =========================================================
   SECTION HEAD
   ========================================================= */
.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  margin-bottom: 16px;
}
.section-head__desc {
  color: var(--charcoal-70);
  font-size: 1.02rem;
}
.section-head--light h2 {
  color: #fff;
}

/* =========================================================
   ABOUT
   ========================================================= */
.about {
  padding: 120px 0;
  background: var(--white);
}
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: start;
}
.about__text h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin-bottom: 22px;
}
.about__text p {
  color: var(--charcoal-70);
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.stat-card {
  background: var(--mist);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  border: 1px solid var(--line);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.stat-card__num {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--orange);
  font-family: 'Space Mono', monospace;
}
.stat-card__num--text {
  font-size: 1.5rem;
}
.stat-card__label {
  display: block;
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--charcoal-70);
  font-weight: 500;
}

/* =========================================================
   SERVICES
   ========================================================= */
.services {
  padding: 120px 0;
  background: var(--mist);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.s-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 34px 28px;
  border: 1px solid var(--line);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}
.s-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.s-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  margin-bottom: 20px;
  background: rgba(245, 130, 32, 0.1);
  color: var(--orange);
  transition:
    background 0.35s var(--ease),
    color 0.35s var(--ease),
    transform 0.35s var(--ease);
}
.s-card:hover .s-card__icon {
  background: var(--orange);
  color: #fff;
  transform: rotate(-6deg) scale(1.05);
}
.s-card h3 {
  font-size: 1.14rem;
  margin-bottom: 10px;
}
.s-card p {
  color: var(--charcoal-70);
  font-size: 0.95rem;
}

/* =========================================================
   WHY US
   ========================================================= */
.why {
  padding: 120px 0;
  background: var(--ink);
}
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.why-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  color: #fff;
  transition:
    transform 0.35s var(--ease),
    background 0.35s var(--ease),
    border-color 0.35s var(--ease);
}
.why-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(245, 130, 32, 0.4);
}
.why-card__icon {
  color: var(--orange);
  margin-bottom: 18px;
}
.why-card h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
  color: #fff;
}
.why-card p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.93rem;
}

/* =========================================================
   GALLERY
   ========================================================= */
.gallery {
  padding: 120px 0;
  background: var(--white);
}
.masonry {
  column-count: 3;
  column-gap: 20px;
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 1px solid var(--line);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.masonry-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.masonry-item__img {
  width: 100%;
  height: auto;
  display: block;
  background: var(--mist);
}
.masonry-item::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(to top, rgba(23, 23, 23, 0.55), transparent 55%);
  transition: opacity 0.3s var(--ease);
}
.masonry-item:hover::after {
  opacity: 1;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(15, 15, 15, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.25s var(--ease);
}
.lightbox[hidden] {
  display: none;
}
.lightbox__frame {
  width: min(80vw, 760px);
  max-height: 80vh;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  overflow: hidden;
}
.lightbox__img {
  width: 100%;
  height: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
}
.lightbox__close {
  position: absolute;
  top: 26px;
  right: 26px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s;
}
.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
}
.lightbox__nav {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 20px;
  transition: background 0.25s;
}
.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.2);
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* =========================================================
   CERTIFICATION
   ========================================================= */
.certification {
  padding: 100px 0;
  background: var(--mist);
}
.certification__inner {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 60px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.diploma-illustration {
  width: 100%;
  height: auto;
}
.diploma-paper {
  fill: var(--mist);
  stroke: var(--line);
  stroke-width: 1.5;
}
.diploma-line {
  fill: var(--charcoal);
}
.diploma-line--light {
  fill: #c9c6bf;
}
.diploma-seal {
  fill: none;
  stroke: var(--orange);
  stroke-width: 3;
}
.diploma-check {
  fill: none;
  stroke: var(--orange);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.certification__text h2 {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  margin-bottom: 16px;
}
.certification__text p {
  color: var(--charcoal-70);
}

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band {
  padding: 100px 0;
  background: linear-gradient(
    120deg,
    var(--orange) 0%,
    var(--orange-dark) 100%
  );
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
}
.cta-band__inner {
  position: relative;
  text-align: center;
  color: #fff;
}
.cta-band__inner h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin-bottom: 14px;
}
.cta-band__inner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  max-width: 520px;
  margin-inline: auto;
}
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 36px;
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  padding: 120px 0;
  background: var(--white);
}
.contact__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 64px;
  align-items: stretch;
}
.contact__info h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  margin-bottom: 30px;
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-list .icon {
  margin-top: 2px;
  color: var(--orange);
  flex-shrink: 0;
}
.contact-list__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--charcoal-70);
  margin-bottom: 2px;
}
.contact-list li div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact-list a:hover {
  color: var(--orange-dark);
}

.contact__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 340px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.contact__map iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__logo {
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
}
.footer__name {
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
}
.footer__slogan {
  margin-top: 6px;
  font-style: italic;
  color: var(--amber);
}
.footer__col h4 {
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__col a:hover {
  color: var(--orange);
}
.footer__bottom {
  padding: 26px 24px;
  text-align: center;
  font-size: 0.85rem;
}

/* =========================================================
   FLOATING BUTTONS
   ========================================================= */
.fab {
  position: fixed;
  z-index: 150;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.fab:hover {
  transform: scale(1.08);
}
.fab--whatsapp {
  right: 26px;
  bottom: 26px;
  background: var(--whatsapp);
  animation: pulse 2.6s ease-in-out infinite;
}
.fab--call {
  left: 26px;
  bottom: 26px;
  background: var(--orange);
}
.fab--mobile-only {
  display: none;
}
@keyframes pulse {
  0%,
  100% {
    box-shadow:
      0 12px 26px rgba(0, 0, 0, 0.25),
      0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  50% {
    box-shadow:
      0 12px 26px rgba(0, 0, 0, 0.25),
      0 0 0 12px rgba(37, 211, 102, 0);
  }
}

/* =========================================================
   MODAL
   ========================================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal[hidden] {
  display: none;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 15, 0.6);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.25s var(--ease);
}
.modal__panel {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 44px;
  width: min(94vw, 460px);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: panelIn 0.35s var(--ease);
}
@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--mist);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  transition: background 0.25s;
}
.modal__close:hover {
  background: var(--line);
}
.modal__body h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.modal__hint {
  color: var(--charcoal-70);
  font-size: 0.92rem;
  margin-bottom: 26px;
}

.field {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
}
.field input,
.field textarea {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
  transition:
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.field input:focus,
.field textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(245, 130, 32, 0.12);
  outline: none;
}
.field__error {
  color: #c0392b;
  font-size: 0.85rem;
  margin: -4px 0 14px;
}

.modal__actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 8px;
}

.modal__success {
  text-align: center;
  padding: 20px 0 6px;
}
.success-check {
  margin: 0 auto 20px;
}
.success-check__circle {
  fill: none;
  stroke: var(--orange);
  stroke-width: 3;
  stroke-dasharray: 214;
  stroke-dashoffset: 214;
  animation: circleDraw 0.6s var(--ease) forwards;
}
.success-check__mark {
  fill: none;
  stroke: var(--orange);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: markDraw 0.4s var(--ease) 0.5s forwards;
}
@keyframes circleDraw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes markDraw {
  to {
    stroke-dashoffset: 0;
  }
}
.modal__success h3 {
  margin-bottom: 8px;
}
.modal__success p {
  color: var(--charcoal-70);
  margin-bottom: 24px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .masonry {
    column-count: 2;
  }
  .certification__inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 44px 32px;
  }
  .diploma-illustration {
    max-width: 220px;
    margin-inline: auto;
  }
  .contact__grid {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero__content {
    padding-block: 46px;
  }
  .hero__actions {
    margin-top: 30px;
  }
  .hero__scroll {
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --nav-h: 68px;
  }

  .container {
    padding-inline: 16px;
  }

  .hero {
    min-height: 100svh;
  }
  .hero__logo {
    width: 56px;
    height: 56px;
    margin-bottom: 18px;
  }
  .hero__eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.13em;
    margin-bottom: 14px;
  }
  .hero__title {
    font-size: clamp(1.78rem, 8.4vw, 2.2rem);
    line-height: 1.16;
  }
  .hero__subtitle {
    margin-top: 18px;
    font-size: 0.96rem;
    line-height: 1.6;
  }

  .section-head {
    margin-bottom: 34px;
  }
  .section-head h2 {
    margin-bottom: 12px;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }
  .why__grid {
    grid-template-columns: 1fr;
  }
  .masonry {
    column-count: 1;
  }
  .about__stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .stat-card {
    padding: 22px 18px;
  }
  .stat-card__num {
    font-size: 1.95rem;
  }

  .s-card {
    padding: 26px 20px;
  }
  .why-card {
    padding: 24px 20px;
  }

  .certification__inner {
    padding: 30px 20px;
    gap: 26px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__actions .btn {
    width: 100%;
    min-height: 50px;
  }

  .contact__info h2 {
    margin-bottom: 22px;
  }
  .contact-list {
    gap: 16px;
  }

  .about,
  .services,
  .why,
  .gallery,
  .certification,
  .cta-band,
  .contact {
    padding: 80px 0;
  }

  .fab--whatsapp,
  .fab--call {
    width: 50px;
    height: 50px;
    bottom: 14px;
  }
  .fab--whatsapp {
    right: 14px;
  }
  .fab--call {
    left: 14px;
    display: flex;
  }

  .modal__panel {
    padding: 30px 24px;
  }
}

@media (max-width: 420px) {
  .nav__name {
    display: none;
  }
  .hero__title {
    font-size: 1.66rem;
  }
  .hero__subtitle {
    font-size: 0.92rem;
  }
  .btn {
    padding: 13px 18px;
    font-size: 0.92rem;
  }
  .about,
  .services,
  .why,
  .gallery,
  .certification,
  .cta-band,
  .contact {
    padding: 68px 0;
  }
}

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