@media (hover: hover) {
  .button:hover {
    transform: translateY(-2px);
  }

  .button--primary:hover,
  .button--submit:hover {
    background: var(--orange-dark);
  }

  .button--ghost:hover,
  .button--outline:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.08);
  }

  .site-nav > a:not(.button):hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .sector-item:hover {
    color: white;
    background: var(--ink);
    transform: translateY(-8px);
  }

  .sector-item:hover p {
    color: #b9b9b5;
  }

  .text-link:hover span {
    transform: translateX(4px);
  }

  .floating-whatsapp:hover {
    background: #188451;
    transform: translateY(-3px) scale(1.03);
  }

  .footer-contact a:hover,
  .contact-channel a:hover {
    color: var(--orange);
  }
}

@media (max-width: 1020px) {
  :root {
    --header-height: 74px;
  }

  .site-nav {
    gap: 16px;
  }

  .site-nav > a:not(.button) {
    display: none;
  }

  .hero-content {
    width: min(700px, 80%);
  }

  .section-heading,
  .assurance-layout,
  .contact-layout {
    gap: 48px;
  }

  .service-copy {
    padding: 34px;
  }

  .service-panel {
    min-height: 650px;
  }

  .assurance-layout {
    grid-template-columns: 0.7fr 1.3fr;
  }

  .sector-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sector-item:nth-child(2) {
    border-right: 0;
  }

  .sector-item:nth-child(-n + 2) {
    border-bottom: 1px solid #cacac5;
  }

  .process-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 42px 0;
  }

  .process-list li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .process-list li:nth-child(2)::before,
  .process-list li:last-child::before {
    display: none;
  }

  .process-list li > span {
    margin-bottom: 52px;
  }

  .contact-layout {
    grid-template-columns: 0.75fr 1.25fr;
  }
}

@media (max-width: 780px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .section {
    padding-block: 78px;
  }

  .site-header,
  .site-header.is-scrolled {
    height: var(--header-height);
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    padding: 40px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    color: white;
    background: var(--ink);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-nav > a:not(.button) {
    display: block;
    padding: 18px 4px;
    border-bottom: 1px solid #333;
    font-size: 1.2rem;
  }

  .site-nav .button {
    margin-top: 26px;
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(2) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(3) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(4) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero,
  .hero-inner {
    min-height: 780px;
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 5, 5, 0.95) 0%, rgba(5, 5, 5, 0.76) 65%, rgba(5, 5, 5, 0.25) 100%),
      linear-gradient(0deg, rgba(5, 5, 5, 0.95) 0%, rgba(5, 5, 5, 0.1) 50%);
  }

  .hero-inner {
    align-items: flex-start;
    padding-top: 146px;
    padding-bottom: 130px;
  }

  .hero-content {
    width: 100%;
  }

  .hero h1 {
    max-width: 610px;
    font-size: clamp(2.7rem, 11vw, 4.5rem);
  }

  .hero-lead {
    max-width: 560px;
  }

  .hero-benefits {
    display: grid;
  }

  .hero-rail-inner {
    grid-template-columns: 1fr;
  }

  .hero-rail p {
    display: none;
  }

  .hero-rail p:first-child {
    display: flex;
    padding-left: 0;
    border: 0;
  }

  .section-heading,
  .assurance-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 26px;
    margin-bottom: 40px;
  }

  .service-stack {
    grid-template-columns: 1fr;
  }

  .service-panel {
    min-height: 620px;
  }

  .service-panel--photo {
    min-height: 760px;
  }

  .service-panel--campanas {
    min-height: 760px;
  }

  .assurance-intro {
    position: static;
    max-width: 580px;
  }

  .assurance-grid {
    max-width: 680px;
  }

  .contact-copy {
    padding-top: 0;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .brand--footer {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-name {
    font-size: 1.45rem;
  }

  .brand-tagline {
    font-size: 0.41rem;
  }

  h2 {
    font-size: clamp(2.15rem, 12vw, 3.2rem);
  }

  .hero,
  .hero-inner {
    min-height: 830px;
  }

  .hero-inner {
    padding-top: 124px;
  }

  .hero-image {
    object-position: 69% center;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 12.5vw, 3.5rem);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-benefits {
    font-size: 0.8rem;
  }

  .service-panel,
  .service-panel--photo {
    min-height: auto;
  }

  .service-panel--dark {
    min-height: 650px;
  }

  .service-panel--photo {
    grid-template-rows: 260px auto;
  }

  .service-panel--campanas {
    min-height: auto;
    grid-template-rows: 260px auto;
  }

  .service-copy,
  .service-panel--dark .service-copy {
    padding: 32px 24px;
  }

  .service-panel--dark .service-copy {
    padding-top: 120px;
  }

  .service-panel--campanas .service-copy {
    padding-top: 32px;
  }

  .service-number {
    right: 24px;
    font-size: 4rem;
  }

  .assurance-grid {
    grid-template-columns: 1fr;
  }

  .assurance-item,
  .assurance-item:nth-child(even),
  .assurance-item:nth-last-child(-n + 2) {
    min-height: 220px;
    border-right: 1px solid #3a3a38;
    border-bottom: 0;
  }

  .assurance-item:last-child {
    border-bottom: 1px solid #3a3a38;
  }

  .assurance-index {
    margin-bottom: 38px;
  }

  .sector-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .sector-item,
  .sector-item:nth-child(2) {
    min-height: 225px;
    border-right: 0;
    border-bottom: 1px solid #cacac5;
  }

  .sector-item:last-child {
    border-bottom: 0;
  }

  .sector-item span {
    margin-bottom: 58px;
  }

  .process-list {
    gap: 0;
  }

  .process-list li,
  .process-list li:nth-child(3) {
    display: grid;
    grid-template-columns: 50px 1fr;
    min-height: 0;
    gap: 20px;
    padding: 0 0 34px;
    border: 0;
  }

  .process-list li::before {
    display: block;
    top: 46px;
    right: auto;
    bottom: 0;
    left: 22px;
    width: 1px;
    height: auto;
    border: 0;
    border-radius: 0;
    background: var(--line);
    box-shadow: none;
  }

  .process-list li:last-child::before {
    display: none;
  }

  .process-list li > span {
    margin: 0;
  }

  .process-list h3 {
    padding-top: 8px;
  }

  .quote-form {
    padding: 28px 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field--full {
    grid-column: auto;
  }

  .button--submit {
    font-size: 0.76rem;
  }

  .contact-channel a {
    font-size: 1.1rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .brand--footer {
    grid-column: auto;
  }

  .footer-bottom {
    display: grid;
    gap: 10px;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
  }

  .floating-whatsapp.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
}

@media (max-width: 360px) {
  .hero-inner {
    padding-top: 108px;
  }

  .hero h1 {
    margin-bottom: 18px;
    font-size: 2.3rem;
  }

  .hero-lead {
    margin-bottom: 18px;
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .hero-benefits {
    gap: 6px;
    margin-bottom: 20px;
    font-size: 0.76rem;
  }

  .hero-actions .button {
    min-height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  html.reveal-ready .reveal {
    opacity: 1;
    transform: none;
  }
}
