/* ==========================================================
   YSR Consultancy — Main Stylesheet
   ========================================================== */

:root {
  --primary: #0B2545;
  --primary-700: #13315C;
  --primary-500: #1E4A80;
  --accent: #C9A227;
  --accent-600: #B08B1A;
  --accent-100: #FBF4DC;
  --bg: #FFFFFF;
  --bg-light: #F7F9FC;
  --text: #1F2937;
  --text-muted: #5B6575;
  --border: #E3E8EF;
  --whatsapp: #25D366;
  --whatsapp-dark: #1DA851;
  --danger: #D93025;
  --success: #188038;

  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(11, 37, 69, 0.06);
  --shadow: 0 10px 30px rgba(11, 37, 69, 0.10);
  --shadow-lg: 0 20px 50px rgba(11, 37, 69, 0.18);
  --transition: 0.3s ease;
  --header-h: 76px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--primary); line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }
p + p { margin-top: 1rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 1rem; top: -60px; z-index: 2000;
  background: var(--accent); color: var(--primary); padding: .6rem 1rem; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section--alt { background: var(--bg-light); }
.section--dark { background: var(--primary); color: #D6DEEA; }
.section--dark h2, .section--dark h3 { color: #fff; }
.text-center { text-align: center; }

.section-head { max-width: 680px; margin: 0 auto 50px; text-align: center; }
.section-head p { color: var(--text-muted); margin-top: .8rem; }
.section--dark .section-head p { color: #B7C3D6; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-size: .8rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; color: var(--accent-600);
  background: var(--accent-100); padding: .35rem .9rem; border-radius: 50px; margin-bottom: .9rem;
}

/* ---------- Icons ---------- */
.icon { display: inline-flex; width: 1.2em; height: 1.2em; flex-shrink: 0; }
.icon svg { width: 100%; height: 100%; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.6rem; border-radius: 50px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: var(--primary); box-shadow: 0 8px 20px rgba(201, 162, 39, .35); }
.btn--primary:hover { background: var(--accent-600); color: #fff; }
.btn--dark { background: var(--primary); color: #fff; }
.btn--dark:hover { background: var(--primary-500); }
.btn--outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn--outline:hover { background: var(--primary); color: #fff; }
.btn--light { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn--light:hover { background: #fff; color: var(--primary); }
.btn--whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 8px 20px rgba(37, 211, 102, .3); }
.btn--whatsapp:hover { background: var(--whatsapp-dark); }
.btn--sm { padding: .55rem 1.1rem; font-size: .85rem; }
.btn--block { width: 100%; }
.btn-group { display: flex; flex-wrap: wrap; gap: 1rem; }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--primary-500); font-family: var(--font-head); font-size: .92rem; }
.link-arrow .icon { transition: transform var(--transition); }
.link-arrow:hover { color: var(--accent-600); }
.link-arrow:hover .icon { transform: translateX(4px); }

#site-header { display: block; min-height: calc(var(--header-h) + 41px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--primary); color: #C9D3E2; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 1rem; }
.topbar__info, .topbar__social { display: flex; gap: 1.4rem; align-items: center; }
.topbar a { display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px); transition: box-shadow var(--transition);
  border-bottom: 1px solid var(--border);
}
.site-header.scrolled { box-shadow: var(--shadow); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.nav__logo img { height: 60px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: .3rem; }
.nav__contact { display: none; }
.nav__link {
  display: inline-flex; align-items: center; gap: .3rem; padding: .6rem .9rem; border-radius: 8px;
  font-family: var(--font-head); font-weight: 500; font-size: .95rem; color: var(--primary);
  background: none; border: 0; cursor: pointer;
}
.nav__link:hover, .nav__link.active { color: var(--accent-600); }
.nav__link.active { position: relative; }
.nav__link.active::after {
  content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .25rem; height: 2px; background: var(--accent); border-radius: 2px;
}
.has-dropdown { position: relative; }
.has-dropdown .chev { width: .9em; height: .9em; transition: transform var(--transition); }
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 270px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: .6rem; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all var(--transition); border-top: 3px solid var(--accent);
  max-height: 16.5rem; overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: var(--accent) transparent;
}
.dropdown::-webkit-scrollbar { width: 6px; }
.dropdown::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 6px; }
.dropdown::-webkit-scrollbar-track { background: transparent; margin: .5rem 0; }
.dropdown a { display: flex; align-items: center; gap: .6rem; padding: .6rem .8rem; border-radius: 8px; font-size: .92rem; color: var(--text); }
.dropdown a .icon { color: var(--accent-600); }
.dropdown a:hover, .dropdown a.active { background: var(--bg-light); color: var(--primary); }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.has-dropdown:hover .chev { transform: rotate(180deg); }
.nav__cta { display: flex; gap: .6rem; align-items: center; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--bg-light);
  cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 11px; width: 22px; height: 2px; background: var(--primary); border-radius: 2px; transition: all var(--transition); content: "";
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -7px; left: 0; }
.nav-toggle span::after { top: 7px; left: 0; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: calc(100vh - var(--header-h) - 40px); display: flex; align-items: center;
  color: #fff; overflow: hidden; padding: 80px 0;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 18s ease-out forwards; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(11,37,69,.95) 0%, rgba(11,37,69,.82) 45%, rgba(11,37,69,.35) 100%);
}
.hero__content { max-width: 680px; animation: fadeUp 1s ease both; }
.hero h1 { color: #fff; margin-bottom: 1.2rem; }
.hero h1 span { color: var(--accent); }
.hero p.lead { font-size: 1.15rem; color: #D6DEEA; margin-bottom: 2rem; max-width: 580px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2.5rem; }
.hero__badge { display: flex; align-items: center; gap: .5rem; font-size: .92rem; color: #D6DEEA; }
.hero__badge .icon { color: var(--accent); }
.hero .eyebrow { background: rgba(201,162,39,.18); color: var(--accent); }

/* Hero slider */
.hero.hero-slider { display: grid; padding: 0; align-items: stretch; isolation: isolate; background: var(--primary); }
.hero-slider::before { content: none; }
.hero__slide {
  grid-area: 1 / 1; position: relative; isolation: isolate; display: flex; align-items: center;
  padding: 80px 0 110px; opacity: 0; visibility: hidden;
  transition: opacity 0s linear 1s, visibility 0s linear 1s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition: opacity 1s ease, visibility 0s; }
.hero__slide::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(11,37,69,.95) 0%, rgba(11,37,69,.82) 45%, rgba(11,37,69,.35) 100%);
}
.hero-slider .hero__bg { overflow: hidden; }
.hero-slider .hero__bg img { animation: none; transform: scale(1.12); transition: transform 7s ease-out; }
.hero-slider .is-active .hero__bg img { transform: scale(1); }
.hero-slider .hero__content { animation: none; }
.hero-slider .is-active .hero__content > * { animation: fadeUp .9s ease both; }
.hero-slider .is-active .hero__content > :nth-child(2) { animation-delay: .15s; }
.hero-slider .is-active .hero__content > :nth-child(3) { animation-delay: .3s; }
.hero-slider .is-active .hero__content > :nth-child(4) { animation-delay: .45s; }
.hero-slider .is-active .hero__content > :nth-child(5) { animation-delay: .6s; }
.hero__title { font-size: clamp(2rem, 5vw, 3.4rem); color: #fff; margin-bottom: 1.2rem; }
.hero__title span { color: var(--accent); }

.hero-slider__btn {
  position: absolute; bottom: 20px; z-index: 5;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.35); color: #fff;
  backdrop-filter: blur(4px); transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.hero-slider__btn:hover { background: var(--accent); border-color: var(--accent); color: var(--primary); }
.hero-slider__btn .icon { width: 22px; height: 22px; }
.hero-slider__btn--prev { left: calc(50% - 110px); }
.hero-slider__btn--next { right: calc(50% - 110px); }
@media (min-width: 1340px) {
  .hero-slider__btn { bottom: auto; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; }
  .hero-slider__btn--prev { left: 24px; }
  .hero-slider__btn--next { right: 24px; }
}
.hero-slider__dots {
  position: absolute; left: 50%; bottom: 36px; z-index: 5; transform: translateX(-50%);
  display: flex; gap: .6rem;
}
.hero-slider__dots button {
  width: 12px; height: 12px; border-radius: 50px; border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.45); transition: width var(--transition), background var(--transition);
}
.hero-slider__dots button:hover { background: rgba(255,255,255,.8); }
.hero-slider__dots button.active { width: 36px; background: var(--accent); }

@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* ---------- Page banner ---------- */
.page-banner {
  position: relative; padding: 110px 0 90px; color: #fff; text-align: center;
  background-color: var(--primary); background-position: center; background-size: cover; background-repeat: no-repeat;
}
.page-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(11,37,69,.88), rgba(11,37,69,.78)); }
.page-banner .container { position: relative; }
.page-banner h1 { color: #fff; margin-bottom: .8rem; }
.page-banner p { color: #D6DEEA; max-width: 640px; margin: 0 auto 1rem; }
.breadcrumb ol { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: .5rem; list-style: none; font-size: .92rem; }
.breadcrumb li { color: var(--accent); }
.breadcrumb li + li::before { content: "/"; color: #9FB0C8; margin-right: .5rem; }
.breadcrumb a { color: #D6DEEA; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Layout helpers ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3.4; object-fit: cover; }
.split__media .badge-float {
  position: absolute; bottom: -25px; right: -15px; background: var(--accent); color: var(--primary);
  padding: 1.2rem 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; font-family: var(--font-head);
}
.badge-float strong { display: block; font-size: 2rem; line-height: 1; }
.badge-float span { font-size: .85rem; font-weight: 600; }
.split__content h2 { margin-bottom: 1rem; }
.split__content > p { color: var(--text-muted); }
.split__content .btn-group { margin-top: 2rem; }

.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.check-list { display: grid; gap: .6rem; margin-top: 1.2rem; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; min-width: 0; overflow-wrap: anywhere; }
.check-list .icon { color: var(--accent-600); margin-top: .25rem; }
.check-list--2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 70px; }
.stat { background: #fff; border-radius: var(--radius); padding: 1.8rem 1rem; text-align: center; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.stat__num { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: var(--primary); line-height: 1.1; }
.stat__num span { color: var(--accent); }
.stat__label { color: var(--text-muted); font-size: .92rem; margin-top: .3rem; }

/* ---------- Service cards ---------- */
.service-card {
  position: relative; container-type: inline-size;
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border); display: flex; flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
/* Media stays unpositioned so the icon is anchored to the card and not clipped by the media's overflow */
.service-card__media { aspect-ratio: 16/10; overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card:hover .service-card__media img { transform: scale(1.08); }
.service-card__icon {
  position: absolute; z-index: 2; left: 20px; top: calc(62.5cqw - 26px); width: 52px; height: 52px; border-radius: 12px;
  background: var(--accent); color: var(--primary); display: grid; place-items: center; box-shadow: var(--shadow);
}
.service-card__icon .icon { width: 26px; height: 26px; }
.service-card__body { padding: 2.2rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.service-card__body h3 { margin-bottom: .5rem; }
.service-card__body p { color: var(--text-muted); font-size: .95rem; flex: 1; margin-bottom: 1rem; }

/* ---------- Feature boxes ---------- */
.feature {
  background: #fff; padding: 2rem 1.6rem; border-radius: var(--radius); border: 1px solid var(--border);
  transition: all var(--transition); position: relative; overflow: hidden;
}
.feature::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--transition); }
.feature:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.feature:hover::before { transform: scaleX(1); }
.feature__icon {
  width: 60px; height: 60px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.2rem;
  background: var(--accent-100); color: var(--accent-600); transition: all var(--transition);
}
.feature__icon .icon { width: 28px; height: 28px; }
.feature:hover .feature__icon { background: var(--primary); color: var(--accent); }
.feature h3 { margin-bottom: .5rem; }
.feature p { color: var(--text-muted); font-size: .95rem; }
.section--dark .feature { background: var(--primary-700); border-color: rgba(255,255,255,.08); }
.section--dark .feature p { color: #B7C3D6; }
.section--dark .feature__icon { background: rgba(201,162,39,.15); color: var(--accent); }
.section--dark .feature:hover .feature__icon { background: var(--accent); color: var(--primary); }

/* ---------- Testimonials slider ---------- */
.slider { position: relative; max-width: 820px; margin: 0 auto; }
.slider__viewport { overflow: hidden; border-radius: var(--radius-lg); }
.slider__track { display: flex; transition: transform .6s ease; }
.slide { min-width: 100%; padding: 10px; }
.testimonial { background: #fff; border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow-sm); text-align: center; border: 1px solid var(--border); }
.testimonial__quote { color: var(--accent); width: 44px; height: 44px; margin: 0 auto 1rem; }
.testimonial blockquote { font-size: 1.08rem; color: var(--text); font-style: italic; margin-bottom: 1.4rem; }
.stars { color: var(--accent); display: flex; justify-content: center; gap: 2px; margin-bottom: .8rem; }
.testimonial__author strong { display: block; font-family: var(--font-head); color: var(--primary); }
.testimonial__author span { color: var(--text-muted); font-size: .9rem; }
.slider__btn {
  position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: #fff; color: var(--primary); box-shadow: var(--shadow); cursor: pointer; display: grid; place-items: center;
  transition: all var(--transition);
}
.slider__btn:hover { background: var(--accent); }
.slider__btn--prev { left: -64px; }
.slider__btn--next { right: -64px; }
.slider__dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.5rem; }
.slider__dots button { width: 10px; height: 10px; border-radius: 10px; border: 0; background: #C5CEDA; cursor: pointer; transition: all var(--transition); }
.slider__dots button.active { width: 28px; background: var(--accent); }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative; padding: 80px 0; color: #fff; text-align: center;
  background: var(--primary) url("../images/cta-bg.jpg") center/cover no-repeat fixed;
}
.cta-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(11,37,69,.95), rgba(19,49,92,.85)); }
.cta-banner .container { position: relative; }
.cta-banner h2 { color: #fff; margin-bottom: .8rem; }
.cta-banner p { color: #D6DEEA; max-width: 600px; margin: 0 auto 2rem; }
.cta-banner .btn-group { justify-content: center; }

.cta-strip { background: var(--accent); padding: 40px 0; }
.cta-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.cta-strip h3 { font-size: 1.5rem; }
.cta-strip p { color: var(--primary); opacity: .85; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq__item { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; transition: box-shadow var(--transition), border-color var(--transition); }
.faq__item.open { box-shadow: var(--shadow); border-color: var(--accent); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-align: left;
  padding: 1.2rem 1.4rem; background: none; border: 0; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--primary);
}
.faq__toggle { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-100); flex-shrink: 0; transition: background var(--transition); }
.faq__toggle::before, .faq__toggle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; background: var(--accent-600); transform: translate(-50%, -50%); transition: transform var(--transition); }
.faq__toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.open .faq__toggle { background: var(--accent); }
.faq__item.open .faq__toggle::before, .faq__item.open .faq__toggle::after { background: var(--primary); }
.faq__item.open .faq__toggle::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a { height: 0; overflow: hidden; transition: height .35s ease; }
.faq__a-inner { padding: 0 1.4rem 1.3rem; color: var(--text-muted); }

/* ---------- About ---------- */
.mv-card { background: #fff; border-radius: var(--radius); padding: 1.6rem; border-left: 4px solid var(--accent); box-shadow: var(--shadow-sm); }
.mv-card h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; }
.mv-card h3 .icon { color: var(--accent-600); }
.mv-card p { color: var(--text-muted); font-size: .95rem; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 1.8rem; }

.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; position: relative; counter-reset: step; }
.timeline::before { content: ""; position: absolute; top: 34px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 10px, transparent 10px 18px); }
.timeline--4 { grid-template-columns: repeat(4, 1fr); }
.step { text-align: center; position: relative; }
.step__num {
  width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 1.2rem; display: grid; place-items: center;
  background: var(--primary); color: var(--accent); font-family: var(--font-head); font-weight: 700; font-size: 1.4rem;
  border: 5px solid #fff; box-shadow: 0 0 0 2px var(--accent); position: relative; z-index: 1;
}
.section--alt .step__num { border-color: var(--bg-light); }
.step h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.step p { color: var(--text-muted); font-size: .92rem; }

.team-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); text-align: center; transition: all var(--transition); border: 1px solid var(--border); }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-card__img { aspect-ratio: 1/1.05; overflow: hidden; }
.team-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s ease; }
.team-card:hover .team-card__img img { transform: scale(1.06); }
.team-card__body { padding: 1.2rem; }
.team-card__body h3 { font-size: 1.1rem; }
.team-card__body span { color: var(--accent-600); font-size: .9rem; font-weight: 500; }

