/* ============================================================
   GRAND WEB CO. — Site Styles
   Palette: deep charcoal + champagne gold (luxury, modern)
   ============================================================ */

:root {
  --bg:        #0B0B10;
  --bg-alt:    #10101A;
  --surface:   #14141F;
  --surface-2: #191926;
  --line:      rgba(214, 178, 106, 0.16);
  --line-soft: rgba(244, 241, 233, 0.08);

  --gold:      #D6B26A;
  --gold-soft: #EAD5A2;
  --gold-deep: #9E7B3C;

  --bronze:    #C68E5E;
  --silver:    #C9CDD6;

  --ivory:     #F4F1E9;
  --muted:     #A9A6B0;
  --faint:     #716E7A;

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius: 14px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(214, 178, 106, 0.28); }

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

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-soft); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- Typography helpers ---------- */

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.section-title { font-size: clamp(30px, 4vw, 44px); margin-bottom: 16px; }

.section-lead { color: var(--muted); max-width: 620px; font-size: 17.5px; }

.gold-text {
  background: linear-gradient(120deg, var(--gold-soft), var(--gold) 45%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11, 11, 16, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--ivory);
}
.brand:hover { color: var(--ivory); }

.brand svg { width: 40px; height: 40px; flex-shrink: 0; }

.brand-name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-name span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ivory); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--gold);
  font-size: 20px;
  line-height: 1;
  padding: 8px 12px;
  cursor: pointer;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
  cursor: pointer;
  border: none;
  font-family: var(--sans);
}

.btn-gold {
  background: linear-gradient(120deg, var(--gold-soft), var(--gold) 55%, var(--gold-deep));
  color: #17120A;
  box-shadow: 0 8px 28px rgba(214, 178, 106, 0.22);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(214, 178, 106, 0.32);
  color: #17120A;
}

.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }

.btn-sm { padding: 11px 24px; font-size: 12.5px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 190px 0 130px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 50% -10%, rgba(214, 178, 106, 0.13), transparent 65%),
    radial-gradient(700px 500px at 85% 110%, rgba(214, 178, 106, 0.05), transparent 60%),
    var(--bg);
}

.hero-mark { width: 92px; height: 92px; margin: 0 auto 34px; }

.hero h1 {
  font-size: clamp(40px, 6vw, 68px);
  max-width: 820px;
  margin: 0 auto 24px;
}

.hero p {
  color: var(--muted);
  font-size: 19px;
  max-width: 560px;
  margin: 0 auto 42px;
}

.hero-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

.hero-rule {
  width: 72px;
  height: 1px;
  margin: 0 auto 30px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ---------- Sections ---------- */

.section { padding: 110px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .section-lead { margin: 0 auto; }

/* ---------- Service tiers ---------- */

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}

.tier {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 40px 32px 34px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.tier::before {
  content: "";
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--metal), transparent);
}

.tier:hover {
  transform: translateY(-6px);
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.tier-bronze { --metal: var(--bronze); }
.tier-silver { --metal: var(--silver); }
.tier-gold   { --metal: var(--gold); }

.tier-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(120deg, var(--gold-soft), var(--gold) 55%, var(--gold-deep));
  color: #17120A;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.tier-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--metal);
  margin-bottom: 10px;
}

.tier-title { font-size: 26px; margin-bottom: 18px; }

.tier-price { font-family: var(--serif); font-size: 44px; font-weight: 600; }
.tier-price small { font-family: var(--sans); font-size: 13px; color: var(--faint); font-weight: 500; letter-spacing: 0.05em; }

.tier-desc { color: var(--muted); font-size: 15.5px; margin: 18px 0 24px; }

.tier-features { list-style: none; margin-bottom: 32px; flex-grow: 1; }

.tier-features li {
  position: relative;
  padding: 9px 0 9px 30px;
  font-size: 15px;
  color: var(--ivory);
  border-bottom: 1px solid var(--line-soft);
}
.tier-features li:last-child { border-bottom: none; }
.tier-features li::before {
  content: "◆";
  position: absolute;
  left: 4px;
  font-size: 9px;
  top: 14px;
  color: var(--metal);
}
.tier-features li.excluded { color: var(--faint); }
.tier-features li.excluded::before { content: "—"; font-size: 13px; top: 9px; }

.tier .btn { width: 100%; text-align: center; }

