/* ==========================================================================
   V House — Company Profile Site
   Plain vanilla CSS, no build step. Google Fonts is the only external
   dependency (Playfair Display for headings, Jost for body).
   ========================================================================== */

:root {
  --color-primary: #1b2a4a;
  --color-primary-dark: #112743; /* matches the logo artwork's navy fill */
  --color-primary-light: #eef0f6;
  --color-gold: #b6903f;
  --color-gold-light: #d9b871;
  --color-gold-text: #8a6a26; /* darker than --color-gold: meets 4.5:1 contrast on light backgrounds */
  --color-cream: #f9f6f0;
  --color-text: #20242e;
  --color-text-soft: #5c6270;
  --color-bg: #ffffff;
  --color-border: #e8e3d6;
  --radius: 10px;
  --max-width: 1180px;
  --shadow: 0 18px 40px rgba(17, 39, 67, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Jost', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  margin: 0 0 14px;
  line-height: 1.22;
  font-weight: 600;
  font-family: 'Playfair Display', Georgia, "Times New Roman", serif;
}
p { margin: 0 0 12px; color: var(--color-text-soft); }

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-gold-text);
  margin: 0;
}

/* Ornamental divider under an eyebrow */
.divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 18px;
}
.section-heading.center .divider { justify-content: center; }
.divider span {
  width: 32px;
  height: 1px;
  background: var(--color-gold);
  display: inline-block;
}
.divider i {
  width: 6px;
  height: 6px;
  background: var(--color-gold);
  transform: rotate(45deg);
  display: inline-block;
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.03em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); transform: translateY(-1px); }
.btn-outline { border-color: var(--color-border); color: var(--color-text); background: transparent; }
.btn-outline:hover { border-color: var(--color-gold); color: var(--color-gold-text); }
.btn-gold { background: var(--color-gold); color: #241a06; }
.btn-gold:hover { background: var(--color-gold-light); transform: translateY(-1px); }
.btn-outline-white { border-color: rgba(255, 255, 255, 0.55); color: #fff; background: transparent; }
.btn-outline-white:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.header-topbar {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 12px;
}
.header-main {
  position: relative;
  display: flex;
  align-items: center;
  height: 136px;
}
.nav-side { display: flex; gap: 26px; }
.nav-side a {
  font-weight: 500;
  font-size: 14.5px;
  color: var(--color-text-soft);
  padding: 6px 2px;
  white-space: nowrap;
}
.nav-side a:hover { color: var(--color-primary); }

.logo-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
}
.logo-center img { height: 108px; width: auto; display: block; }

.nav-right-group { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav-cta { white-space: nowrap; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--color-text); border-radius: 2px; }

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 8px 24px 20px;
  border-top: 1px solid var(--color-border);
}
.nav-mobile a { padding: 12px 0; font-weight: 500; border-bottom: 1px solid var(--color-border); color: var(--color-text); }
.nav-mobile a:last-child { border-bottom: none; }
body.nav-open .nav-mobile { display: flex; }

@media (max-width: 980px) {
  .nav-left, .nav-right-group .nav-side, .nav-right-group .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--color-primary-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/hero-pool.jpg');
  background-size: cover;
  background-position: center;
}
@media (max-width: 780px) {
  .hero-bg { background-image: url('../img/hero-pool-mobile.jpg'); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 39, 67, 0.6) 0%, rgba(17, 39, 67, 0.72) 50%, rgba(17, 39, 67, 0.94) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; padding: 130px 24px 90px; color: #fff; }
.hero-inner .eyebrow { color: var(--color-gold-light); }
.hero-inner .divider { justify-content: center; }
.hero-inner .divider span { background: var(--color-gold-light); }
.hero-inner .divider i { background: var(--color-gold-light); }
.hero h1 { font-size: 48px; color: #fff; margin-bottom: 20px; }
.hero-sub { font-size: 18px; color: rgba(255, 255, 255, 0.85); margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Signature strip */
.signature-strip {
  background: var(--color-cream);
  border-bottom: 1px solid var(--color-border);
}
.signature-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 30px 24px;
}
.signature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 32px;
  border-right: 1px solid var(--color-border);
  font-weight: 500;
  font-size: 14.5px;
}
.signature-item:last-child { border-right: none; }
.signature-item svg { width: 22px; height: 22px; color: var(--color-gold); flex-shrink: 0; }
@media (max-width: 720px) {
  .signature-item { border-right: none; border-bottom: 1px solid var(--color-border); width: 100%; justify-content: center; }
  .signature-item:last-child { border-bottom: none; }
}

/* Sections */
.section { padding: 100px 0; }
.section-alt { background: var(--color-cream); }
.section-heading { max-width: 620px; margin-bottom: 48px; }
.section-heading.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading h2 { font-size: 34px; color: var(--color-primary); }
.section-sub { font-size: 16px; }

/* Media frame — offset gold outline behind a photo */
.media-frame { position: relative; }
.media-frame::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1.5px solid var(--color-gold);
  border-radius: var(--radius);
  z-index: 0;
}
.media-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.reverse .media-frame::before { inset: 18px 18px -18px -18px; }