/* ---------- Services page rows ---------- */
.service-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; padding: 50px 0; border-bottom: 1px solid var(--border); overflow-wrap: anywhere; }
.service-row:last-child { border-bottom: 0; }
.service-row:nth-child(even) .service-row__media { order: 2; }
.service-row__media { position: relative; }
.service-row__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 16/11; object-fit: cover; }
.service-row__num { position: absolute; top: -18px; left: -18px; width: 64px; height: 64px; border-radius: 16px; background: var(--accent); color: var(--primary); font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; display: grid; place-items: center; box-shadow: var(--shadow); }
.service-row:nth-child(even) .service-row__num { left: auto; right: -18px; }
.service-row h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: .8rem; }
.service-row p { color: var(--text-muted); }
.service-row .btn-group { margin-top: 1.6rem; }

/* ---------- Service detail ---------- */
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; overflow-wrap: anywhere; }
.detail-main > img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 16/9; object-fit: cover; box-shadow: var(--shadow); margin-bottom: 2rem; }
.detail-main h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 2.4rem 0 1rem; }
.detail-main h2:first-of-type { margin-top: 0; }
.detail-main > p { color: var(--text-muted); }
.detail-main .faq { margin: 0; }
.benefit { display: flex; gap: 1rem; background: var(--bg-light); padding: 1.3rem; border-radius: var(--radius); border: 1px solid var(--border); }
.benefit .feature__icon { width: 50px; height: 50px; margin: 0; flex-shrink: 0; }
.benefit h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.benefit p { color: var(--text-muted); font-size: .92rem; }
.process-list { counter-reset: proc; display: grid; gap: 1rem; }
.process-list li { counter-increment: proc; display: flex; gap: 1rem; align-items: flex-start; }
.process-list li::before {
  content: counter(proc, decimal-leading-zero); flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px;
  background: var(--primary); color: var(--accent); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700;
}
.process-list strong { display: block; font-family: var(--font-head); color: var(--primary); }
.process-list span { color: var(--text-muted); font-size: .94rem; }

.sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 24px; }
.widget { background: var(--bg-light); border-radius: var(--radius); padding: 1.6rem; border: 1px solid var(--border); }
.widget h3 { font-size: 1.15rem; margin-bottom: 1rem; padding-bottom: .7rem; border-bottom: 2px solid var(--border); position: relative; }
.widget h3::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 50px; height: 2px; background: var(--accent); }
.service-nav { display: grid; gap: .5rem; }
.service-nav a {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .85rem 1rem; border-radius: 10px;
  background: #fff; font-weight: 500; font-size: .94rem; border: 1px solid var(--border); transition: all var(--transition);
}
.service-nav a:hover { border-color: var(--accent); color: var(--primary); }
.service-nav a.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.service-nav a.active .icon { color: var(--accent); }
.widget--help { background: var(--primary); color: #D6DEEA; text-align: center; border: 0; }
.widget--help h3 { color: #fff; border-color: rgba(255,255,255,.12); }
.widget--help h3::after { left: 50%; transform: translateX(-50%); }
.widget--help .help-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--primary); display: grid; place-items: center; margin: 0 auto 1rem; }
.widget--help .help-icon .icon { width: 30px; height: 30px; }
.widget--help .phone-big { display: block; font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; color: #fff; margin: .4rem 0 1.2rem; }
.widget--help .btn { width: 100%; margin-top: .6rem; }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 40px; }
.filter-btn {
  padding: .6rem 1.3rem; border-radius: 50px; border: 2px solid var(--border); background: #fff; cursor: pointer;
  font-family: var(--font-head); font-weight: 500; font-size: .92rem; color: var(--primary); transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--accent); }
