/* =====================================================
   CLASICOH KARLS — FINAL RESPONSIVE / POLISH FIXES
   This file intentionally overrides existing styles without
   redesigning the approved pages.
===================================================== */

/* ---------- Global width safety ---------- */

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

main,
section,
.site-header,
.site-footer,
.hero,
.hero-copy,
.hero-visual {
  min-width: 0;
  max-width: 100%;
}


/* ---------- Header consistency ---------- */

#site-header {
  position: sticky !important;
  top: 0;
  z-index: 5000;
  width: 100%;
}

.site-header {
  position: relative;
}

.desktop-nav {
  font-size: 15px;
}

.desktop-nav a {
  font-weight: 500;
}


/* ---------- Home visual readability ---------- */

.service-dot {
  font-size: 12px;
  padding: 9px 13px;
}

.service-dot i {
  font-size: 15px;
}

.ticker-group span {
  font-size: 11px;
  font-weight: 700;
}

.hero-lead,
.section-lead,
.advantage-description,
.advantage-content p,
.method-step p,
.service-card p {
  font-size: 15px;
}


/* ---------- Contact cards ---------- */

.contact-info-card {
  padding: 34px;
}

.contact-card-label {
  font-size: 11px;
}

.contact-info-card h2 {
  font-size: 30px;
}

.contact-info-row small {
  font-size: 10px;
}

.contact-info-row strong {
  font-size: 17px;
  line-height: 1.45;
}

.contact-info-icon {
  width: 46px;
  height: 46px;
  flex-basis: 46px;
  font-size: 19px;
}

.contact-field textarea {
  min-height: 118px;
  max-height: 320px;
  resize: none;
  overflow-y: hidden;
}


/* ---------- Floating WhatsApp ---------- */

.whatsapp-float-wrap {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 4100;
}

.floating-whatsapp {
  width: 54px;
  height: 54px;
  padding: 0;

  display: grid;
  place-items: center;

  border: 1px solid rgba(236, 244, 1, .45);
  border-radius: 50%;

  background: #040315;
  color: #ecf401;

  cursor: pointer;

  box-shadow: 0 10px 30px rgba(0, 0, 0, .30);

  transition:
    transform .25s ease,
    background .25s ease,
    color .25s ease,
    border-color .25s ease;
}

