/* Pureva Water — brand styles */
:root {
  --pv-ink: #061a3d;
  --pv-deep: #0b3d91;
  --pv-blue: #1a56b0;
  --pv-sky: #4a7fd4;
  --pv-mist: #e8f0fa;
  --pv-foam: #f5f8fc;
  --pv-red: #e30613;
  --pv-red-dark: #b80510;
  --pv-white: #ffffff;
  --pv-muted: #5a6b7d;
  --pv-line: rgba(6, 26, 61, 0.12);
  --pv-shadow: 0 18px 50px rgba(6, 26, 61, 0.12);
  --font-display: "Roboto", Arial, Helvetica, sans-serif;
  --font-body: "Roboto", Arial, Helvetica, sans-serif;
  --radius: 1.25rem;
  --header-h: 4.75rem;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--pv-ink);
  background: var(--pv-foam);
  line-height: 1.65;
  overflow-x: hidden;
  padding-bottom: env(safe-area-inset-bottom);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

h1,
h2,
h3,
h4,
.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.container-pv {
  width: min(1120px, calc(100% - 3rem));
  margin-inline: auto;
}

/* Top bar */
.topbar {
  background: var(--pv-ink);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  padding: 0.45rem 0;
}

.topbar .container-pv {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.topbar a:hover {
  color: #fff;
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.topbar-location {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}

.topbar-location svg {
  flex-shrink: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--pv-line);
  min-height: calc(var(--header-h) + 1.8rem);
}

.nav-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
  width: 100%;
  padding-inline: 0.15rem 0.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--pv-ink);
}

.brand img {
  height: 52px;
  width: auto;
  max-width: min(220px, 52vw);
  object-fit: contain;
  background: transparent;
  display: block;
}

.brand-word .water {
  color: var(--pv-deep);
  font-family: var(--font-body);
  font-weight: 500;
  margin-left: 0.25rem;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: block;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--pv-muted);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--pv-deep);
  background: rgba(11, 61, 145, 0.08);
}

.nav-cta {
  margin-left: 0.5rem;
  padding-right: 0.35rem;
}

.nav-cta .btn-pv {
  margin-right: 0;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--pv-line);
  background: var(--pv-white);
  border-radius: 0.75rem;
  padding: 0.55rem 0.7rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--pv-ink);
  margin: 5px 0;
  transition: transform 0.2s, opacity 0.2s;
}