.filter-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.gallery-toolbar { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-bottom: 40px; }
.gallery-toolbar__search, .gallery-toolbar__select {
  position: relative; display: flex; align-items: center; background: #fff; border: 2px solid var(--border); border-radius: 50px;
  transition: border-color var(--transition);
}
.gallery-toolbar__search:focus-within, .gallery-toolbar__select:focus-within { border-color: var(--accent); }
.gallery-toolbar__search { flex: 1 1 320px; max-width: 420px; padding-left: 1.1rem; color: var(--primary-500); }
.gallery-toolbar__search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: .7rem 1.1rem .7rem .6rem; font: inherit; font-size: .95rem; color: var(--primary); }
.gallery-toolbar__select { flex: 0 1 240px; }
.gallery-toolbar__select select {
  width: 100%; appearance: none; -webkit-appearance: none; border: 0; outline: 0; background: transparent; cursor: pointer;
  padding: .7rem 2.6rem .7rem 1.2rem; font-family: var(--font-head); font-weight: 500; font-size: .92rem; color: var(--primary);
}
.gallery-toolbar__select > [data-icon] { position: absolute; right: 1rem; pointer-events: none; color: var(--primary-500); display: flex; }
.gallery-toolbar [data-icon] svg { width: 18px; height: 18px; }
@media (max-width: 575px) { .gallery-toolbar__search, .gallery-toolbar__select { flex-basis: 100%; max-width: none; } }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 18px; grid-auto-flow: dense; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; border: 0; padding: 0; background: var(--border); transition: opacity .4s ease, transform .4s ease; }
.gallery-item--tall { grid-row: span 2; }
.gallery-item--wide { grid-column: span 2; }
.gallery-item--full { grid-column: 1 / -1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-item__overlay {
  position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,37,69,.9), rgba(11,37,69,.2));
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: 1.2rem; color: #fff;
  opacity: 0; transition: opacity var(--transition); text-align: left;
}
.gallery-item__overlay .zoom { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(.6); width: 54px; height: 54px; border-radius: 50%; background: var(--accent); color: var(--primary); display: grid; place-items: center; transition: transform var(--transition); }
.gallery-item__overlay strong { font-family: var(--font-head); }
.gallery-item__overlay span { font-size: .85rem; color: var(--accent); }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.1); }
.gallery-item:hover .gallery-item__overlay, .gallery-item:focus-visible .gallery-item__overlay { opacity: 1; }
.gallery-item:hover .zoom { transform: translate(-50%, -50%) scale(1); }
.gallery-item.hide { display: none; }
.gallery-item.fade-in { animation: fadeIn .45s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

.lightbox { position: fixed; inset: 0; z-index: 3000; background: rgba(5, 15, 30, .95); display: none; align-items: center; justify-content: center; padding: 60px 20px; }
.lightbox.open { display: flex; animation: fadeIn .3s ease; }
.lightbox__figure { max-width: 1100px; width: 100%; text-align: center; }
.lightbox__figure img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox__figure figcaption { color: #fff; margin-top: 1rem; font-family: var(--font-head); }
.lightbox__figure figcaption small { display: block; color: #9FB0C8; font-family: var(--font-body); }
.lightbox__btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background var(--transition); }
.lightbox__btn:hover { background: var(--accent); color: var(--primary); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.contact-card {
  background: #fff; border-radius: var(--radius); padding: 2rem 1.4rem; text-align: center; border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); transition: all var(--transition); display: block;
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--accent); }
.contact-card .feature__icon { margin: 0 auto 1rem; }
.contact-card--wa .feature__icon { background: #E3F9EB; color: var(--whatsapp-dark); }
.contact-card h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.contact-card p { color: var(--text-muted); font-size: .95rem; word-break: break-word; }
.contact-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 40px; }
.contact-actions .btn { padding: 1.05rem 2.2rem; font-size: 1.05rem; }

.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.form-card { background: #fff; padding: 2.4rem; border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--border); }
.form-card h2 { margin-bottom: .4rem; }
.form-card > p { color: var(--text-muted); margin-bottom: 1.6rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label, .form-group legend { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; color: var(--primary); }
.form-group label .req { color: var(--danger); }
.form-control {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--border); border-radius: 10px; background: var(--bg-light);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.form-control:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(201,162,39,.15); }
textarea.form-control { min-height: 130px; resize: vertical; }
.form-group.invalid .form-control { border-color: var(--danger); background: #FFF6F5; }
.error-msg { color: var(--danger); font-size: .82rem; margin-top: .3rem; min-height: 1em; display: none; }
.form-group.invalid .error-msg { display: block; }
fieldset.form-group { border: 0; }
.radio-group { display: flex; flex-wrap: wrap; gap: .8rem; }
.radio-group label { display: inline-flex; align-items: center; gap: .45rem; font-weight: 500; color: var(--text); padding: .55rem 1rem; border: 1.5px solid var(--border); border-radius: 50px; cursor: pointer; margin: 0; transition: all var(--transition); }
.radio-group input { accent-color: var(--primary); }
.radio-group label:has(input:checked) { border-color: var(--primary); background: var(--bg-light); }
.form-success {
  display: none; align-items: center; gap: .7rem; background: #E7F6EC; color: var(--success); padding: 1rem 1.2rem;
  border-radius: 10px; margin-top: 1rem; font-weight: 500;
}
.form-success.show { display: flex; animation: fadeIn .4s ease; }
.form-note { font-size: .82rem; color: var(--text-muted); margin-top: .8rem; text-align: center; }

.info-stack { display: grid; gap: 24px; }
.hours-list li { display: flex; justify-content: space-between; padding: .7rem 0; border-bottom: 1px dashed var(--border); font-size: .95rem; }
.hours-list li:last-child { border-bottom: 0; }
.hours-list li span:last-child { font-weight: 600; color: var(--primary); }
.hours-list li.closed span:last-child { color: var(--danger); }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); line-height: 0; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #071A33; color: #A9B6C9; padding-top: 70px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr; gap: 40px; padding-bottom: 50px; }
.footer-col h4 { color: #fff; font-size: 1.1rem; margin-bottom: 1.3rem; position: relative; padding-bottom: .7rem; }
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--accent); }
.footer-col img { height: 72px; width: auto; margin-bottom: 1.2rem; }
.footer-links { display: grid; gap: .6rem; }
.footer-links a { display: inline-flex; align-items: center; gap: .4rem; }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact li { display: flex; gap: .8rem; margin-bottom: 1rem; align-items: flex-start; }
.footer-contact .icon { color: var(--accent); margin-top: .25rem; }
.footer-contact a:hover { color: var(--accent); }
.social { display: flex; gap: .6rem; margin-top: 1.4rem; }
.social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.07); display: grid; place-items: center; color: #fff; transition: all var(--transition); }
.social a:hover { background: var(--accent); color: var(--primary); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; font-size: .88rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Floating buttons ---------- */
.float-wa, .float-call, .back-to-top {
  position: fixed; z-index: 900; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; box-shadow: var(--shadow-lg); transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
}
.float-wa { right: 22px; bottom: 22px; background: var(--whatsapp); }
.float-wa::before, .float-wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--whatsapp); z-index: -1; animation: pulse 2s ease-out infinite; }
.float-wa::after { animation-delay: 1s; }
.float-wa .icon, .float-call .icon { width: 30px; height: 30px; }
.float-wa:hover, .float-call:hover { transform: scale(1.1); }
.float-call { left: 22px; bottom: 22px; background: var(--primary); }
.float-call::before, .float-call::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--primary); z-index: -1; animation: pulse 2s ease-out infinite; }
.float-call::after { animation-delay: 1s; }
.float-tooltip { position: absolute; right: 70px; background: #fff; color: var(--primary); padding: .4rem .8rem; border-radius: 8px; font-size: .82rem; font-weight: 600; white-space: nowrap; box-shadow: var(--shadow); opacity: 0; transform: translateX(10px); transition: all var(--transition); pointer-events: none; }
.float-call .float-tooltip { right: auto; left: 70px; transform: translateX(-10px); }
.float-wa:hover .float-tooltip, .float-call:hover .float-tooltip { opacity: 1; transform: none; }
.back-to-top { right: 28px; bottom: 96px; width: 46px; height: 46px; border: 0; cursor: pointer; background: var(--accent); color: var(--primary); opacity: 0; visibility: hidden; }
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-4px); }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1200px) {
  .slider__btn--prev { left: 0; }
  .slider__btn--next { right: 0; }
  .slider { padding: 0 60px; }
}