.floating-whatsapp svg {
  width: 25px;
  height: 25px;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible,
.floating-whatsapp[aria-expanded="true"] {
  background: #ecf401;
  color: #040315;
  border-color: #ecf401;
  transform: translateY(-3px);
}

.whatsapp-service-menu {
  position: absolute;
  left: 0;
  bottom: 68px;

  width: min(330px, calc(100vw - 32px));

  padding: 17px;

  border: 1px solid rgba(253, 249, 250, .13);
  border-radius: 15px;

  background: rgba(4, 3, 21, .98);
  color: #fdf9fa;

  box-shadow: 0 22px 65px rgba(0, 0, 0, .42);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.whatsapp-service-menu[hidden] {
  display: none !important;
}

.whatsapp-service-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 14px;
}

.whatsapp-service-head small {
  display: block;
  margin-bottom: 4px;
  color: #ecf401;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .15em;
}

.whatsapp-service-head strong {
  font-size: 17px;
}

.whatsapp-service-close {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(253, 249, 250, .55);
  font-size: 24px;
  cursor: pointer;
}

.whatsapp-service-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.whatsapp-service-options button {
  min-height: 42px;
  padding: 9px 10px;

  border: 1px solid rgba(253, 249, 250, .11);
  border-radius: 9px;

  background: rgba(253, 249, 250, .035);
  color: rgba(253, 249, 250, .78);

  font-size: 11px;
  font-weight: 700;
  text-align: left;

  cursor: pointer;

  transition:
    border-color .2s ease,
    color .2s ease,
    background .2s ease;
}

.whatsapp-service-options button:hover,
.whatsapp-service-options button:focus-visible {
  border-color: rgba(236, 244, 1, .48);
  color: #ecf401;
  background: rgba(236, 244, 1, .045);
}

.whatsapp-service-options .whatsapp-direct-option {
  grid-column: 1 / -1;
  text-align: center;
  background: #ecf401;
  color: #040315;
  border-color: #ecf401;
}


/* ---------- Tablet/mobile ---------- */

@media (max-width: 900px) {

  body {
    padding-top: 82px;
  }

  #site-header {
    position: fixed !important;
    inset: 0 0 auto 0;
  }

  .desktop-nav.mobile-nav-open > a:not(.mobile-contact-btn) {
    font-size: 17px !important;
    font-weight: 600;
  }

  .hero-visual {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .footer-main {
    grid-template-columns: minmax(0, 1.1fr) minmax(150px, .65fr) minmax(220px, .85fr);
    gap: 38px;
  }

  .footer-brand img {
    width: 300px;
  }

  .footer-column a {
    font-size: 15px;
  }

}


@media (max-width: 600px) {

  body {
    padding-top: 70px;
  }

  .hero,
  .hero-copy,
  .hero-visual {
    width: 100%;
    max-width: 100%;
  }

  .hero {
    overflow: hidden;
  }

  .hero-visual {
    overflow: hidden;
  }

  .hero h1 {
    max-width: 100%;
  }

  .hero-lead {
    font-size: 15px;
  }

  .service-dot {
    font-size: 10px;
    padding: 7px 9px;
  }

  .service-dot i {
    font-size: 12px;
  }

  .dot-2 {
    right: 1%;
  }

  .dot-3 {
    right: 0;
  }

  .dot-4 {
    right: 1%;
  }

  .dot-6,
  .dot-7 {
    left: 0;
  }

  .ticker {
    padding: 16px 0;
  }

  .ticker-group span {
    font-size: 10px;
    letter-spacing: .14em;
    margin-right: 42px;
  }

  .section-lead,
  .advantage-description,
  .advantage-content p,
  .method-step p,
  .service-card p {
    font-size: 15px;
  }

  /* Footer becomes one clean vertical flow */
  .footer-main {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 54px 0 48px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-brand img {
    width: 245px;
    max-height: 125px;
    margin-top: -10px;
  }

  .footer-brand p {
    margin-top: 12px;
    font-size: 16px;
  }

  .footer-brand > span {
    font-size: 15px;
  }

  .footer-column {
    gap: 14px;
  }

  .footer-column h4 {
    font-size: 13px;
  }

  .footer-column a {
    font-size: 16px;
  }

  .footer-contact .footer-phone {
    font-size: 21px;
  }

  .footer-contact .footer-email {
    font-size: 16px;
  }

  .footer-location {
    font-size: 15px;
  }

  .footer-bottom {
    min-height: auto;
    padding: 22px 0 24px;

    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;

    gap: 12px;

    font-size: 11px;
  }

  .footer-copyright {
    max-width: none;
    line-height: 1.5;
  }

  .footer-legal {
    margin-left: 0;
    gap: 20px;
    white-space: normal;
  }

  .footer-legal a {
    font-size: 11px;
  }

  /* Contact */
  .contact-info-card {
    padding: 28px;
  }

  .contact-info-card h2 {
    font-size: 29px;
  }

  .contact-info-row strong {
    font-size: 17px;
  }

  .contact-info-row small {
    font-size: 10px;
  }

  .contact-field textarea {
    min-height: 110px;
    max-height: 280px;
  }

  /* WhatsApp floats on left; back-to-top remains right */
  .whatsapp-float-wrap {
    left: 16px;
    bottom: 16px;
  }

  .floating-whatsapp {
    width: 50px;
    height: 50px;
  }

  .whatsapp-service-menu {
    bottom: 62px;
    width: min(325px, calc(100vw - 32px));
  }

  .whatsapp-service-options {
    grid-template-columns: 1fr;
  }

  .whatsapp-service-options .whatsapp-direct-option {
    grid-column: auto;
  }
}


@media (prefers-reduced-motion: reduce) {
}


/* =====================================================
   NAVIGATION — CURRENT PAGE INDICATOR
===================================================== */

.desktop-nav a.nav-link-active,
.desktop-nav a[aria-current="page"] {
  color: var(--accent) !important;
}

.desktop-nav a.nav-link-active::after,
.desktop-nav a[aria-current="page"]::after {
  opacity: 1;
}


/* Mobile / tablet current-page state */
@media (max-width: 900px) {

  .desktop-nav.mobile-nav-open
  > a.nav-link-active:not(.mobile-contact-btn),

  .desktop-nav.mobile-nav-open
  > a[aria-current="page"]:not(.mobile-contact-btn) {
    color: var(--accent) !important;
  }

}


/* =====================================================
   FLOATING CONTROLS — BRAND GREEN INTERACTION
   Keep the existing shapes. Use green/yellow-green instead
   of yellow, and do not make WhatsApp jump/pop on interaction.
===================================================== */

.floating-whatsapp {
  color: #d8ff61 !important;
  border-color: rgba(216, 255, 97, 0.48) !important;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible,
.floating-whatsapp:active,
.floating-whatsapp[aria-expanded="true"] {
  background: #d8ff61 !important;
  color: #040315 !important;
  border-color: #d8ff61 !important;
  transform: none !important;
  box-shadow:
    0 0 10px rgba(216, 255, 97, 0.42),
    0 0 22px rgba(190, 255, 74, 0.20),
    0 10px 30px rgba(0, 0, 0, 0.30) !important;
}

.floating-back-top {
  color: #d8ff61 !important;
  border-color: rgba(216, 255, 97, 0.30) !important;
}

.floating-back-top:hover,
.floating-back-top:focus-visible,
.floating-back-top:active {
  background: #d8ff61 !important;
  color: #040315 !important;
  border-color: #d8ff61 !important;
  transform: none !important;
  box-shadow:
    0 0 10px rgba(216, 255, 97, 0.36),
    0 0 20px rgba(190, 255, 74, 0.16),
    0 8px 24px rgba(4, 3, 21, 0.24) !important;
}


/* =====================================================
   FINAL POLISH — approved August fixes
===================================================== */

/* Desktop hero sits closer to the header, matching approved reference. */
@media (min-width: 901px) {
  #home .hero {
    min-height: calc(100vh - 82px) !important;
    padding-top: 44px !important;
    padding-bottom: 34px !important;
    align-items: center !important;
  }

  #home .hero-copy,
  #home .hero-visual {
    transform: translateY(-20px);
  }
}

/* Animated green/yellow-green tracers riding the service orbits. */
.orbit {
  overflow: visible;
}

.orbit-tracer {
  position: absolute;
  left: 50%;
  top: -4px;
  width: 15px;
  height: 7px;
  border-radius: 999px;
  background: #d8ff61;
  box-shadow:
    0 0 8px rgba(216,255,97,.95),
    0 0 18px rgba(190,255,74,.62),
    0 0 30px rgba(190,255,74,.28);
  transform: translateX(-50%);
  transform-origin: center;
  pointer-events: none;
}

.orbit-one .orbit-tracer { animation: orbitTracerOne 6.5s linear infinite; }
.orbit-two .orbit-tracer { animation: orbitTracerTwo 8.3s linear infinite reverse; }
.orbit-three .orbit-tracer { animation: orbitTracerThree 10.2s linear infinite; }

@keyframes orbitTracerOne {
  from { offset-distance: 0%; }
  to { offset-distance: 100%; }
}
@keyframes orbitTracerTwo {
  from { offset-distance: 0%; }
  to { offset-distance: 100%; }
}
@keyframes orbitTracerThree {
  from { offset-distance: 0%; }
  to { offset-distance: 100%; }
}

/* Use CSS motion paths matching each ellipse. */
.orbit-one .orbit-tracer {
  offset-path: ellipse(50% 50% at 50% 50%);
}
.orbit-two .orbit-tracer {
  offset-path: ellipse(50% 50% at 50% 50%);
}
.orbit-three .orbit-tracer {
  offset-path: ellipse(50% 50% at 50% 50%);
}

/* Contact cards — darker, more integrated, cleaner. */
.contact-side .contact-info-card {
  background:
    linear-gradient(145deg, rgba(15,15,34,.96), rgba(5,5,20,.98)) !important;
  color: #fdf9fa !important;
  border: 1px solid rgba(216,255,97,.15) !important;
  border-radius: 18px !important;
  box-shadow:
    0 22px 55px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.025);
}

