/* SOS Mudanças e Fretes — estilos mobile first */
:root {
  --primary: #012c6d;
  --primary-700: #001e4b;
  --primary-800: #001536;
  --secondary: #fb7302;
  --secondary-600: #de6100;
  --accent-soft: #fff1e5;
  --surface: #ffffff;
  --surface-alt: #f4f7fb;
  --text: #172033;
  --text-soft: #5c667a;
  --border: #dfe5ee;
  --success: #087f4f;
  --shadow-sm: 0 8px 24px rgb(1 44 109 / 8%);
  --shadow-lg: 0 24px 70px rgb(1 31 75 / 18%);
  --radius-sm: 0.75rem;
  --radius-md: 1.25rem;
  --radius-lg: 2rem;
  --container: 75rem;
  --header-height: 5.5rem;
  --transition: 180ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
  overflow-x: clip;
}

body {
  min-width: 20rem;
  margin: 0;
  overflow-x: clip;
  color: var(--text);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
picture,
svg,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

svg {
  width: 1.25rem;
  height: 1.25rem;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 4px;
}

::selection {
  color: #fff;
  background: var(--primary);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--primary-800);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.65rem, 11vw, 5.5rem);
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 8vw, 3.5rem);
}

h3 {
  font-size: 1.25rem;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding-block: clamp(4.5rem, 10vw, 7.5rem);
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.svg-sprite symbol {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svg-sprite #icon-whatsapp {
  fill: currentColor;
  stroke: none;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--primary);
  border-radius: 0.5rem;
  transform: translateY(-150%);
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  color: var(--secondary-600);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #ffad69;
}

.eyebrow svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.8rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition: color var(--transition), background-color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.button:hover {
  transform: translateY(-2px);
}

.button svg {
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-primary {
  color: #151515;
  background: var(--secondary);
  box-shadow: 0 12px 30px rgb(251 115 2 / 28%);
}

.button-primary:hover {
  background: #ff8b2d;
  box-shadow: 0 16px 36px rgb(251 115 2 / 38%);
}

.button-primary svg:first-child {
  fill: currentColor;
  stroke: none;
}

.button-secondary {
  color: #fff;
  background: var(--primary);
}

.button-light {
  color: var(--primary-800);
  background: #fff;
}

.button-light:hover {
  background: var(--accent-soft);
}

.button-ghost {
  color: #fff;
  border-color: rgb(255 255 255 / 55%);
  background: rgb(255 255 255 / 8%);
  backdrop-filter: blur(8px);
}

.button-ghost:hover {
  border-color: #fff;
  background: rgb(255 255 255 / 15%);
}

.button-lg {
  min-height: 3.65rem;
  padding-inline: 1.45rem;
}

.button-sm {
  min-height: 2.8rem;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
}

/* Header */
.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  height: var(--header-height);
  background: rgb(255 255 255 / 96%);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition), border-color var(--transition);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  border-color: var(--border);
  box-shadow: 0 5px 22px rgb(1 31 75 / 8%);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.brand {
  position: relative;
  z-index: 1002;
  display: flex;
  width: 7.25rem;
  align-items: center;
}

.brand img {
  width: 100%;
}

.menu-toggle {
  position: relative;
  z-index: 1002;
  display: grid;
  width: 3rem;
  height: 3rem;
  padding: 0;
  place-content: center;
  gap: 0.3rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle span {
  width: 1.25rem;
  height: 2px;
  background: var(--primary);
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(0.43rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-0.43rem) rotate(-45deg);
}

.main-nav {
  position: fixed;
  z-index: 1001;
  inset: var(--header-height) 0 0;
  display: flex;
  visibility: hidden;
  flex-direction: column;
  padding: 2rem 1rem;
  background: #fff;
  opacity: 0;
  transform: translateX(100%);
  transition: visibility var(--transition), opacity var(--transition), transform 260ms ease;
}

.main-nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
}

.main-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.main-nav ul a {
  display: block;
  padding: 0.9rem 0;
  color: var(--primary-800);
  border-bottom: 1px solid var(--border);
  font-size: 1.2rem;
  font-weight: 700;
}

.nav-cta {
  align-self: stretch;
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: calc(100svh - var(--header-height));
  align-items: center;
  overflow: hidden;
  color: #fff;
  background-color: var(--primary-800);
  background-image: url('/assets/hero.webp');
  background-position: 62% center;
  background-size: cover;
}

