/*
Theme Name: West Houston Fence Co.
Theme URI: https://westhoustonfence.com
Author: West Houston Fence Co.
Author URI: https://westhoustonfence.com
Description: Custom multi-page theme for West Houston Fence Co. — Houston's family-owned fence and deck builder since 1978. Includes Home, Services & Gallery, About Us, and Free Estimate page templates.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.5
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: west-houston-fence-co
*/

/* =========================================================
   West Houston Fence Co. — Blue Palette
   Sky · Ocean · Navy · Teal · Slate
   ========================================================= */

:root {
  /* Backgrounds — cool, layered */
  --bg:         #eef3f7;   /* very light blue-gray */
  --bg-2:       #ffffff;   /* clean white */
  --bg-3:       #dbe7f0;   /* light blue tint */
  --bg-sky:     #c2d6e6;   /* soft sky */
  --bg-ice:     #e6eef5;   /* icy pale blue */
  --bg-mist:    #d4e1ec;

  /* Ink — cool slate */
  --ink:        #0f1d2d;   /* near-black w/ blue */
  --ink-2:      #44566a;
  --ink-3:      #7a8a9b;
  --line:       #d4dde6;
  --line-2:     #b9cbdc;

  /* Blue family — the stars of the show */
  --navy:        #122a47;   /* darkest */
  --navy-2:      #1e4068;   /* deep navy */
  --blue:        #2e5a86;   /* primary */
  --blue-mid:    #4a7da8;   /* mid */
  --blue-light:  #7aafd1;   /* light */
  --blue-soft:   #b8d3e6;   /* soft */

  --teal:        #2d6b7a;
  --teal-mid:    #4a8a9c;
  --teal-soft:   #b8d6db;

  --slate:       #3a5670;
  --slate-mid:   #5a7894;

  /* Warm pop accents for life */
  --coral:       #e8825c;
  --coral-deep:  #c45f3c;
  --coral-soft:  #fcd9c9;

  --mint:        #4ea886;
  --mint-deep:   #357a62;
  --mint-soft:   #c8e6d6;

  --sun:         #e5b842;
  --sun-deep:    #b89028;
  --sun-soft:    #fbeec0;

  --rose:        #d97186;
  --rose-soft:   #f5d4dc;

  --gold:        #d4a73d;
  --gold-soft:   #f5e2a8;

  /* Semantic aliases */
  --accent:     var(--blue);
  --accent-2:   var(--blue-mid);
  --accent-3:   var(--blue-soft);

  --radius:     8px;
  --radius-lg:  14px;
  --max:        1200px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--blue); }
.container { width: 100%; max-width: var(--max); padding: 0 32px; margin: 0 auto; }
.center { text-align: center; }
::selection { background: var(--blue); color: #fff; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); letter-spacing: -0.035em; font-weight: 500; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); letter-spacing: -0.03em; font-weight: 500; }
h3 { font-size: 1.15rem; font-weight: 600; }
p  { margin: 0 0 1em; color: var(--ink-2); }
.lede { font-size: 1.08rem; color: var(--ink-2); max-width: 540px; }
.eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral-deep);
  margin-bottom: 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  font-family: inherit;
  font-weight: 500;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--navy-2); color: #fff; }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-link {
  background: transparent;
  color: var(--blue);
  padding: 14px 4px;
  border-radius: 0;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}