.contact-side .contact-info-card h2 {
  color: #fdf9fa !important;
}

.contact-side .contact-info-row,
.contact-side .contact-info-static {
  color: #fdf9fa !important;
}

.contact-side .contact-info-row small {
  color: #d8ff61 !important;
  letter-spacing: .12em;
}

.contact-side .contact-info-row strong {
  color: #fdf9fa !important;
}

.contact-side .contact-info-icon {
  background: rgba(216,255,97,.055) !important;
  border-color: rgba(216,255,97,.24) !important;
  color: #d8ff61 !important;
}

.contact-side .contact-card-label {
  display: none !important;
}

/* WhatsApp popup: cleaner distinct dark glass; no yellow WHATSAPP eyebrow. */
.whatsapp-service-menu {
  background:
    linear-gradient(155deg, rgba(16,20,25,.98), rgba(4,8,12,.98)) !important;
  border-color: rgba(216,255,97,.16) !important;
  box-shadow:
    0 24px 70px rgba(0,0,0,.46),
    0 0 32px rgba(216,255,97,.045) !important;
}

.whatsapp-service-head strong {
  color: #fdf9fa;
  font-size: 16px;
}

.whatsapp-service-options button {
  background: rgba(255,255,255,.035) !important;
}

.whatsapp-service-options button:hover {
  background: rgba(216,255,97,.075) !important;
}