@supports (background-image: image-set(url('/assets/hero.avif') type('image/avif'))) {
  .hero {
    background-image: image-set(url('/assets/hero.avif') type('image/avif'), url('/assets/hero.webp') type('image/webp'));
  }
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgb(0 18 46 / 96%) 0%, rgb(1 44 109 / 85%) 54%, rgb(1 44 109 / 32%) 100%);
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: -8rem;
  bottom: -14rem;
  width: 28rem;
  height: 28rem;
  content: "";
  background: var(--secondary);
  border-radius: 50%;
  opacity: 0.14;
  filter: blur(2px);
}

.hero-content {
  padding-block: 4rem 6.5rem;
}

.hero-copy {
  max-width: 47rem;
}

.hero h1 {
  max-width: 42rem;
  color: #fff;
  text-wrap: balance;
}

.hero-copy > p {
  max-width: 41rem;
  margin-bottom: 2rem;
  color: rgb(255 255 255 / 86%);
  font-size: clamp(1.05rem, 3vw, 1.3rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  margin: 1.75rem 0 0;
  padding: 0;
  color: rgb(255 255 255 / 84%);
  font-size: 0.84rem;
  font-weight: 650;
  list-style: none;
}

.hero-highlights li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-highlights svg {
  width: 1.1rem;
  height: 1.1rem;
  color: #ff9b48;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
}

.scroll-cue {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  display: none;
  align-items: center;
  gap: 0.5rem;
  color: rgb(255 255 255 / 75%);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  animation: bob 1.8s ease-in-out infinite;
}

/* Section headings */
.section-heading {
  max-width: 43rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-heading h2 {
  text-wrap: balance;
}

.section-heading > p,
.section-heading-row > p {
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 1.06rem;
}

/* About */
.about {
  background: var(--surface);
}

.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.about-visual {
  position: relative;
  max-width: 36rem;
  margin-inline: auto;
  padding: 0 0.75rem 1rem 0;
}

.about-visual::before {
  position: absolute;
  z-index: -1;
  top: -1rem;
  right: 0;
  width: 55%;
  height: 65%;
  content: "";
  background-image: radial-gradient(circle, rgb(251 115 2 / 35%) 1.5px, transparent 1.5px);
  background-size: 13px 13px;
}

.about-image-wrap {
  overflow: hidden;
  border-radius: var(--radius-lg) 0.5rem var(--radius-lg) 0.5rem;
  box-shadow: var(--shadow-lg);
}

.about-image-wrap img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  right: -0.25rem;
  bottom: -0.25rem;
  display: flex;
  max-width: 11.5rem;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem;
  color: var(--primary-800);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow-sm);
  font-size: 0.76rem;
  line-height: 1.4;
}

.about-badge svg {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  color: var(--secondary);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.about-badge strong {
  display: block;
  font-size: 0.9rem;
}

.about-copy .lead {
  color: var(--text);
  font-size: 1.08rem;
}

.about-copy > p:not(.lead) {
  color: var(--text-soft);
}

.feature-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.feature-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
}

.feature-icon {
  display: grid;
  width: 2.9rem;
  height: 2.9rem;
  place-items: center;
  color: var(--primary);
  background: #eaf0fa;
  border-radius: 0.8rem;
}

.feature-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-list h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  letter-spacing: -0.015em;
}

.feature-list p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* Services */
.services {
  background: var(--surface-alt);
}

.services-grid {
  display: grid;
  gap: 1rem;
}

.service-card {
  position: relative;
  overflow: hidden;
  padding: 1.6rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 1px 0 rgb(1 44 109 / 2%);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  border-color: rgb(251 115 2 / 45%);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.service-number {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  color: #dce3ed;
  font-size: 2.3rem;
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 1;
}

.service-icon {
  display: grid;
  width: 3.3rem;
  height: 3.3rem;
  margin-bottom: 1.5rem;
  place-items: center;
  color: var(--secondary-600);
  background: var(--accent-soft);
  border-radius: 1rem;
}

.service-icon svg {
  width: 1.55rem;
  height: 1.55rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin-bottom: 0.7rem;
}

.service-card p {
  min-height: 4.75rem;
  margin-bottom: 1.2rem;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.service-card > a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  font-size: 0.87rem;
  font-weight: 800;
}

.service-card > a svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform var(--transition);
}

.service-card > a:hover svg {
  transform: translateX(4px);
}

.services-cta {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 1.5rem;
  margin-top: 1.25rem;
  padding: 1.75rem;
  overflow: hidden;
  color: #fff;
  background: var(--primary);
  border-radius: var(--radius-md);
}

.services-cta::after {
  position: absolute;
  z-index: -1;
  top: -4rem;
  right: -2rem;
  width: 12rem;
  height: 12rem;
  content: "";
  background: var(--secondary);
  border-radius: 50%;
  opacity: 0.22;
}

