/* =============================================================
   SG Services Group — Global Stylesheet
   Service In Excellence
   Mobile-first, responsive, professional corporate styling.
   ============================================================= */

/* -------------------------------------------------------------
   1. Design Tokens
   ------------------------------------------------------------- */
:root {
  /* Brand colors */
  --blue: #1369c4;
  --blue-dark: #0a4a8f;
  --blue-darker: #073563;
  --blue-soft: #eaf2fc;
  --charcoal: #22272e;
  --grey: #5a636e;
  --grey-light: #8a93a0;
  --light: #f4f7fb;
  --line: #e4eaf2;
  --white: #ffffff;
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;

  /* Typography */
  --font-head: "Poppins", "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  /* Spacing & layout */
  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-y: clamp(3.5rem, 8vw, 6.5rem);
  --radius: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* Effects */
  --shadow-sm: 0 2px 8px rgba(16, 42, 75, 0.06);
  --shadow: 0 10px 30px rgba(16, 42, 75, 0.08);
  --shadow-lg: 0 20px 50px rgba(16, 42, 75, 0.14);
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 76px;
}

/* -------------------------------------------------------------
   2. Reset & Base
   ------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg,
picture { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; padding: 0; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); }

p { color: var(--grey); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 2000;
  background: var(--blue);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* -------------------------------------------------------------
   3. Layout helpers
   ------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--light { background: var(--light); }
.section--tint { background: linear-gradient(180deg, var(--white), var(--blue-soft)); }

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.section-head h2 { margin-bottom: 0.85rem; }
.section-head p { font-size: 1.05rem; }

/* -------------------------------------------------------------
   4. Buttons
   ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.97rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  transition: transform var(--transition), box-shadow var(--transition),
    background-color var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px rgba(19, 105, 196, 0.28);
}
.btn--primary:hover { background: var(--blue-dark); box-shadow: 0 12px 26px rgba(19, 105, 196, 0.36); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}
.btn--ghost:hover { background: #fff; color: var(--blue-dark); border-color: #fff; }

.btn--outline {
  background: transparent;
  color: var(--blue-dark);
  border: 1.5px solid var(--line);
}
.btn--outline:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }

.btn--whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3); }
.btn--whatsapp:hover { background: var(--whatsapp-dark); }

.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.88rem; }
.btn--block { width: 100%; }

/* -------------------------------------------------------------
   5. Preloader
   ------------------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-content: center;
  gap: 1.2rem;
  justify-items: center;
  background: var(--white);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader.is-hidden { opacity: 0; visibility: hidden; }
.preloader__mark { width: 64px; height: 64px; animation: pulse 1.4s ease-in-out infinite; }
.preloader__bar { width: 140px; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.preloader__bar::after {
  content: "";
  display: block;
  width: 40%;
  height: 100%;
  border-radius: 4px;
  background: var(--blue);
  animation: load 1.1s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.9); opacity: 0.7; } }
@keyframes load { 0% { transform: translateX(-120%); } 100% { transform: translateX(320%); } }

/* -------------------------------------------------------------
   6. Header / Navigation
   ------------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition), border-color var(--transition), background var(--transition);
}
.header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
  border-color: var(--line);
}
.header__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: flex; align-items: center; }
.brand img { height: 44px; width: auto; }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 0.35rem; }
.nav__link {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--charcoal);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-pill);
  position: relative;
  transition: color var(--transition), background var(--transition);
}
.nav__link:hover { color: var(--blue); background: var(--blue-soft); }
.nav__link.is-active { color: var(--blue); }

.header__cta { display: none; align-items: center; gap: 0.6rem; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  align-items: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--charcoal);
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 999;
  background: #fff;
  padding: 1.5rem var(--gutter) 2rem;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.35s ease, visibility 0.35s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-nav.is-open { transform: translateX(0); visibility: visible; }
.mobile-nav a.mobile-link {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.1rem;
  padding: 0.95rem 0.5rem;
  border-bottom: 1px solid var(--line);
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-nav a.mobile-link:hover { color: var(--blue); }
.mobile-nav__cta { margin-top: 1.4rem; display: grid; gap: 0.7rem; }
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(15, 25, 40, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.nav-backdrop.is-open { opacity: 1; visibility: visible; }

body.no-scroll { overflow: hidden; }

@media (min-width: 992px) {
  .nav { display: block; }
  .header__cta { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav, .nav-backdrop { display: none; }
}

/* -------------------------------------------------------------
   7. Hero
   ------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 7vw, 5rem));
  padding-bottom: clamp(3rem, 8vw, 5.5rem);
  background:
    radial-gradient(120% 120% at 100% 0%, var(--blue-soft) 0%, transparent 55%),
    linear-gradient(180deg, #fbfdff, var(--white));
  overflow: hidden;
}
.hero__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.hero__title { margin-bottom: 1.1rem; }
.hero__title .accent { color: var(--blue); }
.hero__sub { font-size: 1.12rem; max-width: 36ch; margin-bottom: 1.8rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2rem; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 1.8rem; }
.hero__stat .num { font-family: var(--font-head); font-weight: 700; font-size: 1.7rem; color: var(--blue-dark); }
.hero__stat .label { font-size: 0.85rem; color: var(--grey); }

.hero__media { position: relative; }
.hero__badge {
  position: absolute;
  bottom: 18px;
  left: -10px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.85rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
}
.hero__badge .dot { width: 38px; height: 38px; border-radius: 50%; background: var(--blue-soft); display: grid; place-content: center; color: var(--blue); }
.hero__badge .dot svg { width: 20px; height: 20px; }

@media (min-width: 880px) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; }
}

/* -------------------------------------------------------------
   8. Image placeholders
   ------------------------------------------------------------- */