.btn-link:hover { color: var(--navy-2); transform: none; }
.btn-link-chev {
  width: 16px;
  height: 16px;
  transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.btn-link:hover .btn-link-chev { transform: translateX(4px); }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(238, 243, 247, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  max-width: var(--max);
  margin: 0 auto;
}
.logo { display: inline-flex; align-items: center; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-img {
  height: 44px;
  width: auto;
  display: block;
  transition: opacity .2s ease;
}
.logo:hover .logo-img { opacity: 0.85; }
.logo-light .logo-img {
  height: 36px;
}

.main-nav { display: flex; align-items: center; gap: 32px; }
.nav-phone-wrap { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.nav-phone-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--coral-deep);
  white-space: nowrap;
}
.nav-phone {
  color: var(--coral-deep) !important;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 6px 14px;
  border: 1.5px solid var(--coral);
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.nav-phone:hover { background: var(--coral); color: #fff !important; }
.nav-phone:after { display: none !important; }
.main-nav a {
  color: var(--ink-2);
  font-weight: 500;
  font-size: 0.94rem;
  position: relative;
}
.main-nav a:not(.nav-cta):after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.main-nav a:not(.nav-cta):hover { color: var(--ink); }
.main-nav a:not(.nav-cta):hover:after,
.main-nav a:not(.nav-cta).active:after { transform: scaleX(1); }
.main-nav a:not(.nav-cta).active { color: var(--ink); }
.nav-cta {
  background: var(--blue);
  color: #fff !important;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 0.9rem;
}
.nav-cta:hover { background: var(--navy-2); }

.nav-toggle {
  display: none;
  border: none; background: transparent; cursor: pointer;
  width: 38px; height: 38px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--ink);
  transition: transform .25s ease, opacity .2s ease;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-ice) 100%);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero:before {
  content: "";
  position: absolute;
  top: -200px; right: -160px;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--coral-soft) 0%, var(--blue-soft) 70%);
  opacity: 0.75;
  filter: blur(30px);
  z-index: 0;
}
.hero:after {
  content: "";
  position: absolute;
  bottom: -200px; left: -120px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--mint-soft) 0%, var(--sun-soft) 70%);
  opacity: 0.6;
  filter: blur(40px);
  z-index: 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
  text-align: center;
}
.hero-copy { max-width: 880px; margin: 0 auto; }
.hero-copy .eyebrow { display: inline-block; }
.hero-copy .lede { margin-left: auto; margin-right: auto; }
.hero-copy .hero-actions { justify-content: center; }
.hero h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  margin-bottom: 28px;
  line-height: 1.02;
}
.hero h1 em { font-style: normal; color: var(--coral); }
.hero .lede {
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.hero-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  background: var(--bg-3);
  box-shadow: 0 24px 60px rgba(15, 29, 45, 0.14);
}

/* ---------- Hero with video background ---------- */
.hero.hero-video { background: #0f1d2d; }
.hero.hero-video:before,
.hero.hero-video:after { display: none; }
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,29,45,0.45) 0%, rgba(15,29,45,0.6) 100%);
  z-index: 1;
}
.hero.hero-video .hero-inner { position: relative; z-index: 2; }
.hero.hero-video .eyebrow,
.hero.hero-video h1 { color: #fff; }
.hero.hero-video .lede { color: rgba(255,255,255,0.92); }
.hero.hero-video .btn-link { color: #fff; border-color: rgba(255,255,255,0.6); }
.hero.hero-video .btn-link:hover { color: #fff; border-color: #fff; }

/* ---------- Strip ---------- */
.strip {
  background: var(--navy-2);
  color: #fff;
  padding: 26px 0;
  position: relative;
}
.strip:after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--coral);
}
.strip-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  font-weight: 500;
  font-size: 0.94rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.strip-inner span:nth-child(even) { color: var(--coral); }

/* ---------- Section: Owners ---------- */
.owners { padding: 120px 0; background: var(--bg-2); }
.owners-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.owners-copy h2 { margin-bottom: 24px; color: var(--navy-2); }
.owners-copy .btn { margin-top: 12px; }
.photo-caption {
  display: block;
  text-align: left;
  margin-top: 16px;
  color: var(--blue);
  font-size: 0.88rem;
  font-style: italic;
}

/* ---------- Photo placeholders ---------- */
.photo-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-3);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}
.photo-placeholder.tall { aspect-ratio: 3 / 4; }
.photo-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 2;
}
.ph-fallback {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding: 24px;
  color: var(--ink-3);
  max-width: 80%;
}
.ph-fallback .ph-icon { font-size: 1.8rem; margin-bottom: 8px; opacity: 0.7; }
.ph-fallback strong {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--blue);
  letter-spacing: -0.005em;
}
.ph-fallback span {
  font-size: 0.78rem;
  color: var(--ink-3);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
.ph-fallback code {
  background: rgba(15, 29, 45, 0.06);
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 0.85em;
}

/* ---------- Services Overview ---------- */
.services-overview { padding: 120px 0; background: var(--bg); border-top: 1px solid var(--line); }
.services-overview h2 { color: var(--navy-2); }
.section-head { max-width: 640px; margin: 0 auto 64px; }
.section-head.center { text-align: center; }
.section-head p { font-size: 1.05rem; }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.card {
  background: var(--bg-2);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 29, 45, 0.10);
}
.card-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
  border-radius: 12px;
}
.card h3 { margin-bottom: 10px; font-size: 1.12rem; }
.card p { color: var(--ink-2); margin: 0; font-size: 0.96rem; }

