body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  animation: fx-page-arrive .55s both;
}

body > main { width: 100%; flex: 1 0 auto; }
.site-header { position: sticky; top: 0; z-index: 20; transition: box-shadow .25s, background-color .25s; }
.site-header.is-scrolled { box-shadow: 0 7px 22px #102f3a18; background: #ffffffed; backdrop-filter: blur(12px); }
.brand { position: relative; padding-left: 0; }
.brand-logo { display: block; width: clamp(150px, 15vw, 190px); height: auto; }
.button, .filter-button, .service-card, .plan-card, .project-card, .contact-method, .benefit, .value-card, .faq-item, .stat, .price-point, .service-tabs a, .menu-toggle { transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease, color .24s ease, background-color .24s ease; }
.button { position: relative; overflow: hidden; }
.button::after { position: absolute; inset: 0 auto 0 -120%; width: 70%; content: ""; background: linear-gradient(110deg, transparent, #ffffff70, transparent); transform: skewX(-20deg); transition: left .5s ease; }
.button:hover::after { left: 140%; }
.button:active, .filter-button:active { transform: translateY(1px) scale(.98); }
.site-header .nav-links a:focus-visible, .button:focus-visible, .filter-button:focus-visible, .menu-toggle:focus-visible, summary:focus-visible, a:focus-visible, .back-to-top:focus-visible { outline: 3px solid #00a879; outline-offset: 3px; }
.hero, .about-hero, .services-hero, .portfolio-hero, .contact-hero { background-size: 180% 180%; animation: fx-hero-tide 18s ease-in-out infinite alternate; }
.hero-photo, .hero-image { animation: fx-photo-drift 24s ease-in-out infinite alternate; }
.hero-visual .orbit, .contact-hero::before, .about-hero::before, .services-hero::before, .portfolio-hero::before { animation: fx-orbit 8s ease-in-out infinite alternate; }
.hero-copy h1, .hero h1, .form-heading h2, .section-heading h2 { animation: fx-heading-rise .7s both; }
.hero-copy h1 span, .hero h1 span, .section-heading h2 span, .form-heading h2 span, .cta-copy h2 span { text-shadow: 0 0 24px #48eab144; }
.section-heading .section-kicker::before, .section-heading .section-kicker::after, .form-heading .section-kicker::before, .form-heading .section-kicker::after { transition: width .3s ease; }
.section-heading:hover .section-kicker::before, .section-heading:hover .section-kicker::after { width: 34px; }
.contact-strip { transition: transform .25s ease, box-shadow .25s ease; }
.contact-strip:hover { transform: translateY(-2px); box-shadow: 0 14px 28px #102f3a18; }
.method-icon, .contact-method .method-icon { transition: transform .25s ease, box-shadow .25s ease; }
.contact-method:hover .method-icon, .benefit:hover .benefit-icon { transform: translateY(-3px) rotate(-5deg); box-shadow: 0 7px 16px #008f6833; }
.contact-method a { transition: color .2s ease; }
.contact-method a:hover { color: #008f68; }
.service-card:hover, .plan-card:hover, .project-card:hover, .value-card:hover, .faq-item:hover { transform: translateY(-4px); box-shadow: 0 13px 27px #12324420; }
.service-card, .plan-card, .project-card { position: relative; }
.service-card::before, .plan-card::before { position: absolute; z-index: 2; inset: 0; border: 1px solid transparent; border-radius: inherit; content: ""; pointer-events: none; transition: border-color .25s ease; }
.service-card:hover::before, .plan-card:hover::before { border-color: #00b67c88; }
.service-photo, .project-image { transition: transform .4s ease, filter .3s ease; }
.service-card:hover .service-photo, .project-card:hover .project-image { transform: scale(1.045); filter: saturate(1.1); }
.service-photo::after, .project-card::after { transition: opacity .3s ease; }
.service-card:hover .service-photo::after, .project-card:hover::after { opacity: .8; }
.service-tabs a:hover { color: #008f68; transform: translateY(-2px); }
.filter-button { animation: fx-filter-pop .4s both; }
.filter-button[aria-pressed="true"] { box-shadow: 0 6px 16px #008f6840; }
.stat strong, .price-point strong { font-variant-numeric: tabular-nums; }
.map-link { animation: fx-map-nudge 3s ease-in-out infinite; }
.benefit { border-radius: 12px; }
.benefit:hover { transform: translateY(-2px); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 0; box-shadow: 0 0 0 4px #00c98a24; }
.contact-form input:valid:not(:placeholder-shown), .contact-form textarea:valid:not(:placeholder-shown) { border-color: #39b88e; }
.contact-form select:focus + .select-arrow { transform: translateY(-20%) rotate(225deg); }
.contact-form textarea { transition: min-height .2s ease, border-color .2s ease, box-shadow .2s ease; }
.contact-form textarea:focus { min-height: 94px; }
.contact-form button[type="submit"].is-sending { opacity: .75; cursor: progress; }
.faq-item summary::after { transition: transform .25s ease, background-color .25s ease; }
.faq-item[open] summary::after { background: #006f52; }
.faq-item p { animation: fx-faq-answer .25s ease both; }
.bottom-cta { isolation: isolate; }
.bottom-cta::before, .bottom-cta::after { animation: fx-cta-waves 9s ease-in-out infinite alternate; }
.bottom-cta .button:hover { box-shadow: 0 0 24px #71ffcf8a; }
.floating-whatsapp { position: fixed; right: 20px; bottom: 20px; z-index: 30; display: inline-flex; min-height: 46px; align-items: center; gap: 8px; padding: 0 16px; border: 2px solid #fff; border-radius: 999px; background: #079c69; box-shadow: 0 7px 20px #005d4538; color: white; font-size: 12px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease; }
.floating-whatsapp svg { width: 18px; height: 18px; flex: 0 0 18px; }
.floating-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 10px 24px #005d4555; }
.meta-consent { position: fixed; bottom: 82px; left: 16px; z-index: 60; width: min(460px, calc(100vw - 32px)); padding: 18px; border: 1px solid #cfe3dc; border-radius: 16px; background: #fff; box-shadow: 0 12px 36px #062f3133; color: #173530; font: 13px/1.5 "DM Sans", sans-serif; }
.meta-consent[hidden] { display: none; }
.meta-consent h2 { margin: 0 0 6px; font: 800 16px/1.3 "Manrope", sans-serif; }
.meta-consent p { margin: 0; }
.meta-consent-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.meta-consent-actions button, .meta-consent-settings { min-height: 36px; padding: 7px 12px; border: 1px solid #008f68; border-radius: 999px; background: #008f68; color: #fff; cursor: pointer; font: 700 12px/1.2 "DM Sans", sans-serif; }
.meta-consent-actions button[data-meta-consent-reject] { background: #fff; color: #006f52; }
.meta-consent-actions button:disabled { cursor: not-allowed; opacity: .6; }
.meta-consent-status { margin-top: 8px !important; color: #8c3d12; font-size: 11px; }
.meta-consent-status:empty { display: none; }
.meta-consent-settings { min-height: auto; margin: 8px 0; padding: 5px 10px; background: transparent; color: inherit; font-size: 11px; }
.scroll-progress { position: fixed; top: 0; left: 0; z-index: 40; width: 0; height: 3px; background: linear-gradient(90deg, #00d99a, #008f68); }
.back-to-top { position: fixed; right: 27px; bottom: 78px; z-index: 30; display: grid; width: 40px; height: 40px; place-items: center; border: 0; border-radius: 50%; background: #092f34; box-shadow: 0 4px 14px #0e394537; color: white; cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.site-footer { margin-top: auto; }
.site-share { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 12px; border-top: 1px solid #ffffff12; background: #032e2d; }
.site-share::before { margin-right: 4px; content: "Share DigiAdX"; color: #8fb8af; font: 700 10px "DM Sans", sans-serif; letter-spacing: .4px; }
.site-share a, .site-share button { display: inline-grid; min-width: 32px; min-height: 30px; place-items: center; padding: 4px 11px; border: 1px solid #77cbb74f; border-radius: 999px; background: #ffffff0a; color: #e8f7f3; cursor: pointer; font: 700 10px "DM Sans", sans-serif; transition: transform .2s ease, background .2s ease, color .2s ease; }
.site-share a:hover, .site-share button:hover { transform: translateY(-2px); background: #00a879; color: white; }
.copy-email { margin-left: 5px; padding: 0 6px; border: 1px solid #cfe8df; border-radius: 5px; background: #f5fcf9; color: #00845d; cursor: pointer; font-size: 10px; }
.admin-toast { position: fixed; right: 20px; bottom: 20px; z-index: 50; padding: 12px 16px; border-radius: 10px; background: #062f31; color: white; opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s; pointer-events: none; }
.admin-toast.is-visible { opacity: 1; transform: translateY(0); }
img[loading="lazy"] { animation: fx-image-reveal .5s ease both; }
.js-reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.js-reveal.is-visible { opacity: 1; transform: translateY(0); }
html { scroll-padding-top: 85px; }
@keyframes fx-page-arrive { from { opacity: .75; } to { opacity: 1; } }
@keyframes fx-hero-tide { from { background-position: 0 50%; } to { background-position: 100% 50%; } }
@keyframes fx-photo-drift { from { transform: scale(1); } to { transform: scale(1.035); } }
@keyframes fx-orbit { from { opacity: .65; } to { opacity: 1; } }
@keyframes fx-heading-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fx-filter-pop { from { opacity: .75; } to { opacity: 1; } }
@keyframes fx-map-nudge { 0%, 90%, 100% { transform: translateY(0); } 94% { transform: translateY(-2px); } }
@keyframes fx-cta-waves { from { transform: translateX(-2%) rotate(-2deg); } to { transform: translateX(2%) rotate(2deg); } }
@keyframes fx-faq-answer { from { opacity: .5; } to { opacity: 1; } }
@keyframes fx-image-reveal { from { opacity: .7; } to { opacity: 1; } }
@media (hover: hover) {
  .brand:hover .brand-mark { animation: fx-mark-bob .45s ease; }
  .button:hover, .filter-button:hover { transform: translateY(-2px); }
  .service-icon, .service-card svg { transition: transform .25s ease; }
  .service-card:hover .service-icon, .service-card:hover svg { transform: rotate(-5deg) scale(1.05); }
}
@keyframes fx-mark-bob { 50% { transform: translateY(-58%) rotate(-8deg); } }
@media (max-width: 650px) {
  .site-header .nav-links { z-index: 25; }
  .floating-whatsapp { right: 12px; bottom: 12px; min-height: 42px; }
  .meta-consent { bottom: 66px; left: 12px; width: calc(100vw - 24px); padding: 15px; }
  .back-to-top { right: 18px; bottom: 65px; }
  .site-footer { padding-bottom: 66px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js-reveal { opacity: 1; transform: none; }
}
