/* ============ Tokens ============ */
:root {
  --amber: #F5A623;
  --amber-dark: #E08F0A;
  --ink: #14171c;
  --ink-soft: #2a2f38;
  --mute: #6b7280;
  --line: #e7e7ea;
  --bg: #ffffff;
  --card: #fafafa;
  --whatsapp: #25D366;
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(20, 23, 28, 0.06);
  --shadow-md: 0 10px 30px rgba(20, 23, 28, 0.10);
  --shadow-lg: 0 20px 50px rgba(20, 23, 28, 0.18);
  --container: 1140px;
}

/* ============ Reset / base ============ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Heebo", "Assistant", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 900;
  margin: 0 0 28px;
  position: relative;
  padding-bottom: 10px;
}
.section-title::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: var(--amber);
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn .i { width: 20px; height: 20px; }
.btn--primary {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
  color: #14171c;
  box-shadow: 0 6px 18px rgba(245, 166, 35, 0.35);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(245, 166, 35, 0.45); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.2); }
.btn--whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}
.btn--whatsapp:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45); background: #1faa53; }
.btn--block { width: 100%; }

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  background-color: #14171c;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(180deg, rgba(20,23,28,0.25) 0%, rgba(20,23,28,0.55) 60%, rgba(20,23,28,0.75) 100%),
    radial-gradient(ellipse at 80% 30%, rgba(245,166,35,0.22) 0%, transparent 50%);
}
.hero__inner {
  padding: 100px 20px 80px;
}
.brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 500;
  backdrop-filter: blur(6px);
  margin-bottom: 24px;
}
.brand-chip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 12px rgba(245, 166, 35, 0.8);
}
.hero__title {
  font-size: clamp(2.2rem, 6.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  margin: 0 0 16px;
  letter-spacing: -0.5px;
}
.hero__title .accent {
  color: var(--amber);
}
.hero__sub {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 0 32px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============ About ============ */
.about {
  padding: 80px 20px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
  align-items: center;
}
.about__text h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 900;
  margin: 0 0 18px;
  line-height: 1.2;
}
.about__text p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin: 0 0 14px;
}
.about__sig {
  color: var(--amber-dark);
  font-weight: 700;
  margin-top: 18px !important;
}
.about__photo {
  position: relative;
}
.about__photo::before {
  content: "";
  position: absolute;
  inset-inline-start: -20px;
  top: 20px;
  width: 75%;
  height: 75%;
  background: var(--amber);
  border-radius: var(--radius);
  z-index: 0;
  opacity: 0.15;
}
.about__photo img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* ============ Services ============ */
.services {
  padding: 60px 20px;
}
.services__grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.service-card {
  padding: 26px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--amber);
}
.service-card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  margin-bottom: 14px;
}
.service-card__icon svg { width: 26px; height: 26px; }
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 8px;
}
.service-card p {
  margin: 0;
  color: var(--mute);
  font-size: .95rem;
}

/* ============ Gallery ============ */
.gallery {
  padding: 60px 20px;
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.gallery__item {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--card);
  cursor: zoom-in;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.gallery__item:hover img { transform: scale(1.05); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.88);
  z-index: 1000;
  padding: 30px;
}
.lightbox.is-open { display: flex; }
.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}
.lightbox__close {
  position: absolute;
  top: 16px;
  inset-inline-end: 20px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}
.lightbox__close:hover { background: rgba(255, 255, 255, 0.25); }

/* ============ Testimonials ============ */
.testimonials {
  padding: 60px 20px;
  background: var(--card);
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.quote {
  margin: 0;
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  border-inline-start: 4px solid var(--amber);
  box-shadow: var(--shadow-sm);
}
.quote blockquote {
  margin: 0 0 14px;
  font-size: 1.02rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.quote figcaption {
  font-size: .9rem;
  color: var(--mute);
  font-weight: 500;
}

/* ============ Areas ============ */
.areas {
  padding: 60px 20px;
}
.areas__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0 0 14px;
  list-style: none;
}
.areas__pills li {
  padding: 8px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 500;
  font-size: .95rem;
}
.areas__note {
  color: var(--mute);
  font-size: .95rem;
  margin: 0;
}

/* ============ FAQ ============ */
.faq {
  padding: 60px 20px;
  background: var(--card);
}
.faq__list {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}
.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .15s ease, box-shadow .2s ease;
}
.faq__item:hover { border-color: var(--amber); }
.faq__item[open] {
  border-color: var(--amber);
  box-shadow: var(--shadow-sm);
}
.faq__item summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--amber-dark);
  transition: transform .2s ease;
  line-height: 1;
}
.faq__item[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}
.faq__item summary:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}
.faq__item p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ============ Contact ============ */
.contact {
  background: linear-gradient(135deg, #14171c 0%, #1f242c 100%);
  color: #fff;
  padding: 80px 20px;
}
.contact__inner {
  text-align: center;
  max-width: 720px;
}
.contact__inner h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 900;
  margin: 0 0 14px;
}
.contact__inner h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  background: var(--amber);
  border-radius: 4px;
  margin: 14px auto 0;
}
.contact__lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 22px auto 36px;
}
.contact__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 640px;
  margin: 0 auto;
}
.contact__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px 22px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  transition: transform .12s ease, box-shadow .15s ease, filter .15s ease;
  min-height: 76px;
}
.contact__cta:hover { transform: translateY(-2px); filter: brightness(1.05); }
.contact__cta:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.contact__cta .i { width: 26px; height: 26px; flex-shrink: 0; }
.contact__cta-label { display: block; font-size: 1.02rem; line-height: 1.2; }
.contact__cta-value { display: block; font-size: .88rem; font-weight: 500; opacity: 0.85; margin-top: 2px; }
.contact__cta--call {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
  color: #14171c;
  box-shadow: 0 8px 22px rgba(245, 166, 35, 0.32);
}
.contact__cta--whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.32);
}