/* Buttons */
.btn-pv {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

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

.btn-primary-pv {
  background: linear-gradient(135deg, var(--pv-deep), var(--pv-blue));
  color: var(--pv-white);
  box-shadow: 0 12px 28px rgba(11, 61, 145, 0.3);
}

.btn-primary-pv:hover {
  box-shadow: 0 16px 34px rgba(11, 61, 145, 0.4);
  color: var(--pv-white);
}

.btn-ghost-pv {
  background: rgba(255, 255, 255, 0.18);
  color: var(--pv-white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn-ghost-pv:hover {
  background: rgba(255, 255, 255, 0.28);
  color: var(--pv-white);
}

.btn-outline-pv {
  background: transparent;
  color: var(--pv-deep);
  border: 1.5px solid rgba(11, 61, 145, 0.28);
}

.btn-outline-pv:hover {
  border-color: var(--pv-red);
  color: var(--pv-red);
}

.btn-accent-pv {
  background: var(--pv-ink);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(6, 26, 61, 0.28);
}

.btn-accent-pv:hover {
  background: #0a2858;
  color: #ffffff;
}

.nav-links a.btn-accent-pv,
.nav-links a.btn-accent-pv:hover,
.nav-links a.btn-accent-pv:focus,
.nav-links a.btn-accent-pv:active {
  color: #ffffff;
  background: var(--pv-ink);
}

.nav-links a.btn-accent-pv:hover {
  background: #0a2858;
  color: #ffffff;
}

/* Hero — full bleed */
.hero {
  position: relative;
  min-height: min(92vh, 760px);
  display: grid;
  align-items: end;
  color: var(--pv-white);
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(6, 26, 61, 0.45) 0%, rgba(6, 26, 61, 0.82) 100%),
    radial-gradient(ellipse at 70% 20%, rgba(26, 86, 176, 0.35), transparent 50%),
    url("../images/promo1.jpeg") center / cover no-repeat,
    linear-gradient(145deg, #0b3d91 0%, #061a3d 50%, #1a56b0 100%);
  background-size: cover;
  background-position: center;
  will-change: auto;
}

.hero-wave {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 120px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23f5f8fc' d='M0,64 C240,120 480,0 720,40 C960,80 1200,120 1440,60 L1440,120 L0,120 Z'/%3E%3C/svg%3E")
    center bottom / 100% 100% no-repeat;
}

/* heroDrift removed — continuous scale caused load/scroll jank */

.hero-inner {
  padding: 7rem 0 6.5rem;
  max-width: 720px;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 500;
  margin: 0 0 1rem;
  max-width: 34ch;
}

.hero-lead {
  font-size: 1.05rem;
  opacity: 0.92;
  max-width: 48ch;
  margin: 0 0 1.75rem;
}

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

/* Phones / small Android: hide hero text overlay (buttons stay) */
@media (max-width: 767.98px) {
  .hero .hero-copy {
    display: none !important;
    visibility: hidden;
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    pointer-events: none;
  }
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  background:
    radial-gradient(ellipse at 10% 0%, rgba(26, 86, 176, 0.16), transparent 50%),
    linear-gradient(180deg, #dbe7f6 0%, var(--pv-foam) 100%);
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -8%;
  top: -20%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 6, 19, 0.08), transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin: 0 0 0.75rem;
}

.page-hero p {
  margin: 0;
  max-width: 54ch;
  color: var(--pv-muted);
  font-size: 1.05rem;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, var(--pv-mist) 0%, var(--pv-foam) 100%);
}

.section-dark {
  background: linear-gradient(145deg, #061a3d 0%, #0b3d91 55%, #1a56b0 100%);
  color: var(--pv-white);
}

.section-head {
  max-width: 620px;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.45rem);
  margin: 0 0 0.75rem;
}

.section-head p {
  margin: 0;
  color: var(--pv-muted);
}

.section-dark .section-head p {
  color: rgba(255, 255, 255, 0.78);
}

/* Feature / service blocks — no card chrome in hero; light interaction surfaces elsewhere */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.feature-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.feature-item {
  padding: 0.25rem 0;
  min-width: 0;
  max-width: 100%;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 1rem;
  display: grid;
  place-items: center;
  background: rgba(11, 61, 145, 0.1);
  color: var(--pv-deep);
  margin-bottom: 1rem;
}

.feature-item h3 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

.feature-item p {
  margin: 0;
  color: var(--pv-muted);
  font-size: 0.95rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  min-height: 12rem;
}

#home-features {
  min-height: 10rem;
}

#certifications-gallery {
  min-height: 12rem;
}

.service-item {
  padding: 1.5rem 0;
  border-top: 1px solid var(--pv-line);
}

.service-item h3 {
  font-size: 1.25rem;
  margin: 0.85rem 0 0.5rem;
}

.service-item p {
  margin: 0;
  color: var(--pv-muted);
}

/* Stats — auto-centers for any number of items */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.75rem 2.5rem;
  text-align: center;
}

.stats-row > * {
  flex: 0 1 180px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--pv-red);
  line-height: 1;
  margin-bottom: 0.4rem;
  text-align: center;
}

.section-dark .stat-value {
  color: #fff;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--pv-muted);
  text-align: center;
}

.section-dark .stat-label {
  color: rgba(255, 255, 255, 0.75);
}

/* Audience pills — keep restrained */
.audience-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.audience-list li {
  padding: 0.55rem 1rem;
  background: var(--pv-white);
  border: 1px solid var(--pv-line);
  border-radius: 0.5rem;
  font-size: 0.92rem;
  font-weight: 500;
}

