/* =========================================================
  DIGITAL HOUSE TECNOLOGIA - DESIGN SYSTEM
  Projeto Jekyll: landing page + página de links
  Troque cores globais, fontes e espaçamentos nesta seção.
========================================================= */

:root {
  --color-black: #030205;
  --color-dark-blue: #13142D;
  --color-primary-blue: #0A1D68;
  --color-electric-blue: #184DCD;
  --color-red: #9D090D;
  --color-red-neon: #D20D16;
  --color-white-metal: #EDEBF2;
  --color-gray-blue: #A6B9D6;
  --color-gray-tech: #3C4160;
  --color-soft-blue: #70839F;
  --color-whatsapp: #159325;

  --font-heading: "Rajdhani", "Inter", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;

  --container: 1180px;
  --section-padding: 104px;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 34px;
  --radius-pill: 999px;

  --shadow-card: 0 24px 70px rgba(0, 0, 0, 0.45);
  --shadow-blue: 0 0 34px rgba(24, 77, 205, 0.35);
  --shadow-red: 0 0 34px rgba(210, 13, 22, 0.30);
  --shadow-whatsapp: 0 0 28px rgba(21, 147, 37, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-white-metal);
  background: var(--color-black);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img,
video,
iframe {
  max-width: 100%;
}

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

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

/* Background global fixo com partículas */
#particles-js {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at top left, rgba(24, 77, 205, 0.28), transparent 34%),
    radial-gradient(circle at top right, rgba(210, 13, 22, 0.18), transparent 28%),
    linear-gradient(135deg, #030205 0%, #07102c 45%, #030205 100%);
}

.site-noise {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.site-main {
  position: relative;
  z-index: 1;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading.align-left {
  text-align: left;
  margin-left: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid rgba(24, 77, 205, 0.45);
  border-radius: var(--radius-pill);
  background: rgba(24, 77, 205, 0.12);
  color: var(--color-white-metal);
  font-size: 0.77rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-red-neon);
  box-shadow: 0 0 18px rgba(210, 13, 22, 0.75);
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  margin: 0;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.86;
  text-transform: uppercase;
}

h2 {
  margin-top: 18px;
  font-size: clamp(2.2rem, 4.8vw, 4.1rem);
  line-height: 0.98;
  text-transform: uppercase;
}

h3 {
  font-size: 1.55rem;
  line-height: 1.05;
}

p {
  margin: 0;
  color: var(--color-gray-blue);
  line-height: 1.75;
}

.section-heading p,
.hero-content p,
.split-content p,
.about-content p,
.contact-card p,
.cta-box p,
.links-card p {
  margin-top: 20px;
  font-size: 1.03rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(3, 2, 5, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(166, 185, 214, 0.12);
}

.header-container {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: 164px;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 16px rgba(24, 77, 205, 0.34));
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-left: auto;
}

.site-nav a {
  color: rgba(237, 235, 242, 0.78);
  font-size: 0.92rem;
  font-weight: 700;
  transition: 0.2s ease;
}

.site-nav a:hover {
  color: #fff;
  text-shadow: 0 0 14px rgba(24, 77, 205, 0.85);
}

.header-cta {
  margin-left: 4px;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  color: #fff;
  background: linear-gradient(135deg, var(--color-whatsapp), #20c63a);
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: var(--shadow-whatsapp);
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(166, 185, 214, 0.18);
  border-radius: 14px;
  background: rgba(19, 20, 45, 0.92);
  color: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  border-radius: 999px;
  transition: 0.2s ease;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  gap: 10px;
  padding: 15px 24px;
  border: 0;
  border-radius: var(--radius-md);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.btn-whatsapp {
  color: #fff;
  background: linear-gradient(135deg, var(--color-whatsapp), #20c63a);
  box-shadow: var(--shadow-whatsapp);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary-blue), var(--color-electric-blue));
  box-shadow: var(--shadow-blue);
}

.btn-danger {
  color: #fff;
  background: linear-gradient(135deg, var(--color-red), var(--color-red-neon));
  box-shadow: var(--shadow-red);
}

.btn-outline {
  color: #fff;
  border: 1px solid rgba(24, 77, 205, 0.58);
  background: rgba(19, 20, 45, 0.34);
  box-shadow: inset 0 0 18px rgba(24, 77, 205, 0.18);
}

/* Hero */
.hero {
  min-height: calc(100vh - 82px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 92px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3,2,5,0.96) 0%, rgba(3,2,5,0.82) 38%, rgba(3,2,5,0.32) 74%, rgba(3,2,5,0.50) 100%),
    linear-gradient(0deg, #030205 0%, rgba(3,2,5,0.20) 38%, rgba(3,2,5,0.14) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 420px;
  align-items: center;
  gap: 52px;
}

.hero-content {
  max-width: 760px;
}

.hero-content h1 {
  margin-top: 20px;
  max-width: 850px;
  text-shadow: 0 0 28px rgba(24, 77, 205, 0.25);
}

.hero-content p {
  max-width: 650px;
  color: rgba(237, 235, 242, 0.82);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

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

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-badges span {
  padding: 9px 12px;
  border-radius: var(--radius-pill);
  background: rgba(19, 20, 45, 0.68);
  border: 1px solid rgba(166, 185, 214, 0.16);
  color: rgba(237, 235, 242, 0.82);
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-panel {
  padding: 24px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(19, 20, 45, 0.76), rgba(3, 2, 5, 0.82));
  border: 1px solid rgba(166, 185, 214, 0.18);
  box-shadow: var(--shadow-card), var(--shadow-blue);
  backdrop-filter: blur(14px);
}

.status-card {
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(21, 147, 37, 0.35);
  background: rgba(21, 147, 37, 0.10);
}

.status-dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  margin-right: 8px;
  background: #20c63a;
  box-shadow: 0 0 18px rgba(32, 198, 58, 0.9);
}

.status-card p {
  display: inline;
  color: #fff;
  font-weight: 700;
}

.status-card strong {
  display: block;
  margin-top: 12px;
  font-family: var(--font-heading);
  font-size: 2.2rem;
}

.hero-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.hero-mini-grid div {
  min-height: 112px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(3, 2, 5, 0.54);
  border: 1px solid rgba(24, 77, 205, 0.28);
}

.hero-mini-grid strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.7rem;
  color: #fff;
}

.hero-mini-grid span {
  display: block;
  margin-top: 8px;
  color: var(--color-gray-blue);
  font-size: 0.9rem;
}

/* Cards globais */
.cards-grid {
  display: grid;
  gap: 18px;
}

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

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

.service-card,
.feature-card,
.testimonial-card,
.benefit-card,
.repair-card,
.rental-card,
.contact-card,
.map-card,
.cta-box,
.links-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(166, 185, 214, 0.16);
  background: linear-gradient(180deg, rgba(19, 20, 45, 0.78), rgba(3, 2, 5, 0.88));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.service-card::before,
.feature-card::before,
.repair-card::before,
.rental-card::before,
.benefit-card::before,
.cta-box::before,
.links-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at top right, rgba(24, 77, 205, 0.20), transparent 38%);
}