/* About */
.about-row {
  display: flex;
  align-items: center;
  gap: 64px;
  flex-wrap: wrap;
}
.about-row .media-frame { flex: 1 1 380px; height: 420px; }
.about-row .about-content { flex: 1 1 380px; }
.about-text { font-size: 17px; }
.check-list { list-style: none; margin: 20px 0 0; padding: 0; }
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--color-text-soft);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--color-gold);
  background: transparent;
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  width: 8px;
  height: 4px;
  border-left: 1.5px solid var(--color-gold);
  border-bottom: 1.5px solid var(--color-gold);
  transform: rotate(-45deg);
}

/* Services (zig-zag rows) */
.service-row {
  display: flex;
  align-items: center;
  gap: 64px;
  flex-wrap: wrap;
  margin-bottom: 100px;
}
.service-row:last-child { margin-bottom: 0; }
.service-row.reverse { flex-direction: row-reverse; }
.service-row .media-frame { flex: 1 1 340px; height: 460px; }
.service-row-content { flex: 1 1 380px; }
.service-index {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  color: var(--color-gold-text);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.service-row-content h3 { font-size: 28px; color: var(--color-primary); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--color-primary);
  border-bottom: 1.5px solid var(--color-gold);
  padding-bottom: 2px;
}
.text-link:hover { color: var(--color-gold-text); }

/* How It Works — horizontal timeline */
.timeline {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: var(--color-border);
  z-index: 0;
}
.timeline-item { flex: 1; text-align: center; position: relative; z-index: 1; padding: 0 8px; }
.timeline-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-gold-text);
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 5px solid var(--color-bg);
  box-shadow: 0 0 0 1px var(--color-border);
}
.timeline-item h3 { font-size: 17px; color: var(--color-primary); margin-bottom: 6px; }
.timeline-item p { font-size: 14px; margin: 0; }
@media (max-width: 780px) {
  .timeline { flex-direction: column; gap: 40px; }
  .timeline::before { display: none; }
}

/* Why Us — dark band */
.why-us {
  background: var(--color-primary-dark);
  color: #fff;
}
.why-us .eyebrow { color: var(--color-gold-light); }
.why-us .section-heading h2 { color: #fff; }
.why-us .section-sub { color: rgba(255, 255, 255, 0.7); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px 32px;
}
.feature { text-align: center; }
.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 1.5px solid var(--color-gold);
  color: var(--color-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 17.5px; color: #fff; }
.feature p { font-size: 14px; color: rgba(255, 255, 255, 0.68); margin: 0; }

/* CTA Banner */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  text-align: center;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/cta-garden.jpg');
  background-size: cover;
  background-position: center;
}
@media (max-width: 780px) {
  .cta-bg { background-image: url('../img/cta-garden-mobile.jpg'); }
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17, 39, 67, 0.88) 0%, rgba(17, 39, 67, 0.72) 100%);
}
.cta-banner-inner { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; }
.cta-banner .eyebrow { color: var(--color-gold-light); }
.cta-banner .divider { justify-content: center; }
.cta-banner .divider span, .cta-banner .divider i { background: var(--color-gold-light); }
.cta-banner h2 { color: #fff; font-size: 32px; }
.cta-banner p { color: rgba(255, 255, 255, 0.85); font-size: 17px; margin-bottom: 30px; }

/* FAQ — two columns */
.faq-list { max-width: 900px; margin: 0 auto; columns: 2; column-gap: 24px; }
.faq-item {
  break-inside: avoid;
  display: block;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 18px;
  transition: border-color 0.2s ease;
}
.faq-item:hover { border-color: var(--color-gold); }
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--color-text);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 21px;
  font-weight: 400;
  color: var(--color-gold-text);
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 14px 0 0; font-size: 14.5px; }
@media (max-width: 780px) { .faq-list { columns: 1; } }