/* Floating controls keep their outline but have transparent interiors. */
.floating-whatsapp,
.floating-back-top {
  background: transparent !important;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

/* Green active/tap state, then JS blur restores normal state. */
.floating-whatsapp:active,
.floating-whatsapp[aria-expanded="true"],
.floating-back-top:active {
  background: rgba(216,255,97,.92) !important;
  color: #040315 !important;
  border-color: #d8ff61 !important;
}

/* Back-to-top: hidden until scrolling below hero; JS controls visibility. */
.floating-back-top {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(8px) !important;
  transition:
    opacity .22s ease,
    visibility .22s ease,
    transform .22s ease,
    color .2s ease,
    background .2s ease !important;
}

.floating-back-top.scroll-active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

/* On touch devices, do not leave hover colors visually stuck. */
@media (hover: none) {
  .floating-whatsapp:hover,
  .floating-back-top:hover {
    background: transparent !important;
    color: #d8ff61 !important;
    transform: none !important;
  }

  .floating-whatsapp[aria-expanded="true"] {
    background: rgba(216,255,97,.92) !important;
    color: #040315 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orbit-tracer {
    animation: none !important;
  }
}


/* =====================================================
   RELEASE POLISH — ONLY THE APPROVED CHANGES BELOW
===================================================== */

/* Contact page active mobile CTA: preserve readable button text. */
@media (max-width: 900px) {
  .desktop-nav.mobile-nav-open
  .mobile-contact-btn.nav-link-active,
  .desktop-nav.mobile-nav-open
  .mobile-contact-btn[aria-current="page"] {
    color: #040315 !important;
    background: #ecf401 !important;
    border-color: rgba(236, 244, 1, 0.38) !important;
  }
}


/* About value cards: replace plain number labels with compact visual marks. */
.value-card {
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 28px;
  width: 42px;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      #d8ff61,
      rgba(216,255,97,0)
    );
}

.value-mark {
  position: absolute;
  top: 20px;
  right: 24px;

  width: 36px;
  height: 36px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(216,255,97,.30);
  border-radius: 50%;

  color: #d8ff61;

  font-size: 17px;
  font-weight: 700;

  background:
    rgba(216,255,97,.035);
}

.value-card.featured::before {
  background:
    linear-gradient(
      90deg,
      #7d8200,
      rgba(125,130,0,0)
    );
}

.value-card.featured .value-mark {
  color: #6f7600;
  border-color: rgba(111,118,0,.28);
  background: rgba(111,118,0,.045);
}


/* International phone selector stays inside the existing phone field. */
.contact-phone-field .iti {
  width: 100%;
}

.contact-phone-field .iti__tel-input {
  width: 100% !important;
}

.contact-phone-field .iti__selected-country-primary {
  background: transparent !important;
}

.contact-phone-field .iti__selected-dial-code {
  color: rgba(253,249,250,.76);
}

.contact-phone-field .iti__arrow {
  border-top-color: rgba(253,249,250,.52);
}

.contact-phone-field .iti__country-container {
  border-right:
    1px solid rgba(253,249,250,.08);
}

