/* =============================================================================
   V-Broadband — VRUNDALI CABLE CONNECTION
   Premium mobile-first stylesheet | Ocean Blue + Orange CTA
   ============================================================================= */

:root {
  /* Ocean palette */
  --ocean-900: #03045e;
  --ocean-800: #023e8a;
  --ocean-700: #0077b6;
  --ocean-600: #0096c7;
  --ocean-500: #00b4d8;
  --ocean-400: #48cae4;
  --ocean-100: #caf0f8;
  /* CTA */
  --cta: #ff6b35;
  --cta-hover: #ff5722;
  --cta-soft: rgba(255, 107, 53, 0.12);
  /* Neutrals */
  --ink: #0f172a;
  --muted: #475569;
  --paper: #f8fafc;
  --card: #ffffff;
  --border: #e2e8f0;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 12px 40px rgba(2, 62, 138, 0.12);
  --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.08);
  --header-h: 76px;
  --mobile-cta-h: 64px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Inter",
    sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  padding-bottom: env(safe-area-inset-bottom);
}

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

a {
  color: var(--ocean-700);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 3px solid var(--ocean-400);
  outline-offset: 2px;
}

/* -----------------------------------------------------------------------------
   Utilities
   ----------------------------------------------------------------------------- */
.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--cta-soft);
  color: var(--cta-hover);
}

/* -----------------------------------------------------------------------------
   Header (sticky)
   ----------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand:hover {
  text-decoration: none;
}

/* Official logo (PNG). Fallback letter mark removed from HTML — keep class for legacy */
.brand-logo {
  height: 48px;
  width: auto;
  max-width: min(160px, 42vw);
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--ocean-700), var(--ocean-500));
  display: none;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  box-shadow: var(--shadow-sm);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-weight: 800;
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav-desktop a {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  text-decoration: none;
}

.nav-desktop a:hover {
  color: var(--ocean-700);
}

.header-cta {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 900px) {
  .nav-desktop,
  .header-cta {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--ink);
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mobile-nav.is-open {
  pointer-events: auto;
  opacity: 1;
}

.mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: #fff;
  padding: 1.25rem;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
}

.mobile-nav.is-open .mobile-nav-panel {
  transform: translateX(0);
}

.mobile-nav-close {
  margin-bottom: 1rem;
  width: 100%;
  padding: 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--paper);
  font-weight: 700;
  cursor: pointer;
}

.mobile-nav a {
  display: block;
  padding: 0.85rem 0;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
}

.mobile-nav-cta {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* -----------------------------------------------------------------------------
   Buttons
   ----------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--cta), var(--cta-hover));
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 10px 28px rgba(255, 107, 53, 0.45);
}

.btn-secondary {
  background: #fff;
  color: var(--ocean-800);
  border: 2px solid var(--ocean-200, #90e0ef);
  box-shadow: var(--shadow-sm);
}

.btn-ocean {
  background: linear-gradient(135deg, var(--ocean-800), var(--ocean-600));
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 119, 182, 0.3);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 1rem 1.5rem;
  font-size: 1.05rem;
  border-radius: 14px;
}

/* -----------------------------------------------------------------------------
   Hero
   ----------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
      165deg,
      var(--ocean-900) 0%,
      var(--ocean-800) 45%,
      var(--ocean-700) 100%
    );
  color: #fff;
  padding: 2.5rem 0 3.5rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(72, 202, 228, 0.25) 0%,
      transparent 45%
    ),
    radial-gradient(
      circle at 80% 60%,
      rgba(255, 107, 53, 0.15) 0%,
      transparent 40%
    );
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    padding: 1rem 0;
  }
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 5vw, 2.65rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

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

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

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 1rem;
  backdrop-filter: blur(8px);
}

.hero-card img {
  border-radius: var(--radius-sm);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.hero-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
}

/* -----------------------------------------------------------------------------
   Trust bar
   ----------------------------------------------------------------------------- */
.trust-bar {
  margin-top: -2rem;
  position: relative;
  z-index: 2;
}

.trust-inner {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem 1rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  border: 1px solid var(--border);
}

@media (min-width: 640px) {
  .trust-inner {
    grid-template-columns: repeat(4, 1fr);
    padding: 1.5rem;
  }
}

.trust-item {
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ocean-800);
}

.trust-item span {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

/* -----------------------------------------------------------------------------
   Sections generic
   ----------------------------------------------------------------------------- */
section {
  padding: 3rem 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  letter-spacing: -0.02em;
  color: var(--ocean-900);
}

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

/* -----------------------------------------------------------------------------
   Availability form
   ----------------------------------------------------------------------------- */
.availability {
  background: linear-gradient(180deg, #fff 0%, var(--paper) 100%);
}

.availability-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  max-width: 560px;
  margin-inline: auto;
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 480px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

input,
select,
textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  font: inherit;
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--ocean-500);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.2);
}

.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.75rem;
  text-align: center;
}

/* -----------------------------------------------------------------------------
   Cards / plans grid
   ----------------------------------------------------------------------------- */