/* Process */
.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}

.process-list li {
  counter-increment: step;
  padding: 1.25rem 0 1.25rem 3.25rem;
  position: relative;
  border-bottom: 1px solid var(--pv-line);
  font-weight: 500;
}

.process-list li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.15rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--pv-red);
  font-weight: 700;
}

/* Split layout */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: start;
}

.split.split-middle {
  align-items: center;
}

.split-middle .split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-middle .split-copy .section-head {
  margin-bottom: 1.25rem;
}

.split-visual {
  min-height: 420px;
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(6, 26, 61, 0.15), rgba(11, 61, 145, 0.12)),
    url("../images/promo2.jpeg") center / cover no-repeat,
    linear-gradient(145deg, #1a56b0, #061a3d);
  box-shadow: var(--pv-shadow);
  position: relative;
  overflow: hidden;
}

.split-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6, 26, 61, 0.35));
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.price-plan {
  background: var(--pv-white);
  border: 1px solid var(--pv-line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}

.price-plan:hover {
  transform: translateY(-4px);
  box-shadow: var(--pv-shadow);
}

.price-plan.featured {
  background: linear-gradient(165deg, #061a3d, #0b3d91);
  color: var(--pv-white);
  border-color: transparent;
  transform: scale(1.03);
}

.price-plan.featured:hover {
  transform: scale(1.03) translateY(-4px);
}

.price-plan h3 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.price-amount small {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 500;
  opacity: 0.8;
}

.price-period {
  font-size: 0.9rem;
  color: var(--pv-muted);
  margin-bottom: 1.5rem;
}

.price-plan.featured .price-period {
  color: rgba(255, 255, 255, 0.75);
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  flex: 1;
}

.price-features li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--pv-line);
  font-size: 0.95rem;
  padding-left: 1.4rem;
  position: relative;
}

.price-plan.featured .price-features li {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.price-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pv-deep);
}