.iti__dropdown-content {
  background: #0b0b18 !important;
  border:
    1px solid rgba(253,249,250,.13) !important;
  color: #fdf9fa !important;
}

.iti__country.iti__highlight,
.iti__country:hover {
  background:
    rgba(216,255,97,.08) !important;
}

.iti__search-input {
  background:
    rgba(253,249,250,.05) !important;
  color: #fdf9fa !important;
  border-color:
    rgba(253,249,250,.12) !important;
}


/* Desktop only: preserve approved hero layout; lift only the ticker. */
@media (min-width: 901px) {
  #home > .ticker {
    position: relative;
    z-index: 4;
    margin-top: -48px !important;
  }
}


/* Floating controls: transparent, quiet, and never stay filled after tap. */
.floating-whatsapp,
.floating-back-top {
  position: fixed;
  overflow: hidden;

  background:
    transparent !important;

  color:
    #d8ff61 !important;

  border-color:
    rgba(216,255,97,.52) !important;

  box-shadow:
    none !important;

  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;

  transform:
    translateY(7px) !important;

  transition:
    opacity .28s ease,
    visibility .28s ease,
    transform .28s ease,
    border-color .2s ease,
    color .2s ease !important;
}

.floating-whatsapp.floating-control-visible,
.floating-back-top.floating-control-visible {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus,
.floating-whatsapp:focus-visible,
.floating-whatsapp:active,
.floating-whatsapp[aria-expanded="true"],
.floating-back-top:hover,
.floating-back-top:focus,
.floating-back-top:focus-visible,
.floating-back-top:active {
  background:
    transparent !important;

  color:
    #d8ff61 !important;

  border-color:
    rgba(216,255,97,.72) !important;

  box-shadow:
    none !important;

  transform:
    translateY(0) !important;
}

/* On light backgrounds, change the OUTLINE to black for visibility. */
.floating-whatsapp.over-light,
.floating-back-top.over-light,
.floating-whatsapp.over-light:hover,
.floating-back-top.over-light:hover,
.floating-whatsapp.over-light:focus,
.floating-back-top.over-light:focus {
  border-color:
    rgba(4,3,21,.84) !important;
}

/* Light sweep interaction without changing the button fill. */
.floating-whatsapp::after,
.floating-back-top::after {
  content: "";

  position: absolute;
  inset: -45% -70%;

  background:
    linear-gradient(
      110deg,
      transparent 38%,
      rgba(216,255,97,.42) 49%,
      rgba(255,255,255,.30) 52%,
      transparent 63%
    );

  transform:
    translateX(-75%);

  pointer-events: none;
}

.floating-whatsapp:hover::after,
.floating-whatsapp:active::after,
.floating-whatsapp:focus-visible::after,
.floating-back-top:hover::after,
.floating-back-top:active::after,
.floating-back-top:focus-visible::after {
  animation:
    floatingControlSweep .72s ease;
}

@keyframes floatingControlSweep {
  from {
    transform:
      translateX(-75%);
  }

  to {
    transform:
      translateX(75%);
  }
}


/* Restore Chat directly as a real yellow-green button, without glow. */
.whatsapp-service-options
.whatsapp-direct-option {
  position: relative;
  overflow: hidden;

  background:
    #c9ea4f !important;

  color:
    #040315 !important;

  border-color:
    #c9ea4f !important;

  box-shadow:
    none !important;

  text-align: center !important;
}

.whatsapp-service-options
.whatsapp-direct-option:hover,
.whatsapp-service-options
.whatsapp-direct-option:focus-visible,
.whatsapp-service-options
.whatsapp-direct-option:active {
  background:
    #c9ea4f !important;

  color:
    #040315 !important;

  border-color:
    #c9ea4f !important;

  box-shadow:
    none !important;
}

.whatsapp-service-options
.whatsapp-direct-option::after {
  content: "";

  position: absolute;
  top: -40%;
  bottom: -40%;
  left: -55%;

  width: 42%;

  background:
    linear-gradient(
      100deg,
      transparent,
      rgba(255,255,255,.58),
      transparent
    );

  transform:
    skewX(-20deg);

  pointer-events: none;
}

.whatsapp-service-options
.whatsapp-direct-option:hover::after,
.whatsapp-service-options
.whatsapp-direct-option:focus-visible::after,
.whatsapp-service-options
.whatsapp-direct-option:active::after {
  animation:
    directChatSweep .75s ease;
}

@keyframes directChatSweep {
  from {
    left: -55%;
  }

  to {
    left: 120%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-whatsapp::after,
  .floating-back-top::after,
  .whatsapp-direct-option::after {
    animation: none !important;
  }
}


/* =====================================================
   DESKTOP FIRST-SCREEN BALANCE — FINAL ADJUSTMENT
   Only desktop. Keeps the approved hero design and simply
   brings the composition/ticker slightly upward into view.
===================================================== */

@media (min-width: 901px) {

  #home .hero {
    min-height:
      calc(100vh - 82px) !important;

    padding-top:
      28px !important;

    padding-bottom:
      24px !important;
  }

  #home .hero-copy,
  #home .hero-visual {
    transform:
      translateY(-30px) !important;
  }

  #home > .ticker {
    margin-top:
      -66px !important;
  }

}