.img-ph {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-align: center;
  background:
    repeating-linear-gradient(45deg, rgba(19,105,196,0.04) 0 12px, rgba(19,105,196,0.07) 12px 24px),
    var(--blue-soft);
  color: var(--blue-dark);
  border: 1.5px dashed rgba(19, 105, 196, 0.35);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  padding: 1rem;
}
.img-ph svg { width: 40px; height: 40px; opacity: 0.55; }
.img-ph .img-ph__label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
}
.img-ph--wide { aspect-ratio: 16 / 10; }
.img-ph--hero { aspect-ratio: 5 / 4; box-shadow: var(--shadow-lg); }
.img-ph--tall { aspect-ratio: 3 / 4; }

/* -------------------------------------------------------------
   9. About
   ------------------------------------------------------------- */
.about__grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.about__media { position: relative; }
.about__exp {
  position: absolute;
  right: -8px;
  bottom: -18px;
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.about__exp .num { font-family: var(--font-head); font-weight: 700; font-size: 1.8rem; line-height: 1; }
.about__exp .label { font-size: 0.78rem; opacity: 0.9; }
.about__content h2 { margin-bottom: 1rem; }
.about__lead { font-size: 1.1rem; color: var(--charcoal); margin-bottom: 1rem; }
.about__list { display: grid; gap: 0.9rem; margin-top: 1.6rem; }
.about__list li { display: flex; gap: 0.8rem; align-items: flex-start; }
.about__list .tick {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid; place-content: center;
  margin-top: 2px;
}
.about__list .tick svg { width: 15px; height: 15px; }
.about__list strong { font-family: var(--font-head); color: var(--charcoal); display: block; }
.about__list span { font-size: 0.93rem; }

@media (min-width: 880px) {
  .about__grid { grid-template-columns: 0.95fr 1.05fr; }
}

/* -------------------------------------------------------------
   10. Services
   ------------------------------------------------------------- */
.service-category { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.service-category:last-child { margin-bottom: 0; }
.service-category__head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}
.service-category__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  display: grid; place-content: center;
  box-shadow: 0 8px 18px rgba(19, 105, 196, 0.28);
}
.service-category__icon svg { width: 26px; height: 26px; }
.service-category__head h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
.service-category__head p { font-size: 0.9rem; }

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

.service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card .img-ph { border: none; border-radius: 0; aspect-ratio: 16 / 10; }
.service-card__body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.service-card__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid; place-content: center;
  margin: -2.6rem 0 0.9rem;
  position: relative;
  z-index: 1;
  border: 4px solid #fff;
  box-sizing: content-box;
}
.service-card__icon svg { width: 24px; height: 24px; }
.service-card h4 { font-family: var(--font-head); font-size: 1.15rem; margin-bottom: 0.5rem; color: var(--charcoal); }
.service-card p { font-size: 0.93rem; margin-bottom: 1.2rem; flex: 1; }
.service-card .btn { align-self: flex-start; }

/* -------------------------------------------------------------
   11. Why Choose Us
   ------------------------------------------------------------- */
.why { position: relative; }
.why-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }

.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.why-card__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  display: grid; place-content: center;
  margin-bottom: 1.1rem;
  box-shadow: 0 10px 22px rgba(19, 105, 196, 0.25);
}
.why-card__icon svg { width: 28px; height: 28px; }
.why-card h3 { font-size: 1.18rem; margin-bottom: 0.5rem; }
.why-card p { font-size: 0.93rem; }

