/* ============================================================
   VIVPURE — RESPONSIVE STYLES
   responsive.css
   ============================================================ */

/* ============================================================
   1440px and below
   ============================================================ */
@media (max-width: 1440px) {
  :root {
    --section-py: 5.5rem;
  }
}

/* ============================================================
   1280px and below
   ============================================================ */
@media (max-width: 1280px) {
  .hero-bottle-img {
    width: clamp(220px, 28vw, 400px);
  }

  .product-panel-inner {
    gap: 3rem;
  }

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

/* ============================================================
   1024px (tablets landscape)
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --section-py: 5rem;
  }

  .vp-navbar .nav-link {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.8rem;
  }

  .hero-heading {
    font-size: clamp(2.5rem, 5vw, 4rem);
  }

  .product-panel-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .product-visual {
    max-width: 400px;
    margin: 0 auto;
  }

  .service-editorial {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .service-editorial:nth-child(even) {
    direction: ltr;
  }

  .service-editorial-visual {
    height: 280px;
  }

  .sizes-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .delivery-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .delivery-steps::before {
    display: none;
  }

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

  .private-label-bottles {
    height: 300px;
  }

  .pl-bottle-2 {
    width: 140px;
  }

  .why-feature-inner {
    grid-template-columns: 60px 1fr auto;
    gap: 1.25rem;
  }

  .why-num {
    font-size: 2.5rem;
  }
}

/* ============================================================
   768px (tablets portrait)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --section-py: 4rem;
  }

  /* Navbar */
  .vp-navbar {
    padding: 1rem 0;
  }

  .vp-navbar .navbar-brand img {
    height: 44px;
  }

  /* Hero — mobile redesign */
  .hero-section {
    min-height: 100svh;
    padding-bottom: 6rem;
    align-items: flex-start;
    padding-top: 5rem;
  }

  .hero-content {
    text-align: center;
    padding-top: 2rem;
  }

  .hero-label {
    justify-content: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .hero-bottle-col {
    order: -1;
  }

  .hero-bottle-img {
    width: clamp(200px, 55vw, 300px);
    margin: 0 auto;
  }

  .hero-scroll {
    display: none;
  }

  /* Trust strip */
  .trust-strip-items {
    flex-wrap: wrap;
    gap: 0;
  }

  .trust-item {
    flex: 50%;
    border-right: none;
    border-bottom: 1px solid var(--gray-light);
    padding: 1.25rem 1rem;
  }

  .trust-item:nth-child(even) {
    border-left: 1px solid var(--gray-light);
  }

  /* Sections */
  .brand-story-number {
    font-size: 6rem;
  }

  .why-feature-inner {
    grid-template-columns: 50px 1fr;
  }

  .why-cta-arrow {
    display: none;
  }

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

  .size-card {
    padding: 2.5rem 2rem;
  }

  .size-bottle-silhouette {
    height: 140px;
  }

  .promise-checks {
    grid-template-columns: 1fr;
  }

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

  .product-tabs {
    overflow-x: auto;
  }

  .process-timeline {
    padding-left: 2rem;
  }

  .contact-form-wrap {
    padding: 2rem;
  }

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

  .final-cta-bottle {
    display: none;
  }

  /* Manifesto */
  .manifesto-main {
    font-size: clamp(1.75rem, 5vw, 3rem);
  }

  /* Mobile Water Bottle Image Alignment & Centering */
  .brand-intro-card {
    margin-top: 2rem !important;
    padding: 2.5rem 1.5rem !important;
  }

  .brand-intro-bottle {
    max-height: 240px !important;
    width: auto !important;
    margin: 0 auto !important;
    display: block !important;
  }

  .private-label-podium {
    min-height: 220px !important;
    max-width: 320px !important;
    margin: 2rem auto 0 !important;
  }

  .pl-podium-stage {
    height: 210px !important;
  }

  .pl-podium-glow {
    width: 180px !important;
    height: 180px !important;
  }

  .pl-center-bottle {
    width: 110px !important;
  }

  .pl-left-bottle {
    width: 75px !important;
    left: 5% !important;
  }

  .pl-right-bottle {
    width: 80px !important;
    right: 5% !important;
  }

  .final-cta-stage {
    margin-top: 1.5rem !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .final-cta-bottle-img {
    max-height: 220px !important;
    width: auto !important;
    margin: 0 auto !important;
    display: block !important;
  }

  .final-cta-halo {
    width: 180px !important;
    height: 180px !important;
  }

  .product-visual {
    margin-top: 1.5rem !important;
    text-align: center !important;
  }

  .product-bottle-img {
    max-height: 220px !important;
    width: auto !important;
    margin: 0 auto !important;
    display: block !important;
  }

  .size-card {
    text-align: center !important;
  }

  .size-bottle-silhouette {
    height: 140px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .size-bottle-silhouette img {
    max-height: 130px !important;
    width: auto !important;
    margin: 0 auto !important;
    display: block !important;
  }

  .service-editorial-visual {
    height: auto !important;
    min-height: 220px !important;
    padding: 2.5rem 1.5rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .service-editorial-visual img {
    max-height: 210px !important;
    width: auto !important;
    margin: 0 auto !important;
    display: block !important;
  }

  /* Terms */
  .terms-toc {
    position: static;
    margin-bottom: 2rem;
  }
}

/* Global Mobile Safety */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw;
}

@media (max-width: 576px) {
  :root {
    --section-py: 3.5rem;
  }

  .hero-heading {
    font-size: clamp(2rem, 8.5vw, 2.8rem);
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
  }

  .hero-btns .btn-primary-vp,
  .hero-btns .btn-secondary-vp {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .section-heading {
    font-size: clamp(1.65rem, 7vw, 2.4rem);
  }

  .water-text-main {
    font-size: clamp(1.8rem, 8vw, 3.2rem);
  }

  .page-hero-heading {
    font-size: clamp(1.8rem, 7.5vw, 2.8rem);
  }

  .trust-item {
    flex: 100%;
    justify-content: center;
    text-align: center;
  }

  .trust-item:nth-child(even) {
    border-left: none;
  }

  .values-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .why-feature-inner {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .why-num {
    font-size: 2rem;
  }

  .brand-story-heading {
    font-size: clamp(1.8rem, 7.5vw, 2.8rem);
  }

  .promise-headline {
    font-size: clamp(2.2rem, 9vw, 3.5rem);
  }

  .final-cta-heading {
    font-size: clamp(2.2rem, 9vw, 3.5rem);
  }

  .whatsapp-float {
    bottom: 1.25rem;
    right: 1.25rem;
    padding: 0.65rem 1.15rem;
    font-size: 0.8rem;
  }

  .service-editorial-content {
    padding: 2rem 1.25rem;
  }

  .contact-form-wrap {
    padding: 1.5rem;
    border-radius: var(--radius-md);
  }

  .terms-toc {
    padding: 1.25rem;
  }

  .footer-links {
    margin-bottom: 1.5rem;
  }

  .private-label-heading {
    font-size: clamp(1.8rem, 7.5vw, 3rem);
  }

  .manifesto-main {
    font-size: clamp(1.4rem, 6.5vw, 2.2rem);
  }
}

/* ============================================================
   430px and below
   ============================================================ */
@media (max-width: 430px) {
  .hero-bottle-img {
    width: clamp(160px, 58vw, 240px);
  }

  .preloader-logo {
    width: 170px;
  }

  .values-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   390px and below
   ============================================================ */
@media (max-width: 390px) {
  :root {
    --section-py: 3rem;
  }

  .hero-heading {
    font-size: clamp(2rem, 9vw, 2.5rem);
  }

  .hero-bottle-img {
    width: clamp(150px, 55vw, 220px);
  }

  .section-heading {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }
}

/* ============================================================
   360px and below
   ============================================================ */
@media (max-width: 360px) {
  .hero-heading {
    font-size: 2rem;
  }
}

/* Contact Page & Forms Mobile Responsiveness */
@media (max-width: 768px) {
  .contact-master-studio {
    margin-top: 1.5rem;
    gap: 1.75rem;
  }

  .contact-card-white {
    padding: 2rem 1.25rem;
    border-radius: 20px;
  }

  .contact-card-dark {
    padding: 2rem 1.25rem;
    border-radius: 20px;
  }

  .contact-service-selector {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .contact-chip-btn {
    padding: 0.65rem 0.4rem;
    font-size: 0.72rem;
  }

  .form-floating-vp {
    margin-bottom: 1.15rem;
  }

  .contact-info-block {
    gap: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .contact-info-icon-node {
    width: 40px; height: 40px;
    font-size: 1rem;
  }

  .contact-pills-row {
    gap: 0.65rem;
  }

  .contact-pill-item {
    padding: 0.55rem 1rem;
    font-size: 0.82rem;
  }
}

/* ============================================================
   Landscape mobile fixes
   ============================================================ */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
  }

  .hero-bottle-img {
    width: 160px;
  }

  .page-hero-content {
    padding: 5rem 0 3rem;
  }
}

/* ============================================================
   Print
   ============================================================ */
@media print {
  .vp-navbar,
  .whatsapp-float,
  .cursor-dot,
  .cursor-ring,
  #preloader {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
  }
}