/* =====================================================
   FLOATING CONTROLS — POSITION + LIGHT SURFACE CONTRAST
===================================================== */

.whatsapp-float-wrap {
  position: fixed !important;

  left: 24px !important;
  bottom: 24px !important;

  z-index: 4100 !important;
}

.floating-back-top {
  position: fixed !important;

  right: 24px !important;
  bottom: 24px !important;

  z-index: 4100 !important;
}


/* Default dark-surface appearance */
.floating-whatsapp,
.floating-back-top {
  background:
    transparent !important;

  color:
    #d8ff61 !important;

  border-color:
    rgba(216,255,97,.56) !important;
}


/* Light surface: BOTH border and icon become black */
.floating-whatsapp.over-light,
.floating-back-top.over-light,
.floating-whatsapp.over-light:hover,
.floating-back-top.over-light:hover,
.floating-whatsapp.over-light:focus,
.floating-back-top.over-light:focus,
.floating-whatsapp.over-light:focus-visible,
.floating-back-top.over-light:focus-visible,
.floating-whatsapp.over-light:active,
.floating-back-top.over-light:active {
  background:
    transparent !important;

  color:
    #040315 !important;

  border-color:
    rgba(4,3,21,.90) !important;

  box-shadow:
    none !important;
}


/* The WhatsApp SVG follows currentColor, so this forces black icon on light surfaces. */
.floating-whatsapp.over-light svg,
.floating-back-top.over-light {
  color:
    #040315 !important;
}


@media (max-width: 600px) {

  .whatsapp-float-wrap {
    left: 18px !important;
    bottom: 18px !important;
  }

  .floating-back-top {
    right: 18px !important;
    bottom: 18px !important;
  }

}


/* =====================================================
   PRECISE FOLLOW-UP — HERO FIT + FLOATING BUTTON CORRECTIONS
   These overrides intentionally touch only the requested areas.
===================================================== */

/* Desktop: fit hero + ticker naturally in the first viewport.
   No overlap/negative pull toward the floating buttons. */
@media (min-width: 901px) {
  #home .hero {
    min-height:
      calc(100vh - 130px) !important;

    padding-top:
      30px !important;

    padding-bottom:
      22px !important;
  }

  #home .hero-copy,
  #home .hero-visual {
    transform:
      translateY(-20px) !important;
  }

  #home > .ticker {
    margin-top:
      0 !important;
  }
}


/* WhatsApp wrapper owns the fixed position.
   The button itself must stay RELATIVE inside it. */
.whatsapp-float-wrap {
  position: fixed !important;

  left: 24px !important;
  bottom: 24px !important;

  z-index: 4100 !important;
}

.whatsapp-float-wrap .floating-whatsapp {
  position: relative !important;

  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
}


/* Back-to-top stays fixed at the exact same vertical level. */
.floating-back-top {
  position: fixed !important;

  right: 24px !important;
  bottom: 24px !important;

  z-index: 4100 !important;
}


/* Make the WhatsApp glyph visibly thicker without changing its shape. */
.floating-whatsapp svg {
  width: 26px !important;
  height: 26px !important;
}

.floating-whatsapp svg path {
  fill: currentColor !important;
  stroke: currentColor !important;
  stroke-width: .62 !important;
  stroke-linejoin: round !important;
  stroke-linecap: round !important;
}