/* Contact */
.contact-row { display: flex; align-items: stretch; gap: 64px; flex-wrap: wrap; }
.contact-row .media-frame { flex: 1 1 340px; min-height: 440px; }
.contact-info { flex: 1 1 380px; }
.contact-list { list-style: none; margin: 8px 0 0; padding: 0; }
.contact-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}
.contact-list li:first-child { padding-top: 0; }
.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 21px; height: 21px; }
.contact-list h3 { font-size: 15px; margin: 0 0 2px; color: var(--color-primary); }
.contact-list p { margin: 0; font-size: 14.5px; }

/* Footer */
.site-footer { background: var(--color-primary-dark); padding: 64px 0 36px; text-align: center; }
.footer-logo img { height: 130px; width: auto; margin: 0 auto 20px; display: block; }
.footer-tagline { color: rgba(255, 255, 255, 0.7); font-size: 14.5px; max-width: 420px; margin: 0 auto 26px; }
.footer-rule { width: 60px; height: 1px; background: var(--color-gold); margin: 0 auto 22px; }
.footer-copy { color: rgba(255, 255, 255, 0.5); font-size: 13px; margin: 0; }

/* Blog listing & article pages */
.page-hero {
  background: var(--color-cream);
  padding: 100px 0 60px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}
.breadcrumb {
  font-size: 13px;
  color: var(--color-text-soft);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--color-primary); font-weight: 600; }
.breadcrumb a:hover { color: var(--color-gold-text); }
.page-hero h1 { font-size: 38px; color: var(--color-primary); max-width: 760px; margin: 0 auto; }
.page-hero .eyebrow { display: block; margin-bottom: 12px; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 44px;
}
.blog-card { display: block; }
.blog-card .media-frame { height: 220px; margin-bottom: 28px; }
.blog-card h2 { font-size: 22px; color: var(--color-primary); }
.blog-card p { font-size: 15px; }

/* Article body */
.article-body { max-width: 720px; margin: 0 auto; }
.article-meta {
  font-size: 13.5px;
  color: var(--color-text-soft);
  margin-bottom: 8px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.article-body h2 { font-size: 26px; color: var(--color-primary); margin-top: 44px; }
.article-body p { font-size: 17px; }
.article-body ul { margin: 0 0 20px; padding-left: 22px; }
.article-body ul li { margin-bottom: 8px; font-size: 16px; color: var(--color-text-soft); }
.article-cta {
  margin-top: 56px;
  padding: 40px;
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  text-align: center;
}
.article-cta h3 { color: var(--color-primary); font-size: 22px; }
.article-cta p { max-width: 480px; margin-left: auto; margin-right: auto; }

/* Responsive */
@media (max-width: 860px) {
  .header-main { height: 92px; }
  .logo-center img { height: 68px; }
  .hero h1 { font-size: 34px; }
  .hero-sub { font-size: 16px; }
  .section { padding: 70px 0; }
  .section-heading h2 { font-size: 27px; }
  .about-row, .service-row, .service-row.reverse, .contact-row {
    flex-direction: column;
  }
  .service-row .media-frame, .about-row .media-frame { height: 320px; width: 100%; }
  .cta-banner h2 { font-size: 25px; }
  .media-frame::before, .reverse .media-frame::before { inset: 14px -14px -14px 14px; }
  .page-hero h1 { font-size: 28px; }
  .article-body h2 { font-size: 22px; }
  .article-body p, .article-body ul li { font-size: 15.5px; }
}