.service-card,
.feature-card,
.testimonial-card,
.repair-card,
.rental-card,
.benefit-card {
  padding: 26px;
}

.service-card h3,
.feature-card h3,
.testimonial-card strong,
.repair-card h3,
.rental-card h3,
.benefit-card h3 {
  position: relative;
  z-index: 1;
}

.service-card p,
.feature-card p,
.testimonial-card p,
.repair-card p,
.rental-card p,
.benefit-card p {
  position: relative;
  z-index: 1;
  margin-top: 12px;
}

.card-icon {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 16px;
  background: rgba(24, 77, 205, 0.14);
  border: 1px solid rgba(24, 77, 205, 0.38);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  box-shadow: inset 0 0 18px rgba(24, 77, 205, 0.18);
}

/* Split / upgrades */
.split-section {
  background: linear-gradient(180deg, rgba(3, 2, 5, 0.1), rgba(10, 29, 104, 0.12));
}

.split-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  align-items: center;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.benefit-card span {
  display: inline-flex;
  margin-bottom: 16px;
  font-family: var(--font-heading);
  font-size: 1.7rem;
  color: var(--color-red-neon);
}

/* Repairs carousel */
.carousel-shell {
  position: relative;
}

.repair-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 390px);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 24px;
  scrollbar-width: thin;
}