@media (max-width: 992px) {
  .nav-toggle { display: block; }
  .nav__cta .btn--call-label { display: none; }
  /* The off-canvas menu is translated off-screen; without clipping it widens the page on phones and pushes fixed buttons out of view */
  .site-header { overflow-x: clip; }
  .nav__menu {
    /* .site-header's backdrop-filter makes it the containing block for this fixed menu */
    position: fixed; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 1.2rem 20px 5rem; gap: .2rem; overflow-y: auto; transform: translateX(100%); visibility: hidden;
    transition: transform .35s ease, visibility .35s; border-top: 1px solid var(--border); z-index: 999;
  }
  .nav__menu.open { transform: none; visibility: visible; }
  .nav__link { width: 100%; justify-content: space-between; padding: .9rem 1rem; font-size: 1.05rem; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav__link.active::after { display: none; }
  .nav__link.active { background: var(--bg-light); }
  .nav__contact { display: flex; flex-direction: column; gap: .3rem; margin-top: 1.5rem; padding: 1.3rem 1rem; background: var(--bg-light); border-radius: var(--radius); }
  .nav__contact h4 { font-size: 1rem; margin-bottom: .4rem; }
  .nav__contact > a, .nav__contact > span { display: flex; align-items: center; gap: .7rem; padding: .35rem 0; font-size: .95rem; color: var(--text); word-break: break-word; }
  .nav__contact > a:hover { color: var(--accent-600); }
  .nav__contact > a .icon, .nav__contact > span .icon { color: var(--accent-600); }
  .nav__contact .social { margin-top: .8rem; }
  .nav__contact .social a { background: var(--primary); }
  .nav__contact .social a:hover { background: var(--accent); }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: 0; padding: 0 0 0 .8rem; display: none; min-width: 0; max-height: 15rem; }
  .has-dropdown.open .dropdown { display: block; }
  .has-dropdown.open .chev { transform: rotate(180deg); }
  .has-dropdown:hover .chev { transform: none; }
  .has-dropdown.open:hover .chev { transform: rotate(180deg); }
  body.menu-open { overflow: hidden; }

  .split, .service-row, .contact-layout, .detail-layout { grid-template-columns: 1fr; gap: 40px; }
  .service-row:nth-child(even) .service-row__media { order: 0; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4, .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .timeline, .timeline--4 { grid-template-columns: 1fr; gap: 0; max-width: 520px; margin: 0 auto; }
  .timeline::before { top: 0; bottom: 0; left: 34px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--accent) 0 10px, transparent 10px 18px); }
  .step { display: grid; grid-template-columns: 70px 1fr; gap: 0 1.2rem; text-align: left; padding-bottom: 1.8rem; }
  .step__num { margin: 0; grid-row: span 2; }
  .step h3 { align-self: end; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-banner { background-attachment: scroll; }
  .topbar__social { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .page-banner { padding: 80px 0 60px; }
  .hero { min-height: auto; padding: 90px 0 80px; }
  .hero.hero-slider { padding: 0; }
  .hero__slide { padding: 80px 0 90px; }
  .hero-slider__btn { bottom: 12px; }
  .hero-slider__dots { bottom: 28px; }
  .topbar .topbar__email { display: none; }
  .topbar .container { justify-content: center; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .form-row, .mv-grid, .check-list--2 { grid-template-columns: 1fr; gap: 0; }
  .mv-grid { gap: 16px; }
  .form-card { padding: 1.6rem; }
  .split__media .badge-float { right: 10px; bottom: -20px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; transform: none; }
  .lightbox__prev { left: calc(50% - 60px); }
  .lightbox__next { right: calc(50% - 60px); }
  .slider { padding: 0; }
  .slider__btn { display: none; }
  .testimonial { padding: 1.8rem 1.3rem; }
  .cta-strip .container { flex-direction: column; text-align: center; }
}

@media (max-width: 576px) {
  .grid--2, .grid--3, .grid--4, .contact-cards, .footer-grid { grid-template-columns: 1fr; }
  .stats { gap: 12px; }
  .stat { padding: 1.3rem .6rem; }
  .stat__num { font-size: 1.9rem; }
  .btn-group .btn { flex: 1 1 100%; }
  .hero__badges { gap: .8rem 1.2rem; }
  .nav__logo img { height: 50px; }
  .gallery-grid { grid-auto-rows: 150px; gap: 10px; }
  .gallery-item--wide { grid-column: span 2; }
  .service-row__num { width: 52px; height: 52px; font-size: 1.1rem; top: -12px; left: -6px; }
  .service-row:nth-child(even) .service-row__num { right: -6px; }
  .topbar { font-size: .8rem; }
  .float-wa, .float-call { width: 52px; height: 52px; bottom: 16px; }
  .float-wa { right: 16px; }
  .float-call { left: 16px; }
  .float-wa .icon, .float-call .icon { width: 26px; height: 26px; }
  .float-tooltip { display: none; }
  .back-to-top { right: 19px; bottom: 80px; }
}

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

/* ---------- Server-side form feedback ---------- */
.form-success.form-success--top { margin: 0 0 1.2rem; }
.form-alert { display: flex; align-items: center; gap: .7rem; background: #FFF6F5; color: var(--danger); padding: 1rem 1.2rem; border-radius: 10px; margin: 0 0 1.2rem; font-weight: 500; }
.btn.is-loading { opacity: .7; pointer-events: none; }
.empty-state { text-align: center; color: var(--text-muted); padding: 40px 0; }