/* Make the back-to-top arrow slightly stronger too. */
.floating-back-top {
  font-weight: 800 !important;
}


/* Light sections: transparent fill, BLACK outline + BLACK icon.
   Dark sections return to the approved green/yellow-green. */
.floating-whatsapp.over-light,
.floating-whatsapp.over-light:hover,
.floating-whatsapp.over-light:focus,
.floating-whatsapp.over-light:focus-visible,
.floating-whatsapp.over-light:active,
.floating-whatsapp.over-light[aria-expanded="true"],
.floating-back-top.over-light,
.floating-back-top.over-light:hover,
.floating-back-top.over-light:focus,
.floating-back-top.over-light:focus-visible,
.floating-back-top.over-light:active {
  background:
    transparent !important;

  border-color:
    #040315 !important;

  color:
    #040315 !important;

  box-shadow:
    none !important;
}

.floating-whatsapp.over-light svg,
.floating-whatsapp.over-light svg path {
  color:
    #040315 !important;

  fill:
    #040315 !important;

  stroke:
    #040315 !important;
}


/* Dark-surface defaults remain transparent + green. */
.floating-whatsapp:not(.over-light),
.floating-back-top:not(.over-light) {
  background:
    transparent !important;

  border-color:
    rgba(216,255,97,.58) !important;

  color:
    #d8ff61 !important;
}


@media (max-width: 600px) {
  .whatsapp-float-wrap {
    left: 18px !important;
    bottom: 18px !important;
  }

  .floating-back-top {
    right: 18px !important;
    bottom: 18px !important;
  }
}


/* =====================================================
   DESKTOP TICKER POSITION — LOCKED HEADER/HERO SPACING
   Do not alter the approved header-to-hero gap.
===================================================== */

@media (min-width: 901px) {

  /* Move only the moving services ticker upward. */
  #home > .ticker {
    position: relative;
    z-index: 4;

    margin-top:
      -46px !important;
  }

  /* Pull the next content section up slightly as well,
     preventing a large empty gap below the ticker. */
  #home > .ticker + section {
    margin-top:
      -18px !important;
  }

}


/* =====================================================
   MOBILE / TABLET TAP-HIGHLIGHT FIX ONLY
   Removes the browser's rectangular tap flash while
   preserving all existing custom button/link interactions.
===================================================== */

@media (max-width: 900px) {

  a,
  button,
  input,
  select,
  textarea,
  label,
  .brand,
  .menu-btn,
  .floating-whatsapp,
  .floating-back-top,
  .btn,
  .contact-submit,
  .mobile-contact-btn,
  [role="button"] {
    -webkit-tap-highlight-color: transparent !important;
  }

  a:focus,
  button:focus,
  .btn:focus,
  .brand:focus,
  .menu-btn:focus,
  .floating-whatsapp:focus,
  .floating-back-top:focus,
  .mobile-contact-btn:focus {
    outline: none;
  }

}

/* =====================================================
   FOOTER — CONSOLIDATED PRODUCTION LAYOUT
   One source of truth for footer alignment and spacing.
===================================================== */

.footer-main {
  display: grid;
  grid-template-columns:
    minmax(280px, 1.35fr)
    minmax(150px, 0.62fr)
    minmax(240px, 0.88fr);
  gap: clamp(44px, 5vw, 78px);
  width: 100%;
  padding: 48px 0 42px;
  align-items: start;
}

.footer-brand,
.footer-column,
.footer-contact {
  min-width: 0;
  align-self: start;
}

.footer-brand img {
  display: block;
  width: 285px;
  max-width: 100%;
  height: auto;
  margin: 0 0 18px;
}

.footer-brand p {
  margin: 0 0 10px;
}

.footer-brand > span {
  display: block;
  max-width: 360px;
}

.footer-column {
  gap: 13px;
}

.footer-column h4 {
  margin: 0 0 13px;
}

.footer-bottom {
  min-height: 58px;
  padding: 0;
}