/* ============ Floating action buttons ============ */
.fab {
  position: fixed;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-md);
  z-index: 50;
  text-decoration: none;
  transition: transform .15s ease;
}
.fab:hover { transform: scale(1.08); }
.fab svg { width: 28px; height: 28px; }
.fab--whatsapp { background: var(--whatsapp); inset-inline-start: 18px; }
.fab--call     { background: var(--amber);    color: #14171c; inset-inline-start: 84px; }

/* ============ Footer ============ */
.footer {
  background: #0e1116;
  color: rgba(255, 255, 255, 0.75);
  padding: 28px 20px;
  text-align: center;
}
.footer a { color: var(--amber); text-decoration: none; }
.footer p { margin: 4px 0; font-size: .95rem; }
.footer__small { color: rgba(255, 255, 255, 0.4); font-size: .82rem; }
.footer__powered {
  color: rgba(255, 255, 255, 0.32);
  font-size: .75rem;
  letter-spacing: .02em;
  margin-top: 8px !important;
}
.footer__powered a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.3);
  transition: color .15s ease, border-color .15s ease;
}
.footer__powered a:hover {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

/* ============ Mobile ============ */
@media (max-width: 768px) {
  .hero { min-height: 78vh; }
  .hero__inner { padding: 70px 20px 60px; }
  .about { grid-template-columns: 1fr; gap: 30px; padding: 60px 20px; }
  .about__photo { order: -1; max-width: 280px; margin: 0 auto; }
  .about__photo::before { display: none; }
  .contact__actions { grid-template-columns: 1fr; gap: 12px; }
  .fab { display: inline-flex; }
}

@media (min-width: 769px) {
  .fab { display: none; }
}

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

/* ============================================================
   Accessibility (IS 5568 / Regulation 35)
   ============================================================ */

/* Skip link — visible only on keyboard focus */
.skip-link {
  position: absolute;
  inset-inline-start: 12px;
  top: -100px;
  z-index: 1500;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--amber);
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; outline: 3px solid var(--amber); }