.repair-card {
  min-height: 230px;
  scroll-snap-align: start;
  border-top: 3px solid var(--color-red-neon);
}

.carousel-btn {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(166, 185, 214, 0.18);
  border-radius: 50%;
  color: #fff;
  background: rgba(19, 20, 45, 0.88);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  box-shadow: var(--shadow-blue);
}

.carousel-btn.prev {
  left: -18px;
}

.carousel-btn.next {
  right: -18px;
}

/* Rental */
.rental-section {
  background:
    radial-gradient(circle at 80% 20%, rgba(210, 13, 22, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(3, 2, 5, 0.1), rgba(19, 20, 45, 0.24));
}

.rental-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.rental-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.rental-card span {
  display: block;
  margin-bottom: 18px;
  font-size: 2rem;
}

.rental-card:nth-child(5) {
  grid-column: 1 / -1;
}

/* Why */
.feature-card {
  min-height: 210px;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.video-card {
  padding: 10px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(24, 77, 205, 0.24), rgba(210, 13, 22, 0.14));
  border: 1px solid rgba(166, 185, 214, 0.16);
  box-shadow: var(--shadow-card), var(--shadow-blue);
}

.video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 24px;
  background: #000;
}

.about-content p + p {
  margin-top: 12px;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 28px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--color-gray-blue);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #20c63a;
  font-weight: 900;
}

/* Brands */
.brand-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.brand-strip span {
  min-width: 112px;
  text-align: center;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(237, 235, 242, 0.06);
  border: 1px solid rgba(166, 185, 214, 0.14);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: rgba(237, 235, 242, 0.88);
}

/* Testimonials */
.testimonial-card p {
  color: rgba(237, 235, 242, 0.86);
}

.testimonial-card strong {
  display: block;
  margin-top: 18px;
  color: var(--color-gray-blue);
}

/* CTA */
.final-cta {
  padding-top: 60px;
}

.cta-box {
  padding: clamp(32px, 6vw, 66px);
  text-align: center;
  border-color: rgba(24, 77, 205, 0.45);
  box-shadow: var(--shadow-card), var(--shadow-blue);
}

.cta-box h2,
.cta-box p,
.cta-box .hero-actions,
.cta-box .eyebrow {
  position: relative;
  z-index: 1;
}

.cta-box p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}

.contact-card {
  padding: 34px;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 26px 0;
}

.contact-list a,
.contact-list span {
  display: block;
  color: var(--color-gray-blue);
  line-height: 1.5;
}

.contact-list strong {
  color: #fff;
}

.map-card {
  min-height: 430px;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
  filter: saturate(1.05) contrast(1.05) brightness(0.9);
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  padding-top: 62px;
  background: rgba(3, 2, 5, 0.84);
  border-top: 1px solid rgba(166, 185, 214, 0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 0.8fr;
  gap: 34px;
}

.footer-logo {
  width: 170px;
  height: auto;
  filter: drop-shadow(0 0 16px rgba(24, 77, 205, 0.32));
}

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

.site-footer h3 {
  margin-bottom: 16px;
  font-size: 1.25rem;
}

.site-footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.site-footer li,
.site-footer a {
  color: var(--color-gray-blue);
  line-height: 1.55;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 50px;
  padding: 22px 0;
  border-top: 1px solid rgba(166, 185, 214, 0.10);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--color-gray-blue);
  font-size: 0.92rem;
}

/* Página de links */
.links-page .floating-whatsapp {
  display: none;
}

.links-wrapper {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 16px;
  position: relative;
}

.links-wrapper::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(3, 2, 5, 0.45), rgba(3, 2, 5, 0.92)),
    url('/assets/images/hero/hero-digital-house.webp') center / cover no-repeat;
  opacity: 0.85;
}