/* -------------------------------------------------------------
   12. Gallery
   ------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 760px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-item .img-ph { border-radius: 0; border: none; aspect-ratio: 4 / 3; height: 100%; }
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 53, 99, 0.55));
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item .gallery-tag {
  position: absolute;
  left: 12px; bottom: 12px;
  z-index: 2;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition);
}
.gallery-item:hover .gallery-tag { opacity: 1; transform: translateY(0); }

/* -------------------------------------------------------------
   13. Contact
   ------------------------------------------------------------- */
.contact-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 880px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

.contact-cards { display: grid; gap: 1rem; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.contact-card:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.contact-card__icon {
  flex: 0 0 auto;
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid; place-content: center;
}
.contact-card__icon svg { width: 24px; height: 24px; }
.contact-card .label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--grey-light); font-weight: 600; }
.contact-card .value { font-family: var(--font-head); font-weight: 600; color: var(--charcoal); font-size: 1.02rem; word-break: break-word; }

.contact-panel {
  background: linear-gradient(150deg, var(--blue-dark), var(--blue-darker));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-panel h3 { color: #fff; font-size: 1.5rem; margin-bottom: 0.7rem; }
.contact-panel p { color: rgba(255,255,255,0.82); margin-bottom: 1.6rem; }
.contact-panel__address {
  display: flex; gap: 0.7rem; align-items: flex-start;
  padding-top: 1.4rem; margin-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.9);
}
.contact-panel__address svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 3px; }
.contact-panel__cta { display: grid; gap: 0.8rem; }

/* -------------------------------------------------------------
   14. Location
   ------------------------------------------------------------- */
.location__inner {
  display: grid;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.location__info {
  background: #fff;
  padding: clamp(1.8rem, 4vw, 2.6rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.location__info h3 { font-size: 1.4rem; }
.location__info address { font-style: normal; color: var(--grey); line-height: 1.8; }
.location__map {
  position: relative;
  min-height: 320px;
  background: var(--light);
}
.location__map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
@media (min-width: 880px) {
  .location__inner { grid-template-columns: 0.8fr 1.2fr; }
}

/* -------------------------------------------------------------
   15. Footer
   ------------------------------------------------------------- */
.footer { background: var(--charcoal); color: #c7ccd3; padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer a { transition: color var(--transition); }
.footer a:hover { color: #fff; }
.footer__grid {
  display: grid;
  gap: 2.2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 620px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 940px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }

.footer__brand img { height: 46px; margin-bottom: 1.1rem; }
.footer__brand p { color: #9aa1ab; font-size: 0.94rem; max-width: 32ch; }
.footer__social { display: flex; gap: 0.6rem; margin-top: 1.3rem; }
.footer__social a {
  width: 40px; height: 40px;
  display: grid; place-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.footer__social a:hover { background: var(--blue); }
.footer__social svg { width: 18px; height: 18px; }

.footer h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
}
.footer__links li { margin-bottom: 0.6rem; }
.footer__links a { color: #b6bcc5; font-size: 0.95rem; }
.footer__contact li { display: flex; gap: 0.6rem; align-items: flex-start; margin-bottom: 0.85rem; font-size: 0.94rem; }
.footer__contact svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 3px; color: var(--blue); }
.footer__wa { margin-top: 0.4rem; }

.footer__bottom {
  margin-top: clamp(2.2rem, 5vw, 3.2rem);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
  text-align: center;
  font-size: 0.88rem;
  color: #9aa1ab;
}
.footer__bottom .credit a { color: #fff; font-weight: 600; }
@media (min-width: 720px) {
  .footer__bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* -------------------------------------------------------------
   16. Floating WhatsApp + Back to top
   ------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: clamp(14px, 3vw, 26px);
  bottom: clamp(14px, 3vw, 26px);
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--whatsapp);
  color: #fff;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.wa-float:hover { transform: translateY(-3px) scale(1.02); background: var(--whatsapp-dark); }
.wa-float svg { width: 26px; height: 26px; flex: 0 0 auto; }
.wa-float__label { display: none; }
.wa-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  animation: wa-ring 2.4s ease-out infinite;
}
@keyframes wa-ring {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (min-width: 560px) { .wa-float__label { display: inline; } }

.back-to-top {
  position: fixed;
  right: clamp(14px, 3vw, 26px);
  bottom: calc(clamp(14px, 3vw, 26px) + 70px);
  z-index: 899;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--blue-dark);
  color: #fff;
  display: grid; place-content: center;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition), background var(--transition);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--blue); }

/* -------------------------------------------------------------
   17. Scroll reveal animations
   ------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.4s; }

/* -------------------------------------------------------------
   18. Reduced motion
   ------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