/* Colorful service cards — blue family + warm pops */
.cards .card:nth-child(1) { background: var(--bg-sky); border-color: transparent; }
.cards .card:nth-child(1) .card-icon { background: var(--navy-2); color: #fff; }
.cards .card:nth-child(2) { background: var(--coral-soft); border-color: transparent; }
.cards .card:nth-child(2) .card-icon { background: var(--coral); color: #fff; }
.cards .card:nth-child(3) { background: var(--mint-soft); border-color: transparent; }
.cards .card:nth-child(3) .card-icon { background: var(--mint); color: #fff; }
.cards .card:nth-child(4) { background: var(--blue-soft); border-color: transparent; }
.cards .card:nth-child(4) .card-icon { background: var(--blue); color: #fff; }
.cards .card:nth-child(5) { background: var(--sun-soft); border-color: transparent; }
.cards .card:nth-child(5) .card-icon { background: var(--sun-deep); color: #fff; }
.cards .card:nth-child(6) { background: var(--teal-soft); border-color: transparent; }
.cards .card:nth-child(6) .card-icon { background: var(--teal); color: #fff; }

/* Values cards (4 cards on about page) */
.values-cards .card:nth-child(1) { background: var(--bg-sky); }
.values-cards .card:nth-child(1) .card-icon { background: var(--navy-2); color: #fff; }
.values-cards .card:nth-child(2) { background: var(--coral-soft); }
.values-cards .card:nth-child(2) .card-icon { background: var(--coral); color: #fff; }
.values-cards .card:nth-child(3) { background: var(--mint-soft); }
.values-cards .card:nth-child(3) .card-icon { background: var(--mint); color: #fff; }
.values-cards .card:nth-child(4) { background: var(--sun-soft); }
.values-cards .card:nth-child(4) .card-icon { background: var(--sun-deep); color: #fff; }

/* ---------- Packages ---------- */
.packages {
  padding: 140px 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.packages h2 { color: var(--navy-2); }
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.pkg {
  background: var(--bg-2);
  padding: 44px 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.pkg:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(15, 29, 45, 0.12);
}
.pkg-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.pkg h3 {
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy-2);
  margin-bottom: 18px;
}
.pkg-price {
  margin: 0 0 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pkg-price strong {
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.pkg-price span {
  font-size: 0.85rem;
  color: var(--ink-3);
}
.pkg-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.pkg-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.96rem;
  color: var(--ink-2);
  line-height: 1.5;
}
.pkg-list li:before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--blue-soft);
  background-image: linear-gradient(135deg, transparent 45%, var(--blue) 45%, var(--blue) 55%, transparent 55%);
}

.pkg-essential .pkg-tag { color: var(--blue); }
.pkg-essential .pkg-list li:before { background: var(--bg-sky); }

.pkg-premium {
  background: linear-gradient(180deg, var(--navy-2) 0%, var(--navy) 100%);
  border-color: var(--coral);
  transform: scale(1.04);
}
.pkg-premium:hover { transform: scale(1.04) translateY(-6px); }
.pkg-premium .pkg-tag {
  color: var(--coral);
  background: rgba(232, 130, 92, 0.15);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(232, 130, 92, 0.4);
}
.pkg-premium h3 { color: #fff; }
.pkg-premium .pkg-price {
  border-bottom-color: rgba(255,255,255,0.18);
}
.pkg-premium .pkg-price strong { color: var(--coral); }
.pkg-premium .pkg-price span { color: rgba(255,255,255,0.6); }
.pkg-premium .pkg-list li { color: rgba(255,255,255,0.85); }
.pkg-premium .pkg-list li:before {
  background: var(--coral);
  background-image: none;
}

.pkg-luxury .pkg-tag { color: var(--coral-deep); }
.pkg-luxury .pkg-list li:before { background: var(--coral-soft); }

.pkg .btn-outline { border-color: var(--navy-2); color: var(--navy-2); }
.pkg .btn-outline:hover { background: var(--navy-2); color: #fff; }
.pkg-premium .btn-primary { background: var(--coral); color: #fff; }
.pkg-premium .btn-primary:hover { background: var(--coral-deep); }

/* ---------- Stats band ---------- */
.stats-band {
  background: linear-gradient(135deg, var(--navy-2) 0%, var(--blue) 100%);
  color: #fff;
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.stats-band:before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: var(--blue-mid);
  opacity: 0.30;
  filter: blur(40px);
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.stat strong {
  display: block;
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 12px;
  color: #fff;
}
.stats-inner .stat:nth-child(1) strong { color: var(--blue-light); }
.stats-inner .stat:nth-child(2) strong { color: var(--coral); }
.stats-inner .stat:nth-child(3) strong { color: var(--sun); }
.stats-inner .stat:nth-child(4) strong { color: var(--mint-soft); }
.stat span {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}

/* ---------- Testimonials ---------- */
.testimonials { padding: 120px 0; background: var(--bg-3); }
.testimonials h2 { color: var(--navy-2); }
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.quotes blockquote {
  margin: 0;
  background: var(--bg-2);
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--blue);
  box-shadow: 0 12px 30px rgba(15, 29, 45, 0.08);
}
.quotes blockquote:nth-child(2) { border-top-color: var(--coral); }
.quotes blockquote:nth-child(3) { border-top-color: var(--mint); }
.quotes p {
  font-size: 1.02rem;
  color: var(--ink);
  margin-bottom: 20px;
  line-height: 1.55;
  font-weight: 400;
}
.quotes cite {
  font-style: normal;
  font-weight: 600;
  color: var(--blue);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.quotes blockquote:nth-child(2) cite { color: var(--coral-deep); }
.quotes blockquote:nth-child(3) cite { color: var(--mint-deep); }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: #fff;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.cta:before {
  content: "";
  position: absolute;
  top: -150px; right: -100px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: var(--coral);
  opacity: 0.35;
  filter: blur(50px);
}
.cta:after {
  content: "";
  position: absolute;
  bottom: -150px; left: -100px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: var(--mint);
  opacity: 0.30;
  filter: blur(60px);
}
.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.cta h2 { color: #fff; margin-bottom: 20px; }
.cta p { color: rgba(255,255,255,0.85); font-size: 1.05rem; max-width: 440px; }
.cta-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cta-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.cta-form input, .cta-form select, .cta-form textarea {
  width: 100%;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-family: inherit;
  font-size: 0.96rem;
  outline: none;
  transition: border-color .15s ease, background .15s ease;
}
.cta-form input::placeholder, .cta-form textarea::placeholder { color: rgba(255,255,255,0.55); }
.cta-form input:focus, .cta-form select:focus, .cta-form textarea:focus {
  border-color: var(--blue-light);
  background: rgba(255,255,255,0.14);
}
.cta-form select option { color: var(--ink); }
.cta-form .form-note {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  margin-top: -6px;
  margin-bottom: 2px;
  line-height: 1.4;
}
.cta-form .btn-primary {
  background: var(--coral);
  color: #fff;
  margin-top: 4px;
}
.cta-form .btn-primary:hover { background: var(--coral-deep); color: #fff; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 80px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.foot-col h4 {
  color: var(--blue-light);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col li { margin-bottom: 10px; font-size: 0.94rem; }
.foot-col a { color: rgba(255,255,255,0.75); }
.foot-col a:hover { color: var(--blue-light); }
.foot-col p { color: rgba(255,255,255,0.65); font-size: 0.94rem; line-height: 1.6; }
.foot-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 12px;
  letter-spacing: 0.02em;
}

/* ---------- Page hero (services / about) ---------- */
.page-hero {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-ice) 100%);
  padding: 100px 0 80px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero:before {
  content: "";
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 760px; height: 320px;
  border-radius: 50%;
  background: var(--blue-soft);
  opacity: 0.6;
  filter: blur(50px);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin-bottom: 16px; color: var(--navy-2); }
.page-hero p { color: var(--ink-2); max-width: 580px; margin: 0 auto; font-size: 1.08rem; }

/* ---------- Services Detail (services page) ---------- */
.services-detail { padding: 120px 0; background: var(--bg-2); }
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.service-block > .service-text {
  padding: 48px 40px;
  border-radius: var(--radius-lg);
}
.service-block > .service-text:nth-child(1) { background: var(--bg-sky); }
.service-block > .service-text:nth-child(2) { background: var(--coral-soft); }
.service-block > .service-text h2 { color: var(--navy-2); }
.service-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.service-block > .service-text:nth-child(1) .service-tag { color: var(--navy-2); }
.service-block > .service-text:nth-child(2) .service-tag { color: var(--coral-deep); }
.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 14px;
  border-top: 1px solid rgba(15, 29, 45, 0.10);
  padding-top: 24px;
}
.check-list li {
  padding-left: 32px;
  position: relative;
  color: var(--ink-2);
  font-size: 0.98rem;
}
.check-list li:before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.74rem;
  font-weight: 700;
  color: #fff;
}
.service-block > .service-text:nth-child(1) .check-list li:before { background: var(--navy-2); }
.service-block > .service-text:nth-child(2) .check-list li:before { background: var(--coral); }

/* ---------- Gallery ---------- */
.gallery-section { padding: 120px 0; background: var(--bg); }
.gallery-section h2 { color: var(--navy-2); }
.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.chip {
  background: var(--bg-2);
  border: 1.5px solid var(--line-2);
  color: var(--ink-2);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all .15s ease;
  font-family: inherit;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.gallery-item {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  padding: 14px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 29, 45, 0.12);
}
.gallery-item .photo-placeholder {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.gallery-item figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 6px 6px;
}
.gallery-item figcaption strong {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}
.gallery-item figcaption span {
  font-size: 0.76rem;
  color: var(--coral-deep);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.gallery-item.is-hidden { display: none; }
.gallery-note {
  margin-top: 48px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-2);
  background: var(--bg-sky);
  padding: 20px 24px;
  border-radius: var(--radius);
}
.gallery-note code {
  background: rgba(255,255,255,0.7);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.9em;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  color: var(--navy);
  font-weight: 600;
}

/* ---------- About: Story ---------- */
.story { padding: 120px 0; background: var(--bg-2); }
.story-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}
.story-copy h2 { margin-top: 48px; }
.story-copy h2:first-child { margin-top: 0; }
.story-copy h2:nth-of-type(1) { color: var(--navy-2); }
.story-copy h2:nth-of-type(2) { color: var(--coral-deep); }
.story-copy h2:nth-of-type(3) { color: var(--mint-deep); }
.story-copy strong { color: var(--ink); font-weight: 700; }

/* ---------- About: Values ---------- */
.values { padding: 120px 0; background: var(--bg); border-top: 1px solid var(--line); }
.values h2 { color: var(--navy-2); }
.values-cards { grid-template-columns: repeat(4, 1fr); }

/* ---------- About: Timeline ---------- */
.timeline-section { padding: 120px 0; background: var(--bg-2); }
.timeline-section h2 { color: var(--navy-2); }
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  display: grid;
  gap: 48px;
  max-width: 720px;
  margin-inline: auto;
}
.timeline:before {
  content: "";
  position: absolute;
  left: 80px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--line-2);
}
.timeline li {
  position: relative;
  padding-left: 120px;
}
.timeline li:before {
  content: "";
  position: absolute;
  left: 74px;
  top: 9px;
  width: 14px; height: 14px;
  border-radius: 50%;
}
.timeline li:nth-child(1):before { background: var(--navy-2); box-shadow: 0 0 0 4px var(--bg-sky); }
.timeline li:nth-child(2):before { background: var(--coral); box-shadow: 0 0 0 4px var(--coral-soft); }
.timeline li:nth-child(3):before { background: var(--mint); box-shadow: 0 0 0 4px var(--mint-soft); }
.timeline li:nth-child(4):before { background: var(--sun-deep); box-shadow: 0 0 0 4px var(--sun-soft); }
.timeline li:nth-child(5):before { background: var(--rose); box-shadow: 0 0 0 4px var(--rose-soft); }
.timeline li:nth-child(6):before { background: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.timeline .year {
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  width: 64px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.timeline li:nth-child(1) .year { color: var(--navy-2); }
.timeline li:nth-child(2) .year { color: var(--coral-deep); }
.timeline li:nth-child(3) .year { color: var(--mint-deep); }
.timeline li:nth-child(4) .year { color: var(--sun-deep); }
.timeline li:nth-child(5) .year { color: var(--rose); }
.timeline li:nth-child(6) .year { color: var(--blue); }
.timeline h3 { margin-bottom: 6px; }
.timeline p { margin: 0; font-size: 0.98rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .main-nav { gap: 22px; }
  .nav-phone { font-size: 0.86rem; padding: 6px 10px; }
}

@media (max-width: 960px) {
  .container, .header-inner { padding-left: 24px; padding-right: 24px; }
  .hero { padding: 60px 0 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-art { order: -1; max-width: 480px; margin: 0 auto; width: 100%; }
  .owners-inner, .cta-inner, .service-block, .story-inner { grid-template-columns: 1fr; gap: 48px; }
  .cards, .stats-inner, .values-cards { grid-template-columns: repeat(2, 1fr); }
  .packages-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .pkg-premium { transform: none; }
  .pkg-premium:hover { transform: translateY(-6px); }
  .quotes { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .timeline:before { left: 64px; }
  .timeline li { padding-left: 100px; }
  .timeline li:before { left: 58px; }
  .timeline .year { width: 52px; }
}

@media (max-width: 640px) {
  .container, .header-inner { padding-left: 20px; padding-right: 20px; }
  .logo-img { height: 34px; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 4px; }
  .nav-phone-wrap { margin-top: 8px; }
  .main-nav .nav-phone { text-align: center; padding: 12px 14px; align-self: stretch; }
  .main-nav .nav-cta { margin-top: 6px; text-align: center; }
  .header-inner { position: relative; }
  .cards, .stats-inner, .values-cards, .gallery-grid, .footer-inner { grid-template-columns: 1fr; }
  .cta-form .row { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; text-align: center; align-items: center; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}