.services-cta h3 {
  max-width: 37rem;
  margin-bottom: 0;
  color: #fff;
  font-size: clamp(1.4rem, 5vw, 2rem);
}

/* Gallery */
.gallery {
  background: #fff;
}

.gallery-grid {
  display: grid;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--primary-800);
  cursor: zoom-in;
}

.gallery-item picture,
.gallery-item img {
  width: 100%;
  height: 100%;
}

.gallery-item img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 500ms ease, opacity var(--transition);
}

.gallery-item:nth-child(2) img {
  object-position: center 48%;
}

.gallery-item:hover img {
  opacity: 0.86;
  transform: scale(1.035);
}

.gallery-overlay {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 3rem 1.1rem 1.1rem;
  color: #fff;
  background: linear-gradient(transparent, rgb(0 17 43 / 90%));
  font-size: 0.9rem;
  font-weight: 750;
  text-align: left;
}

.gallery-overlay svg {
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.gallery-dialog {
  width: min(94vw, 64rem);
  max-width: none;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
}

.gallery-dialog::backdrop {
  background: rgb(0 12 30 / 88%);
  backdrop-filter: blur(5px);
}

.gallery-dialog img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  background: #06152a;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
}

.dialog-close {
  position: absolute;
  z-index: 2;
  top: -1rem;
  right: -0.25rem;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  place-items: center;
  color: var(--primary-800);
  background: #fff;
  border: 0;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.dialog-close svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* Testimonials */
.testimonials {
  background: var(--primary-800);
}

.testimonials .section-heading h2 {
  color: #fff;
}

.testimonials .section-heading > p {
  color: rgb(255 255 255 / 68%);
}

.testimonials-grid {
  display: grid;
  gap: 1rem;
}

.testimonial-card {
  position: relative;
  margin: 0;
  padding: 1.6rem;
  overflow: hidden;
  background: #fff;
  border-radius: var(--radius-md);
}

.quote-icon {
  position: absolute;
  top: -1.1rem;
  right: 1rem;
  color: var(--accent-soft);
  font-family: Georgia, serif;
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
}

.stars {
  position: relative;
  margin-bottom: 1rem;
  color: #cb5700;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
}

.testimonial-card blockquote {
  position: relative;
  margin: 0;
}

.testimonial-card blockquote p {
  margin-bottom: 1.5rem;
  color: #354057;
  font-size: 0.95rem;
}

.testimonial-card figcaption {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.avatar {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  color: #fff;
  background: var(--primary);
  border-radius: 50%;
  font-weight: 800;
}

.testimonial-card figcaption strong,
.testimonial-card figcaption small {
  display: block;
}

.testimonial-card figcaption strong {
  color: var(--primary-800);
  font-size: 0.9rem;
}

.testimonial-card figcaption small {
  color: var(--text-soft);
  font-size: 0.76rem;
}

/* Contact */
.contact {
  background: linear-gradient(#fff 0 46%, var(--surface-alt) 46% 100%);
}

.contact-card {
  display: grid;
  overflow: hidden;
  color: #fff;
  background: var(--primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-copy {
  position: relative;
  isolation: isolate;
  padding: 2rem 1.4rem;
  overflow: hidden;
}

.contact-copy::after {
  position: absolute;
  z-index: -1;
  right: -6rem;
  bottom: -7rem;
  width: 17rem;
  height: 17rem;
  content: "";
  background: var(--secondary);
  border-radius: 50%;
  opacity: 0.15;
}

.contact-copy h2 {
  color: #fff;
  text-wrap: balance;
}

.contact-copy > p {
  color: rgb(255 255 255 / 77%);
}

.contact-details {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 0;
}

.contact-details div {
  padding-top: 1rem;
  border-top: 1px solid rgb(255 255 255 / 15%);
}

.contact-details dt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
  color: #ffb67a;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-details dt svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.contact-details dd {
  margin: 0;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 650;
}

.contact-details a:hover {
  text-decoration: underline;
}

.map-wrap {
  position: relative;
  min-height: 24rem;
  overflow: hidden;
  background: #dfe5ee;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 24rem;
  border: 0;
}

.map-link {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  color: var(--primary-800);
  background: #fff;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-size: 0.8rem;
  font-weight: 800;
}

.map-link svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* Footer */
.site-footer {
  padding-top: 4rem;
  color: rgb(255 255 255 / 70%);
  background: #000f28;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-brand img {
  width: 8.5rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  max-width: 25rem;
  margin: 0;
  font-size: 0.9rem;
}

.footer-title {
  margin-bottom: 1rem;
  color: #fff;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  font-size: 0.86rem;
  list-style: none;
}

.footer-links a:hover,
.footer-contact a:hover,
.developer-credit a:hover {
  color: #fff;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-contact svg {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  color: var(--secondary);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.footer-contact li:first-child svg {
  fill: var(--secondary);
  stroke: none;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-block: 1.25rem;
  border-top: 1px solid rgb(255 255 255 / 10%);
  font-size: 0.72rem;
}

.footer-bottom p {
  margin: 0;
}

.developer-credit a {
  color: #ff9b48;
  font-weight: 700;
}

.floating-whatsapp {
  position: fixed;
  z-index: 900;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: flex;
  min-width: 3.4rem;
  min-height: 3.4rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem;
  color: #fff;
  background: var(--success);
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgb(0 0 0 / 25%);
  transition: transform var(--transition), background-color var(--transition);
}

.floating-whatsapp:hover {
  background: #066b43;
  transform: translateY(-3px);
}

.floating-whatsapp svg {
  width: 1.65rem;
  height: 1.65rem;
  fill: currentColor;
}

.floating-whatsapp span {
  display: none;
  font-size: 0.8rem;
  font-weight: 800;
}

/* Error page */
.error-page {
  display: grid;
  min-height: 100svh;
  padding: 2rem 0;
  place-items: center;
  background: radial-gradient(circle at 80% 10%, rgb(251 115 2 / 16%), transparent 30%), var(--surface-alt);
}

.error-card {
  max-width: 40rem;
  padding: clamp(2rem, 7vw, 4rem);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.error-card img {
  width: 9rem;
  margin: 0 auto 1rem;
}

.error-code {
  display: block;
  color: var(--secondary-600);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.error-card h1 {
  margin-block: 0.5rem 1rem;
  color: var(--primary-800);
  font-size: clamp(2rem, 8vw, 3.5rem);
}

.error-card p {
  color: var(--text-soft);
}

.error-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes bob {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(4px); }
}

@media (min-width: 36rem) {
  .hero-actions,
  .error-actions {
    flex-direction: row;
    justify-content: flex-start;
  }

  .error-actions {
    justify-content: center;
  }

  .services-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .floating-whatsapp {
    padding-inline: 1rem 1.2rem;
  }

  .floating-whatsapp span {
    display: inline;
  }
}

@media (min-width: 48rem) {
  .container {
    width: min(100% - 3rem, var(--container));
  }

  .scroll-cue {
    display: flex;
  }

  .section-heading-row {
    display: grid;
    max-width: none;
    grid-template-columns: minmax(0, 1.45fr) minmax(17rem, 0.7fr);
    gap: 3rem;
    align-items: end;
    text-align: left;
  }

  .section-heading-row > div h2 {
    margin-bottom: 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-item:first-child {
    grid-row: span 2;
  }

  .gallery-item:first-child img {
    aspect-ratio: auto;
  }

  .gallery-item:not(:first-child) img {
    aspect-ratio: 16 / 10;
  }

  .contact-copy {
    padding: 3rem;
  }

  .contact-details {
    grid-template-columns: 0.7fr 1.3fr;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 0.7fr 1fr;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 60rem) {
  :root {
    --header-height: 6rem;
  }

  body.menu-open {
    overflow: auto;
  }

  .brand {
    width: 8.25rem;
  }

  .menu-toggle {
    display: none;
  }

  .main-nav {
    position: static;
    display: flex;
    visibility: visible;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding: 0;
    background: transparent;
    opacity: 1;
    transform: none;
  }

  .main-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 1.35rem;
    margin: 0;
  }

  .main-nav ul a {
    position: relative;
    padding: 0.5rem 0;
    border: 0;
    font-size: 0.86rem;
    font-weight: 700;
  }

  .main-nav ul a::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    content: "";
    background: var(--secondary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition);
  }

  .main-nav ul a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .nav-cta {
    align-self: auto;
  }

  .hero {
    background-position: center;
  }

  .hero::before {
    background: linear-gradient(90deg, rgb(0 18 46 / 96%) 0%, rgb(1 44 109 / 82%) 46%, rgb(1 44 109 / 15%) 82%);
  }

  .about-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(4rem, 8vw, 7rem);
  }

  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .services-cta {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 2.25rem 2.5rem;
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-card {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .contact-copy,
  .map-wrap,
  .map-wrap iframe {
    min-height: 35rem;
  }

  .contact-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
  }
}

@media (min-width: 75rem) {
  .hero-content {
    padding-block: 6rem 8rem;
  }

  .service-card,
  .testimonial-card {
    padding: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