/* Trigger button */
.a11y-trigger {
  position: fixed;
  bottom: 18px;
  inset-inline-end: 18px;
  z-index: 60;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 0;
  background: #1c4ed8;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  transition: transform .15s ease, background .15s ease;
}
.a11y-trigger:hover { transform: scale(1.06); background: #1e40af; }
.a11y-trigger:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.a11y-trigger svg { width: 28px; height: 28px; }

/* Panel */
.a11y-panel {
  position: fixed;
  bottom: 84px;
  inset-inline-end: 18px;
  z-index: 70;
  width: min(360px, calc(100vw - 36px));
  max-height: min(560px, calc(100vh - 120px));
  overflow-y: auto;
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.a11y-panel[hidden] { display: none; }
.a11y-panel__head { display: flex; align-items: center; justify-content: space-between; }
.a11y-panel__head h2 { margin: 0; font-size: 1.15rem; }
.a11y-panel__close {
  background: transparent;
  border: 0;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--ink);
}
.a11y-panel__close:hover { background: #f2f2f4; }
.a11y-panel__close:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

.a11y-panel__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.a11y-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 6px;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  font-size: .82rem;
  font-weight: 500;
  color: var(--ink);
  text-align: center;
  min-height: 84px;
}
.a11y-toggle:hover { border-color: #1c4ed8; }
.a11y-toggle:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.a11y-toggle[aria-pressed="true"],
.a11y-toggle.is-active {
  border-color: #1c4ed8;
  background: #eaf0ff;
}
.a11y-toggle__icon {
  width: 26px;
  height: 26px;
  color: #1c4ed8;
}
.a11y-toggle__value {
  font-size: .75rem;
  font-weight: 700;
  color: #1c4ed8;
}

.a11y-reset {
  margin-top: 4px;
  padding: 10px 14px;
  background: #fff;
  border: 1.5px solid #d6443c;
  border-radius: 10px;
  color: #d6443c;
  font-family: inherit;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
}
.a11y-reset:hover { background: #d6443c; color: #fff; }
.a11y-reset:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

.a11y-panel__foot {
  margin: 0;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: .85rem;
  text-align: center;
}
.a11y-panel__foot a { color: #1c4ed8; }

/* Visually-hidden live region */
.a11y-live {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ============ A11y prefs applied via classes on <html> ============ */

/* Text sizing */
html.a11y-text-115 { font-size: 115%; }
html.a11y-text-130 { font-size: 130%; }
html.a11y-text-150 { font-size: 150%; }

/* Line spacing */
html.a11y-lines-16 body, html.a11y-lines-16 p, html.a11y-lines-16 li { line-height: 1.6 !important; }
html.a11y-lines-20 body, html.a11y-lines-20 p, html.a11y-lines-20 li { line-height: 2.0 !important; }

/* High contrast — strengthens text/bg contrast across the page */
html.a11y-contrast-high body { background: #fff !important; color: #000 !important; }
html.a11y-contrast-high .service-card,
html.a11y-contrast-high .quote,
html.a11y-contrast-high .testimonials,
html.a11y-contrast-high .areas__pills li,
html.a11y-contrast-high .contact__form { background: #fff !important; color: #000 !important; border-color: #000 !important; }
html.a11y-contrast-high .mute,
html.a11y-contrast-high p,
html.a11y-contrast-high .service-card p,
html.a11y-contrast-high .areas__note,
html.a11y-contrast-high figcaption { color: #000 !important; }
html.a11y-contrast-high a { color: #0033cc !important; text-decoration: underline !important; }
html.a11y-contrast-high .hero,
html.a11y-contrast-high .contact { background: #000 !important; color: #fff !important; }
html.a11y-contrast-high .hero__overlay { display: none; }
html.a11y-contrast-high .hero__title .accent { color: #ffd34d !important; }
html.a11y-contrast-high .btn--primary { background: #ffd34d !important; color: #000 !important; border: 2px solid #000 !important; }
html.a11y-contrast-high .footer { background: #000 !important; color: #fff !important; }

/* Invert — filter the whole document */
html.a11y-contrast-invert body { filter: invert(1) hue-rotate(180deg); }
html.a11y-contrast-invert img,
html.a11y-contrast-invert video { filter: invert(1) hue-rotate(180deg); }

/* Counter-invert the widget itself so the user can still read it */
html.a11y-contrast-invert .a11y-trigger,
html.a11y-contrast-invert .a11y-panel { filter: invert(1) hue-rotate(180deg); }

/* Highlight links */
html.a11y-links a:not(.skip-link):not(.a11y-panel__foot a) {
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 3px !important;
  background-color: #fff3c4 !important;
  color: #000 !important;
  padding: 0 2px;
}

/* Highlight headings */
html.a11y-headings h1, html.a11y-headings h2, html.a11y-headings h3 {
  outline: 2px dashed #1c4ed8 !important;
  outline-offset: 4px;
  background-color: #eaf0ff !important;
}

/* Readable font — OS stack only, no webfont */
html.a11y-readable-font,
html.a11y-readable-font body,
html.a11y-readable-font * {
  font-family: Arial, "Helvetica Neue", Helvetica, "David", sans-serif !important;
  letter-spacing: 0.02em !important;
}

/* Big cursor */
html.a11y-cursor-big,
html.a11y-cursor-big * { cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'><path d='M6 4 L6 38 L14 30 L19 42 L25 39 L20 28 L32 28 Z' fill='%23000' stroke='%23fff' stroke-width='2'/></svg>") 4 4, auto !important; }

/* Reduce motion */
html.a11y-reduce-motion *,
html.a11y-reduce-motion *::before,
html.a11y-reduce-motion *::after {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
  scroll-behavior: auto !important;
}

/* Print — strip all a11y filters/sizes */
@media print {
  html[class*="a11y-contrast-"] body,
  html[class*="a11y-contrast-"] img,
  html[class*="a11y-contrast-"] video { filter: none !important; }
  html[class*="a11y-text-"] { font-size: 100% !important; }
  html[class*="a11y-lines-"] body,
  html[class*="a11y-lines-"] p,
  html[class*="a11y-lines-"] li { line-height: normal !important; }
  .a11y-trigger, .a11y-panel, .skip-link, .fab, .lightbox { display: none !important; }
}