@media (max-width: 900px) {
  .footer-main {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(180px, 0.72fr);
    gap: 34px 46px;
    padding: 42px 0 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand img {
    width: 250px;
    margin-bottom: 15px;
  }

  .footer-contact {
    grid-column: auto;
  }

  .footer-bottom {
    min-height: 58px;
  }
}

@media (max-width: 600px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 34px 0 28px;
  }

  .footer-brand,
  .footer-contact {
    grid-column: auto;
  }

  .footer-brand img {
    width: 220px;
    margin: 0 0 14px;
  }

  .footer-brand p {
    margin: 0 0 8px;
  }

  .footer-column {
    gap: 10px;
  }

  .footer-column h4 {
    margin-bottom: 8px;
  }

  .footer-bottom {
    min-height: auto;
    padding: 16px 0 18px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-align: center;
  }

  .footer-copyright {
    max-width: 100%;
    width: 100%;
    text-align: center;
    line-height: 1.4;
  }

  .footer-legal {
    width: 100%;
    margin: 0;
    justify-content: center;
    gap: 16px;
    white-space: normal;
  }

  .footer-legal a {
    font-size: 10px;
  }
}

/* =====================================================
   FOOTER — TECHNOLOGIES + SOCIAL ICONS
===================================================== */

/* Desktop gains one compact technology column. */
@media (min-width: 901px) {
  .footer-main {
    grid-template-columns:
      minmax(260px, 1.22fr)
      minmax(130px, 0.50fr)
      minmax(150px, 0.62fr)
      minmax(230px, 0.86fr);
    gap: clamp(34px, 4vw, 64px);
  }
}

.footer-socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 10px;
}

.footer-social-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-social-icon img {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
  transition:
    transform .22s ease,
    opacity .22s ease;
}

.footer-social-icon:hover img {
  transform: translateY(-2px);
  opacity: .88;
}

.footer-technologies {
  gap: 10px;
}

.footer-tech-row {
  min-height: 25px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.footer-tech-row img {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
}

.footer-tech-row img[alt="WordPress"] {
  width: 23px;
  height: 23px;
}

.footer-tech-comma {
  color: rgba(253, 249, 250, .34);
  font-size: 16px;
  line-height: 1;
}

/* Technologies are intentionally desktop-only. */
@media (max-width: 900px) {
  .footer-technologies {
    display: none !important;
  }

  .footer-socials {
    margin-top: 8px;
  }
}


/* =====================================================
   PAGE LOAD — MORE NOTICEABLE, STILL SUBTLE
   Only changes timing/opacity/filter; approved layout stays fixed.
===================================================== */

#home .hero-copy {
  animation:
    clasicohHeroLoad 1.15s cubic-bezier(.22,.61,.36,1) .10s both;
}

#home .hero-visual {
  animation:
    clasicohHeroLoad 1.30s cubic-bezier(.22,.61,.36,1) .28s both;
}

#home > .ticker {
  animation:
    clasicohTickerLoad .95s ease .52s both;
}

@keyframes clasicohHeroLoad {
  0% {
    opacity: 0;
    filter: blur(7px);
  }

  45% {
    opacity: .62;
    filter: blur(2px);
  }

  100% {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes clasicohTickerLoad {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  #home .hero-copy,
  #home .hero-visual,
  #home > .ticker {
    animation: none !important;
  }
}

/* =====================================================
   FOOTER ICON RELIABILITY
===================================================== */

.footer-inline-icon {
  width: 20px;
  height: 20px;
  display: block;
  flex: 0 0 auto;
}

.footer-linkedin-icon {
  color: #0A66C2;
}

.footer-ai-icon {
  width: 22px;
  height: 22px;
  color: #74AA9C;
}


/* =====================================================
   HEADER — EDGE SPACING BALANCE ONLY
   Original logo sizes are preserved.
===================================================== */

/* Desktop: use the same left/right page padding so the logo's
   left spacing matches the WhatsApp/contact button's right spacing. */
@media (min-width: 901px) {
  .site-header {
    padding-left: var(--page-padding) !important;
    padding-right: var(--page-padding) !important;
  }

  .brand {
    margin-left: 0 !important;
  }

  .desktop-whatsapp {
    margin-right: 0 !important;
  }
}

/* Tablet/mobile: use the same left/right page padding so the logo's
   left spacing matches the menu button's right spacing. */
@media (max-width: 900px) {
  .site-header {
    padding-left: var(--page-padding) !important;
    padding-right: var(--page-padding) !important;
  }

  .brand {
    margin-left: 0 !important;
  }

  .menu-btn {
    margin-right: 0 !important;
  }
}