/* ---------- Care plans ---------- */

.care-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  max-width: 900px;
  margin: 0 auto;
}

.care-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 38px 34px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.care-card:hover { transform: translateY(-4px); border-color: var(--line); box-shadow: var(--shadow); }

.care-card.featured { border-color: var(--line); background: linear-gradient(180deg, rgba(214, 178, 106, 0.07), var(--surface) 45%); }

.care-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.care-card h3 { font-size: 24px; margin-bottom: 14px; }

.care-price { font-family: var(--serif); font-size: 34px; font-weight: 600; margin-bottom: 6px; }
.care-price small { font-family: var(--sans); font-size: 13px; color: var(--faint); font-weight: 500; }

.care-note { font-size: 13px; color: var(--gold); margin-bottom: 16px; }

.care-card p { color: var(--muted); font-size: 15.5px; }

/* ---------- What we do (key notes) ---------- */

.keynotes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.keynote {
  text-align: center;
  padding: 36px 22px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.keynote:hover {
  transform: translateY(-4px);
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.keynote-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 20px;
  display: block;
}

.keynote h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.keynote p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ---------- Portfolio ---------- */

.page-hero {
  padding: 170px 0 70px;
  text-align: center;
  background:
    radial-gradient(800px 380px at 50% -20%, rgba(214, 178, 106, 0.11), transparent 65%),
    var(--bg);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.work-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--ivory);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.work-card:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: var(--shadow); color: var(--ivory); }

.work-thumb {
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(320px 200px at 30% 20%, rgba(214, 178, 106, 0.18), transparent 70%),
    linear-gradient(150deg, var(--surface-2), #0E0E16);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line-soft);
}

.work-thumb img { width: 100%; height: 100%; object-fit: cover; }

.work-initial {
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 600;
  background: linear-gradient(120deg, var(--gold-soft), var(--gold) 45%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.work-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex-grow: 1; }

.work-body h3 { font-size: 22px; margin-bottom: 10px; }

.work-body p { color: var(--muted); font-size: 15px; flex-grow: 1; }

.work-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.work-tag {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
}

.work-visit {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.portfolio-empty {
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 70px 30px;
  font-size: 17px;
}

/* ---------- Request form ---------- */

.form-wrap {
  max-width: 680px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 48px 46px;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }

.field label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.field label em { color: var(--gold); font-style: normal; }

.field input,
.field select,
.field textarea {
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 15.5px;
  padding: 14px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 21px) 50%, calc(100% - 16px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }

.field textarea { min-height: 150px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(214, 178, 106, 0.14);
}

.field input::placeholder, .field textarea::placeholder { color: var(--faint); }

.form-footer { grid-column: 1 / -1; margin-top: 10px; }
.form-footer .btn { width: 100%; }

.form-alt {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 14px;
  color: var(--faint);
  margin-top: 18px;
}

/* ---------- Contact ---------- */

.contact-panel {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(180deg, rgba(214, 178, 106, 0.08), var(--surface) 55%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 64px 40px;
}

.contact-email {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(22px, 3.4vw, 32px);
  margin: 18px 0 10px;
}

.contact-meta { color: var(--muted); font-size: 15.5px; margin-bottom: 32px; }

/* ---------- Service area ---------- */

.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 780px;
  margin: 0 auto;
}

.area-chip {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 20px;
  transition: color 0.2s, border-color 0.2s;
}
.area-chip:hover { color: var(--gold-soft); border-color: var(--gold); }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 44px 0;
}

.footer-seo {
  text-align: center;
  color: var(--faint);
  font-size: 13.5px;
  max-width: 720px;
  margin: 0 auto 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line-soft);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-inner .brand svg { width: 30px; height: 30px; }
.footer-inner .brand-name { font-size: 14px; }

.footer-note { color: var(--faint); font-size: 13.5px; }

/* ---------- Reveal animation ---------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .tiers { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .keynotes { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(11, 11, 16, 0.97);
    border-bottom: 1px solid var(--line-soft);
    display: none;
    padding: 10px 0 18px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { text-align: center; padding: 12px 0; }
  .brand-name { font-size: 14px; letter-spacing: 0.16em; }
}

@media (max-width: 680px) {
  .section { padding: 80px 0; }
  .hero { padding: 150px 0 100px; }
  .care-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .keynotes { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-wrap { padding: 36px 24px; }
}
