/* ============================================================
   AVALON POOL & SPA — Stylesheet
   Fonts: Barlow Condensed (display) + Barlow (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800;900&family=Barlow:wght@400;500;600&display=swap');

/* ── Variables ── */
:root {
  --navy:       #0D1B2A;
  --orange:     #E8521A;
  --pool-blue:  #1A6B8A;
  --sky:        #E8F4F8;
  --white:      #FFFFFF;
  --body-text:  #3A4A5C;
  --muted:      #6B7A8D;
  --border:     #D6E4ED;
  --bg-light:   #F2F7FA;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;

  --radius-btn:  5px;
  --radius-card: 10px;
  --max-width:   1280px;
  --pad-x:       80px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--navy); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ── Utilities ── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--pad-x); }
.eyebrow { font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; display: block; }
.btn-primary { display: inline-block; background: var(--orange); color: var(--white); font-family: var(--font-body); font-weight: 600; font-size: 16px; padding: 16px 36px; border-radius: var(--radius-btn); border: none; cursor: pointer; transition: background 0.2s; }
.btn-primary:hover { background: #d44916; }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-family: var(--font-body); font-weight: 600; font-size: 16px; padding: 15px 28px; border-radius: var(--radius-btn); border: 1.5px solid rgba(255,255,255,0.28); transition: border-color 0.2s; }
.btn-outline:hover { border-color: rgba(255,255,255,0.6); }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; align-items: center; gap: 10px; font-family: var(--font-body); font-size: 15px; color: var(--body-text); }
.check-list li::before { content: ''; width: 17px; height: 17px; border-radius: 50%; background: var(--sky); flex-shrink: 0; background-image: url("data:image/svg+xml,%3Csvg width='17' height='17' viewBox='0 0 17 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8.5' cy='8.5' r='7.5' fill='%23E8F4F8'/%3E%3Cpath d='M5 8.5l2.5 2.5 4.5-5' stroke='%231A6B8A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-size: cover; }

/* ── NAV ── */
.nav { background: var(--navy); height: 72px; position: sticky; top: 0; z-index: 100; }
.nav .container { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo svg { flex-shrink: 0; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-name { font-family: var(--font-display); font-weight: 900; font-size: 20px; color: var(--white); letter-spacing: -0.01em; line-height: 1.1; }
.nav-logo-area { font-family: var(--font-body); font-weight: 400; font-size: 11px; color: var(--muted); letter-spacing: 0.04em; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { font-family: var(--font-body); font-weight: 500; font-size: 15px; color: rgba(255,255,255,0.65); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-cta { background: var(--orange); color: var(--white); font-family: var(--font-body); font-weight: 600; font-size: 15px; padding: 10px 24px; border-radius: var(--radius-btn); border: none; cursor: pointer; transition: background 0.2s; white-space: nowrap; }
.nav-cta:hover { background: #d44916; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.25s; }
.nav-mobile { display: none; }

/* ── HERO ── */
.hero { position: relative; min-height: 620px; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(13,27,42,0.93) 45%, rgba(13,27,42,0.35) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; padding: 88px 0; max-width: 760px; display: flex; flex-direction: column; gap: 32px; }
.hero-stars { display: flex; align-items: center; gap: 8px; }
.hero-stars-icons { display: flex; gap: 3px; }
.hero-stars span { font-family: var(--font-body); font-weight: 500; font-size: 14px; color: rgba(255,255,255,0.65); }
.hero-headline { display: flex; flex-direction: column; }
.hero-headline-white { font-family: var(--font-display); font-weight: 900; font-size: 108px; line-height: 0.92; color: var(--white); letter-spacing: -0.02em; }
.hero-headline-orange { font-family: var(--font-display); font-weight: 900; font-size: 108px; line-height: 0.92; color: var(--orange); letter-spacing: -0.02em; }
.hero-sub { font-family: var(--font-body); font-weight: 400; font-size: 19px; line-height: 1.65; color: rgba(255,255,255,0.7); max-width: 520px; }
.hero-ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 24px; flex-wrap: wrap; }
.hero-trust-item { display: flex; align-items: center; gap: 7px; }
.hero-trust-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--pool-blue); flex-shrink: 0; }
.hero-trust-item span { font-family: var(--font-body); font-weight: 400; font-size: 14px; color: rgba(255,255,255,0.5); }

/* ── SERVICES ── */
.services { background: var(--white); padding: 88px 0; }
.services-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 52px; }
.services-title { font-family: var(--font-display); font-weight: 900; font-size: 52px; line-height: 1.0; color: var(--navy); letter-spacing: -0.01em; }
.services-note { font-family: var(--font-body); font-weight: 400; font-size: 15px; color: var(--muted); max-width: 280px; text-align: right; line-height: 1.5; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { background: var(--sky); border-radius: var(--radius-card); overflow: hidden; display: flex; flex-direction: column; }
.service-card-img { width: 100%; height: 160px; object-fit: cover; display: block; }
.service-card-body { padding: 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.service-card-title { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--navy); text-transform: uppercase; letter-spacing: 0.03em; }
.service-card-desc { font-family: var(--font-body); font-weight: 400; font-size: 15px; line-height: 1.6; color: var(--body-text); }
.service-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; }
.service-card-price { font-family: var(--font-display); font-weight: 900; font-size: 26px; color: var(--navy); }
.service-card-price-note { font-family: var(--font-body); font-size: 12px; color: var(--muted); margin-top: 2px; }
.service-card-link { font-family: var(--font-body); font-weight: 600; font-size: 13px; color: var(--orange); text-decoration: underline; }

/* ── PRICING ── */
.pricing { background: var(--sky); padding: 88px 0; }
.pricing-header { margin-bottom: 52px; max-width: 600px; }
.pricing-title { font-family: var(--font-display); font-weight: 900; font-size: 52px; line-height: 1.0; color: var(--navy); letter-spacing: -0.01em; margin-bottom: 14px; }
.pricing-sub { font-family: var(--font-body); font-weight: 400; font-size: 16px; line-height: 1.65; color: var(--body-text); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.pricing-card { background: var(--white); border-radius: var(--radius-card); padding: 40px 32px; display: flex; flex-direction: column; gap: 24px; border: 1px solid var(--border); }
.pricing-card-label { font-family: var(--font-body); font-weight: 600; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.pricing-card-amount { font-family: var(--font-display); font-weight: 900; font-size: 56px; color: var(--navy); letter-spacing: -0.02em; line-height: 1.0; }
.pricing-card-amount sup { font-size: 24px; font-weight: 700; vertical-align: super; }
.pricing-card-amount .period { font-family: var(--font-body); font-weight: 400; font-size: 17px; color: var(--muted); }
.pricing-card-desc { font-family: var(--font-body); font-size: 14px; color: var(--body-text); }
.pricing-divider { width: 100%; height: 1px; background: var(--border); }
.pricing-card .btn-primary { width: 100%; text-align: center; margin-top: auto; }

/* ── TESTIMONIALS ── */
.testimonials { background: var(--white); }
.testimonials-inner { padding: 88px 0 52px; }
.testimonials-header { margin-bottom: 52px; }
.testimonials-title { font-family: var(--font-display); font-weight: 900; font-size: 52px; line-height: 1.0; color: var(--navy); letter-spacing: -0.01em; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { background: var(--sky); border-radius: var(--radius-card); padding: 36px 32px; display: flex; flex-direction: column; gap: 20px; }
.testimonial-stars { display: flex; align-items: center; gap: 3px; }
.testimonial-stars span { font-family: var(--font-body); font-size: 12px; color: var(--muted); margin-left: 6px; }
.testimonial-quote { font-family: var(--font-body); font-weight: 400; font-size: 16px; line-height: 1.65; color: var(--navy); }
.testimonial-attr { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--pool-blue); letter-spacing: 0.02em; }
.testimonials-banner { width: 100%; height: 340px; position: relative; overflow: hidden; }
.testimonials-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.testimonials-banner-overlay { position: absolute; inset: 0; background: rgba(13,27,42,0.5); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 0 80px; text-align: center; }
.testimonials-banner-overlay h3 { font-family: var(--font-display); font-weight: 900; font-size: 52px; color: var(--white); letter-spacing: -0.01em; }
.testimonials-banner-overlay p { font-family: var(--font-body); font-weight: 400; font-size: 17px; color: rgba(255,255,255,0.8); }

/* ── ABOUT ── */
.about { background: var(--navy); padding: 88px 0; }
.about .container { display: grid; grid-template-columns: 1fr 480px; gap: 64px; align-items: center; }
.about-eyebrow { color: var(--orange); }
.about-title { font-family: var(--font-display); font-weight: 900; font-size: 52px; line-height: 1.0; color: var(--white); letter-spacing: -0.01em; margin-bottom: 28px; }
.about-body { font-family: var(--font-body); font-weight: 400; font-size: 17px; line-height: 1.7; color: rgba(255,255,255,0.65); margin-bottom: 16px; }
.about-stats { display: flex; gap: 40px; padding-top: 8px; }
.about-stat-num { font-family: var(--font-display); font-weight: 900; font-size: 52px; line-height: 1.0; letter-spacing: -0.02em; }
.about-stat-num.orange { color: var(--orange); }
.about-stat-num.white { color: var(--white); }
.about-stat-label { font-family: var(--font-body); font-weight: 400; font-size: 14px; color: rgba(255,255,255,0.45); margin-top: 4px; }
.about-right { display: flex; flex-direction: column; gap: 16px; }
.about-img { border-radius: 12px; overflow: hidden; height: 280px; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-caption { background: rgba(255,255,255,0.04); border-radius: 8px; padding: 16px 20px; border: 1px solid rgba(255,255,255,0.07); font-family: var(--font-body); font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.6; }
.about-bullets { display: flex; flex-direction: column; gap: 10px; }
.about-bullet { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,0.04); border-radius: 8px; padding: 14px 18px; }
.about-bullet-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pool-blue); flex-shrink: 0; }
.about-bullet span { font-family: var(--font-body); font-size: 15px; color: rgba(255,255,255,0.8); }

/* ── CTA ── */
.cta { position: relative; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.cta-overlay { position: absolute; inset: 0; background: rgba(232,82,26,0.88); z-index: 1; }
.cta .container { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 80px; display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.cta-left { flex: 1; }
.cta-title { font-family: var(--font-display); font-weight: 900; font-size: 60px; line-height: 1.0; color: var(--white); letter-spacing: -0.02em; margin-bottom: 16px; }
.cta-sub { font-family: var(--font-body); font-weight: 400; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,0.85); }
.cta-right { flex: 0 0 400px; display: flex; flex-direction: column; gap: 14px; }
.cta-btn-white { display: flex; justify-content: center; background: var(--white); border-radius: var(--radius-btn); padding: 18px 40px; font-family: var(--font-body); font-weight: 600; font-size: 17px; color: var(--orange); transition: background 0.2s; }
.cta-btn-white:hover { background: #f5f5f5; }
.cta-btn-phone { display: flex; align-items: center; justify-content: center; gap: 10px; background: rgba(0,0,0,0.15); border-radius: var(--radius-btn); padding: 17px 40px; border: 1.5px solid rgba(255,255,255,0.35); font-family: var(--font-body); font-weight: 600; font-size: 17px; color: var(--white); transition: border-color 0.2s; }
.cta-btn-phone:hover { border-color: rgba(255,255,255,0.7); }
.cta-text-note { font-family: var(--font-body); font-size: 13px; color: rgba(255,255,255,0.75); text-align: center; }

/* ── FOOTER ── */
.footer { background: var(--navy); border-top: 1px solid rgba(255,255,255,0.07); padding: 28px 0; }
.footer .container { display: flex; align-items: center; justify-content: space-between; }
.footer-brand-name { font-family: var(--font-display); font-weight: 900; font-size: 17px; color: var(--white); letter-spacing: -0.01em; }
.footer-brand-copy { font-family: var(--font-body); font-size: 12px; color: var(--muted); margin-top: 2px; }
.footer-links { display: flex; gap: 32px; }
.footer-links a { font-family: var(--font-body); font-weight: 400; font-size: 14px; color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer-links a:hover, .footer-links a.active { color: var(--white); }
.footer-email { font-family: var(--font-body); font-size: 12px; color: var(--muted); }

/* ── CONTACT PAGE ── */
.page-header { height: 260px; position: relative; overflow: hidden; }
.page-header img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.page-header-overlay { position: absolute; inset: 0; background: rgba(13,27,42,0.68); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 0 80px; }
.page-header-title { font-family: var(--font-display); font-weight: 900; font-size: 64px; line-height: 1.0; color: var(--white); letter-spacing: -0.02em; }
.page-header-sub { font-family: var(--font-body); font-weight: 400; font-size: 17px; color: rgba(255,255,255,0.7); }
.contact-body { background: var(--bg-light); padding: 72px 0; }
.contact-body .container { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.contact-form-title { font-family: var(--font-display); font-weight: 900; font-size: 40px; line-height: 1.05; color: var(--navy); letter-spacing: -0.01em; margin-bottom: 8px; }
.contact-form-sub { font-family: var(--font-body); font-weight: 400; font-size: 15px; line-height: 1.6; color: var(--muted); margin-bottom: 32px; }
.form-card { background: var(--white); border-radius: var(--radius-card); border: 1px solid var(--border); padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-family: var(--font-body); font-weight: 500; font-size: 14px; color: var(--navy); }
.form-group label .req { color: var(--orange); }
.form-group input, .form-group textarea, .form-group select { background: var(--bg-light); border: 1.5px solid var(--border); border-radius: var(--radius-btn); padding: 13px 16px; font-family: var(--font-body); font-size: 15px; color: var(--navy); width: 100%; outline: none; transition: border-color 0.2s; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--muted); }
.form-group input:focus, .form-group textarea:focus { border-color: var(--pool-blue); }
.form-group textarea { resize: vertical; min-height: 96px; }
.form-address-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; margin-top: 8px; }
.form-hint { font-family: var(--font-body); font-size: 12px; color: var(--muted); margin-top: 4px; }
.form-service-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--font-body); font-weight: 500; font-size: 14px; padding: 8px 16px; border-radius: var(--radius-btn); border: 1.5px solid var(--border); background: var(--bg-light); color: var(--muted); cursor: pointer; transition: all 0.2s; }
.chip.selected, .chip:hover { background: var(--sky); border-color: var(--pool-blue); color: var(--pool-blue); }
.form-submit { background: var(--orange); color: var(--white); font-family: var(--font-body); font-weight: 600; font-size: 16px; padding: 16px 24px; border-radius: var(--radius-btn); border: none; cursor: pointer; width: 100%; transition: background 0.2s; }
.form-submit:hover { background: #d44916; }
.form-note { font-family: var(--font-body); font-size: 12px; color: var(--muted); text-align: center; }
/* Sidebar */
.contact-sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-card { background: var(--navy); border-radius: var(--radius-card); padding: 36px 32px; }
.sidebar-card-label { font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange); margin-bottom: 24px; display: block; }
.sidebar-contact-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.sidebar-contact-item:last-child { margin-bottom: 0; }
.sidebar-contact-item svg { flex-shrink: 0; margin-top: 2px; }
.sidebar-contact-value { font-family: var(--font-body); font-weight: 600; font-size: 15px; color: var(--white); display: block; }
.sidebar-contact-note { font-family: var(--font-body); font-size: 13px; color: rgba(255,255,255,0.5); display: block; margin-top: 3px; }
.sidebar-divider { width: 100%; height: 1px; background: rgba(255,255,255,0.08); margin: 20px 0; }
.sidebar-area-label { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; display: block; }
.sidebar-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.sidebar-chip { font-family: var(--font-body); font-size: 13px; color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.06); border-radius: 4px; padding: 5px 10px; }
.sidebar-area-note { font-family: var(--font-body); font-size: 13px; color: rgba(255,255,255,0.4); }
.sidebar-card-sky { background: var(--sky); border-radius: var(--radius-card); padding: 28px 32px; }
.sidebar-card-sky-label { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pool-blue); margin-bottom: 12px; display: block; }
.sidebar-card-sky p { font-family: var(--font-body); font-weight: 400; font-size: 15px; line-height: 1.6; color: var(--body-text); margin-bottom: 16px; }
.sidebar-card-sky .btn-primary { width: 100%; text-align: center; display: flex; align-items: center; justify-content: center; gap: 8px; }
.sidebar-review { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 24px 28px; display: flex; align-items: center; gap: 16px; }
.sidebar-review-stars { display: flex; gap: 3px; flex-shrink: 0; }
.sidebar-review p { font-family: var(--font-body); font-size: 14px; color: var(--body-text); line-height: 1.5; }

/* ── MOBILE ── */
@media (max-width: 1024px) {
  :root { --pad-x: 40px; }
  .hero-headline-white, .hero-headline-orange { font-size: 80px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about .container { grid-template-columns: 1fr; }
  .about-right { display: none; }
  .contact-body .container { grid-template-columns: 1fr; }
  .contact-sidebar { display: none; }
}

@media (max-width: 768px) {
  :root { --pad-x: 20px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile { background: var(--navy); border-top: 1px solid rgba(255,255,255,0.1); padding: 20px; display: flex; flex-direction: column; gap: 16px; }
  .nav-mobile a { font-family: var(--font-body); font-weight: 500; font-size: 16px; color: rgba(255,255,255,0.75); padding: 8px 0; display: block; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .nav-mobile .nav-cta { display: block; text-align: center; margin-top: 8px; }
  .hero-headline-white, .hero-headline-orange { font-size: 56px; }
  .hero-sub { font-size: 16px; }
  .hero-content { gap: 24px; padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .services-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .services-note { text-align: left; max-width: 100%; }
  .cta .container { flex-direction: column; }
  .cta-right { flex: unset; width: 100%; }
  .cta-title { font-size: 44px; }
  .footer .container { flex-direction: column; gap: 16px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .services-title, .pricing-title, .testimonials-title, .about-title { font-size: 40px; }
  .page-header-title { font-size: 44px; }
  .form-row { grid-template-columns: 1fr; }
  .form-address-row { grid-template-columns: 1fr; }
  .testimonials-banner-overlay { padding: 0 20px; }
  .testimonials-banner-overlay h3 { font-size: 36px; }
}