.cards-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .cards-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (min-width: 1100px) {
  .cards-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.plan-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.35rem;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.plan-card.popular {
  border-color: var(--ocean-500);
  box-shadow: 0 0 0 2px rgba(0, 180, 216, 0.25);
}

.plan-card .popular-ribbon {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--cta);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  text-transform: uppercase;
}

.plan-speed {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--ocean-800);
  letter-spacing: -0.03em;
}

.plan-speed small {
  font-size: 1rem;
  font-weight: 700;
  color: var(--muted);
}

.plan-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0.5rem 0;
}

.plan-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: var(--muted);
}

.plan-card li {
  padding: 0.35rem 0;
  padding-left: 1.35rem;
  position: relative;
}

.plan-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ocean-600);
  font-weight: 800;
}

/* Combo tier headers */
.combo-tier {
  margin-bottom: 2rem;
}

.combo-tier h3 {
  margin: 0 0 1rem;
  color: var(--ocean-800);
  font-size: 1.25rem;
}

/* OTT strip */
.ott-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1rem;
}

.ott-pill {
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ocean-800);
}

/* Why us */
.why-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.why-card {
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  border: 1px solid var(--border);
}

.why-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.why-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Testimonials */
.testimonials {
  background: var(--ocean-900);
  color: #fff;
}

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

.testimonials .section-head p {
  color: rgba(255, 255, 255, 0.75);
}

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

@media (min-width: 700px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
}

.testimonial q {
  font-style: italic;
  display: block;
  margin-bottom: 0.75rem;
  line-height: 1.55;
}

.testimonial cite {
  font-size: 0.85rem;
  font-style: normal;
  opacity: 0.85;
}

/* Service area */
.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  max-width: 800px;
  margin-inline: auto;
}

.area-chip {
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.85rem;
}

/* Image + text rows — boxed card so they match plan-card layout (not edge-to-edge strips) */
.media-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.15rem, 3.5vw, 1.85rem);
  max-width: 100%;
}

.media-row {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  margin: 0;
}

@media (min-width: 800px) {
  .media-row {
    grid-template-columns: 1fr 1fr;
  }

  .media-row.reverse .media-row-text {
    order: -1;
  }
}

.media-row img {
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

/* On full-white section bands, lift the card slightly off the background */
.section--surface-white .media-block {
  background: var(--card);
  box-shadow: var(--shadow);
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
  }
}

.contact-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.contact-list strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.phone-big {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ocean-800);
}

.map-embed {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 280px;
}

.map-embed iframe {
  width: 100%;
  height: 320px;
  border: 0;
}

/* Urgency strip */
.urgency {
  background: linear-gradient(90deg, var(--cta-soft), transparent);
  border-left: 4px solid var(--cta);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  margin: 1rem 0;
  font-weight: 600;
  color: var(--ink);
}

/* Footer */
.site-footer {
  background: var(--ocean-900);
  color: rgba(255, 255, 255, 0.85);
  padding: 2.5rem 0 calc(2.5rem + var(--mobile-cta-h));
  font-size: 0.9rem;
}

@media (min-width: 900px) {
  .site-footer {
    padding-bottom: 2.5rem;
  }
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

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

.site-footer h3 {
  color: #fff;
  font-size: 0.95rem;
  margin: 0 0 0.75rem;
}

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

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  font-size: 0.85rem;
}

/* Sticky mobile CTA bar */
.mobile-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1500;
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
}

@media (min-width: 900px) {
  .mobile-sticky-cta {
    display: none;
  }
}

.mobile-sticky-cta .btn {
  flex: 1;
  padding: 0.9rem 0.5rem;
  font-size: 0.95rem;
}

/* Floating WhatsApp */
.fab-wa {
  position: fixed;
  bottom: calc(var(--mobile-cta-h) + 1rem + env(safe-area-inset-bottom));
  right: 1rem;
  z-index: 1600;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease;
}

.fab-wa:hover {
  transform: scale(1.06);
  text-decoration: none;
}

@media (min-width: 900px) {
  .fab-wa {
    bottom: 1.5rem;
  }
}

.fab-wa svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* Body padding for mobile bar */
body {
  padding-bottom: calc(var(--mobile-cta-h) + 0.5rem);
}

@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }
}

/* SEO / inner pages */
.page-hero {
  background: linear-gradient(135deg, var(--ocean-900), var(--ocean-700));
  color: #fff;
  padding: 2.5rem 0 2rem;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 4vw, 2.25rem);
}

.page-hero p {
  margin: 0;
  opacity: 0.9;
  max-width: 60ch;
}

.prose {
  max-width: 720px;
  margin: 0 auto;
}

.prose h2 {
  margin-top: 2rem;
  color: var(--ocean-800);
  font-size: 1.35rem;
}

.prose p {
  color: var(--muted);
}

.prose ul {
  color: var(--muted);
}

.cta-inline {
  margin: 2rem 0;
  padding: 1.25rem;
  background: var(--cta-soft);
  border-radius: var(--radius-sm);
  text-align: center;
}

/* 404 */
.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
}

.error-page h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

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

/* Animations */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fade-up 0.6s ease forwards;
}

.delay-1 {
  animation-delay: 0.1s;
  opacity: 0;
}

.delay-2 {
  animation-delay: 0.2s;
  opacity: 0;
}