.price-plan.featured .price-features li::before {
  background: var(--pv-red);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step-item {
  position: relative;
  padding-top: 0.5rem;
}

.step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(11, 61, 145, 0.2);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.step-item h3 {
  margin: 0 0 0.5rem;
}

.step-item p {
  margin: 0;
  color: var(--pv-muted);
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border-bottom: 1px solid var(--pv-line);
}

.faq-item summary {
  cursor: pointer;
  padding: 1.1rem 0;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  color: var(--pv-red);
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0 0 1.15rem;
  color: var(--pv-muted);
}

/* Quality bars */
.bar-row {
  margin-bottom: 1.25rem;
}

.bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.bar-track {
  height: 8px;
  background: rgba(6, 26, 61, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--pv-deep), var(--pv-red));
  border-radius: 999px;
  transition: width 1.2s ease;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-meta {
  display: grid;
  gap: 1.5rem;
}

.contact-meta h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.contact-meta p {
  margin: 0;
  color: var(--pv-muted);
}

.contact-meta a {
  color: var(--pv-deep);
  font-weight: 500;
}

.contact-meta a:hover {
  color: var(--pv-red);
}

.contact-social-panel {
  background: var(--pv-white);
  border: 1px solid var(--pv-line);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.contact-social-lead {
  margin: 0 0 1.25rem;
  color: var(--pv-muted);
}

.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.85rem;
  display: grid;
  place-items: center;
  background: var(--pv-mist);
  color: var(--pv-deep);
  transition: transform 0.2s, background 0.2s, color 0.2s;
}

.social-icon:hover {
  transform: translateY(-3px);
  background: var(--pv-deep);
  color: var(--pv-white);
}

.social-icon.facebook:hover { background: #1877f2; }
.social-icon.instagram:hover { background: #e4405f; }
.social-icon.youtube:hover { background: #ff0000; }
.social-icon.tiktok:hover { background: #111; }
.social-icon.twitter:hover { background: #111; }
.social-icon.linkedin:hover { background: #0a66c2; }
.social-icon.whatsapp:hover { background: #25d366; }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--pv-line);
  box-shadow: var(--pv-shadow);
  background: var(--pv-white);
  min-height: 380px;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

/* Promo gallery */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.promo-item {
  border-radius: 1rem;
  overflow: hidden;
  background: var(--pv-mist);
  aspect-ratio: 3 / 4;
  box-shadow: 0 8px 24px rgba(6, 26, 61, 0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}

.promo-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--pv-shadow);
}

.promo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Certifications media gallery */
.media-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.media-card {
  margin: 0;
  background: var(--pv-white);
  border: 1px solid var(--pv-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.media-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--pv-shadow);
}

.media-thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--pv-mist);
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.media-card:hover .media-thumb img {
  transform: scale(1.04);
}

.media-card figcaption {
  padding: 1rem 1.15rem 1.25rem;
  display: grid;
  gap: 0.35rem;
}

.media-card figcaption strong {
  font-size: 1.05rem;
  color: var(--pv-ink);
}

.media-card figcaption span {
  font-size: 0.92rem;
  color: var(--pv-muted);
  line-height: 1.45;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(6, 26, 61, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.gallery-lightbox.open {
  display: flex;
}

.gallery-lightbox-inner {
  max-width: min(920px, 100%);
  text-align: center;
}

.gallery-lightbox-inner img {
  max-height: min(72vh, 720px);
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 0.75rem;
  background: var(--pv-white);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.gallery-caption {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}

.gallery-close,
.gallery-nav {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  border-radius: 999px;
  transition: background 0.2s;
}

.gallery-close:hover,
.gallery-nav:hover {
  background: rgba(255, 255, 255, 0.22);
}

.gallery-close {
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  font-size: 1.75rem;
  line-height: 1;
}

.gallery-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  font-size: 1.35rem;
}

.gallery-prev {
  left: 1rem;
}

.gallery-next {
  right: 1rem;
}

/* CTA band */
.cta-band {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 1.5rem;
  align-items: center;
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  max-width: 48ch;
}

/* Footer */
.site-footer {
  background: var(--pv-ink);
  color: rgba(255, 255, 255, 0.82);
  padding: 3.5rem 0 1.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 1.15fr auto;
  gap: 2rem;
  margin-bottom: 2.5rem;
  align-items: start;
}

.footer-qr {
  text-align: center;
  max-width: 180px;
  justify-self: end;
}

.footer-qr h4 {
  margin-bottom: 0.45rem;
}

.footer-qr-text {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
}

.footer-qr-link {
  display: inline-block;
  padding: 0.55rem;
  background: #fff;
  border-radius: 0.85rem;
  line-height: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-qr-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.footer-qr-link img {
  width: 132px;
  height: 132px;
  object-fit: contain;
  display: block;
}

.site-footer h4 {
  color: var(--pv-white);
  margin: 0 0 1rem;
  font-size: 1.05rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 0.5rem;
}

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

.footer-explore {
  display: flex;
  flex-direction: column;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--pv-white);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.footer-brand span {
  color: var(--pv-red);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  text-align: center;
  font-size: 0.88rem;
}

.footer-credit {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.footer-credit a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-credit a:hover {
  color: var(--pv-red);
}

.social-links {
  display: flex;
  gap: 0.85rem;
}

/* WhatsApp float */
.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1100;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s;
}

.wa-float:hover {
  transform: scale(1.08);
  color: #fff;
}

/* Reveal — always visible (no opacity flash on navigation) */
.reveal,
.reveal.in,
.js-anim .reveal:not(.in),
.js-anim .reveal.in {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Bootstrap utility replacements (Bootstrap CDN removed for faster paint) */
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.d-flex { display: flex; }
.d-none { display: none; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: 0.5rem; }
.h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}
.text-muted { color: var(--pv-muted); }

/* Values list */
.values-list {
  display: grid;
  gap: 1.5rem;
}

.values-list h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

.values-list p {
  margin: 0;
  color: var(--pv-muted);
}

/* Responsive */
@media (max-width: 1100px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid.cols-3,
  .service-grid,
  .pricing-grid,
  .steps,
  .process-list,
  .media-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .section {
    padding: 3.25rem 0;
  }

  .page-hero {
    padding: 3.25rem 0 2.5rem;
  }

  .split,
  .contact-grid,
  .footer-grid,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .footer-qr {
    justify-self: center;
    max-width: none;
  }

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

  .feature-grid,
  .feature-grid.cols-3,
  .service-grid,
  .pricing-grid,
  .steps,
  .process-list,
  .media-gallery {
    grid-template-columns: 1fr;
  }

  .stats-row {
    gap: 1.5rem 1.25rem;
  }

  .stats-row > * {
    flex: 1 1 140px;
    min-width: 0;
  }

  .split-visual {
    min-height: 260px;
    width: 100%;
  }

  .audience-list {
    max-width: 100%;
  }

  .audience-list li {
    flex: 1 1 calc(50% - 0.65rem);
    text-align: center;
  }

  .site-footer li,
  .site-footer p,
  .site-footer a {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .price-plan.featured {
    transform: none;
  }

  .price-plan.featured:hover {
    transform: translateY(-4px);
  }

  .menu-toggle {
    display: block;
    z-index: 2;
  }

  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    flex-direction: column;
    align-items: stretch;
    background: var(--pv-white);
    border-bottom: 1px solid var(--pv-line);
    box-shadow: 0 16px 32px rgba(6, 26, 61, 0.12);
    padding: 0.75rem 1rem 1rem;
    display: none;
    max-height: calc(100vh - 7rem);
    overflow-y: auto;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links > li > a:not(.btn-pv) {
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
  }

  .nav-cta {
    margin: 0.5rem 0 0;
  }

  .nav-cta .btn-pv {
    width: 100%;
  }

  .topbar-email,
  .topbar-hours {
    display: none;
  }

  .topbar-location-text {
    display: inline-block;
    max-width: 42vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
  }

  .map-wrap {
    min-height: 280px;
  }

  .map-wrap iframe {
    height: 300px;
  }

  .cta-band .d-flex {
    width: 100%;
  }

  /* Hero copy visible on larger tablets; hidden below 768px via dedicated query */

  .hero {
    min-height: min(72vh, 560px);
    align-items: end;
    justify-items: center;
  }

  .hero-inner {
    width: min(1120px, calc(100% - 2.5rem));
    max-width: 560px;
    margin-inline: auto;
    padding: 4rem 0 5.25rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: relative;
    z-index: 2;
    text-align: center;
  }

  .hero-copy .hero-brand {
    font-size: clamp(2.1rem, 6vw, 3.2rem);
  }

  .hero-copy h1 {
    margin-inline: auto;
    font-size: clamp(1.15rem, 2.8vw, 1.5rem);
  }

  .hero-copy .hero-lead {
    margin-inline: auto;
    font-size: 0.98rem;
  }

  .hero-wave {
    height: 72px;
    pointer-events: none;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
    gap: 0.6rem;
  }

  .hero-actions .btn-pv {
    width: auto;
    flex: 0 1 auto;
    min-width: 0;
    min-height: 42px;
    padding: 0.65rem 1.1rem;
    font-size: 0.875rem;
    justify-content: center;
    pointer-events: auto;
  }

  .hero-actions .btn-ghost-pv {
    background: rgba(6, 26, 61, 0.55);
    border-color: rgba(255, 255, 255, 0.55);
  }
}

@media (max-width: 640px) {
  .container-pv {
    width: min(1120px, calc(100% - 1.25rem));
  }

  .section {
    padding: 2.75rem 0;
  }

  .section-head {
    margin-bottom: 1.75rem;
  }

  .feature-grid,
  .feature-grid.cols-3,
  .service-grid,
  .pricing-grid,
  .steps,
  .process-list,
  .promo-grid,
  .media-gallery,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .stats-row {
    flex-direction: column;
    align-items: center;
    gap: 1.35rem;
  }

  .stats-row > * {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
  }

  .audience-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }

  .audience-list li {
    flex: none;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  .split-middle {
    align-items: stretch;
  }

  .split > * {
    min-width: 0;
    max-width: 100%;
  }

  .split-visual {
    min-height: 220px;
    order: -1;
  }

  .section-head {
    max-width: 100%;
  }

  .container-pv {
    width: min(1120px, calc(100% - 1.25rem));
    max-width: 100%;
  }

  .feature-item,
  .service-item,
  .media-card {
    min-width: 0;
    max-width: 100%;
  }

  .hero {
    min-height: min(68vh, 480px);
    align-items: end;
    justify-items: center;
  }

  .hero-inner {
    padding: 0 0 4.25rem;
    max-width: 100%;
    width: min(1120px, calc(100% - 1.5rem));
  }

  .hero-wave {
    height: 56px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 260px;
    margin-inline: auto;
    gap: 0.55rem;
  }

  .hero-actions .btn-pv {
    width: 100%;
    min-height: 40px;
    padding: 0.55rem 1rem;
    font-size: 0.84rem;
  }

  .brand img {
    height: 40px;
    max-width: min(170px, 55vw);
  }

  .page-hero {
    padding: 2.75rem 0 2rem;
  }

  .page-hero h1 {
    font-size: clamp(1.75rem, 8vw, 2.2rem);
  }

  .price-plan {
    padding: 1.5rem 1.25rem;
  }

  .price-amount {
    font-size: 2.1rem;
  }

  .faq-item summary {
    font-size: 0.98rem;
    gap: 0.75rem;
    align-items: flex-start;
  }

  .contact-social-panel {
    padding: 1.25rem;
  }

  .map-wrap iframe {
    height: 260px;
  }

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

  .footer-qr {
    justify-self: center;
    text-align: center;
  }

  .footer-qr-link img {
    width: 120px;
    height: 120px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .social-links {
    flex-wrap: wrap;
  }

  .wa-float {
    right: max(0.85rem, env(safe-area-inset-right));
    bottom: max(0.85rem, env(safe-area-inset-bottom));
    width: 52px;
    height: 52px;
  }

  .gallery-lightbox {
    padding: 1rem;
  }

  .gallery-lightbox-inner img {
    max-height: min(60vh, 520px);
  }

  .gallery-close {
    top: 0.65rem;
    right: 0.65rem;
  }

  .gallery-prev {
    left: 0.35rem;
  }

  .gallery-next {
    right: 0.35rem;
  }

  .gallery-nav {
    width: 40px;
    height: 40px;
  }

  .topbar {
    font-size: 0.75rem;
  }

  .topbar .container-pv {
    justify-content: center;
    text-align: center;
    gap: 0.5rem 0.85rem;
  }

  .topbar-location-text {
    max-width: 58vw;
  }

  .cta-band .d-flex {
    flex-direction: column;
  }

  .cta-band .btn-pv {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .stats-row {
    flex-direction: column;
    gap: 1.25rem;
  }

  .stats-row > * {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
  }

  .promo-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: 1.75rem;
  }

  .footer-qr {
    justify-self: center;
    width: 100%;
    max-width: 200px;
  }

  .topbar-location-text {
    max-width: 52vw;
  }
}

@media (max-width: 425px) {
  .footer-explore {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.35rem 0.85rem;
    align-items: center;
  }

  .footer-explore li {
    margin-bottom: 0;
  }
}

@media (max-width: 380px) {
  .topbar-location-text {
    max-width: 48vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .js-anim .reveal:not(.in),
  .js-anim .reveal.in {
    opacity: 1 !important;
    transform: none !important;
  }
}