.links-card {
  width: min(100%, 560px);
  padding: 34px 22px 28px;
  text-align: center;
  border-radius: 32px;
  backdrop-filter: blur(16px);
}

.links-logo {
  width: 200px;
  max-width: 80%;
  margin-bottom: 22px;
  filter: drop-shadow(0 0 20px rgba(24, 77, 205, 0.42));
}

.links-card h1 {
  margin-top: 16px;
  font-size: clamp(2.3rem, 8vw, 4rem);
}

.links-list {
  display: grid;
  gap: 14px;
  margin: 30px 0 22px;
}

.link-button {
  display: grid;
  gap: 3px;
  padding: 17px 18px;
  border-radius: 18px;
  border: 1px solid rgba(166, 185, 214, 0.18);
  background: rgba(19, 20, 45, 0.76);
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.link-button:hover {
  transform: translateY(-2px);
  border-color: rgba(24, 77, 205, 0.68);
  background: rgba(24, 77, 205, 0.16);
}

.link-button strong {
  color: #fff;
  font-size: 1rem;
}

.link-button span {
  color: var(--color-gray-blue);
  font-size: 0.9rem;
}

.link-button.whatsapp {
  background: linear-gradient(135deg, rgba(21, 147, 37, 0.95), rgba(32, 198, 58, 0.86));
  border-color: rgba(32, 198, 58, 0.42);
  box-shadow: var(--shadow-whatsapp);
}

.link-button.whatsapp span {
  color: rgba(255,255,255,0.86);
}

.links-card small {
  color: rgba(166, 185, 214, 0.78);
}

/* WhatsApp flutuante */
.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  color: #fff;
  background: linear-gradient(135deg, var(--color-whatsapp), #20c63a);
  box-shadow: var(--shadow-whatsapp);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Animações de entrada */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }

/* Responsividade */
@media (max-width: 1100px) {
  .header-cta {
    display: none;
  }

  .site-nav {
    gap: 16px;
  }

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

  .hero-grid,
  .split-grid,
  .rental-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 560px;
  }
}

@media (max-width: 840px) {
  :root {
    --section-padding: 78px;
  }

  .header-container {
    min-height: 72px;
  }

  .brand-logo {
    width: 140px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .site-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 82px;
    display: grid;
    gap: 0;
    padding: 14px;
    border-radius: 24px;
    background: rgba(3, 2, 5, 0.96);
    border: 1px solid rgba(166, 185, 214, 0.14);
    box-shadow: var(--shadow-card);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: 0.2s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 14px 12px;
    border-radius: 14px;
  }

  .site-nav a:hover {
    background: rgba(24, 77, 205, 0.12);
  }

  .hero {
    min-height: auto;
    padding: 94px 0 72px;
  }

  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(3,2,5,0.86) 0%, rgba(3,2,5,0.86) 60%, #030205 100%),
      linear-gradient(90deg, rgba(3,2,5,0.90), rgba(3,2,5,0.58));
  }

  .hero-actions,
  .center-actions {
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .cards-grid-3,
  .cards-grid-4,
  .benefits-grid,
  .rental-cards,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .rental-card:nth-child(5) {
    grid-column: auto;
  }

  .section-heading,
  .section-heading.align-left {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }

  .carousel-btn {
    display: none;
  }

  .map-card,
  .map-card iframe {
    min-height: 320px;
  }

  .footer-bottom-inner {
    flex-direction: column;
  }
}

@media (max-width: 540px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  h1 {
    font-size: clamp(2.65rem, 15vw, 4rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .hero-panel,
  .contact-card,
  .service-card,
  .feature-card,
  .testimonial-card,
  .repair-card,
  .rental-card,
  .benefit-card {
    padding: 22px;
  }

  .hero-mini-grid {
    grid-template-columns: 1fr;
  }

  .status-card strong {
    font-size: 1.85rem;
  }

  .floating-whatsapp {
    right: 12px;
    bottom: 12px;
    min-height: 48px;
    padding: 0 15px;
    font-size: 0.82rem;
  }

  .links-card {
    padding: 28px 16px 22px;
  }
}

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