/* =============================================
   WEBSITES BY GABBY — Periwinkle Soft Theme
   Palette:
   --cream:      #FDFCFF  (page background, near white)
   --blush:      #F4F1FF  (section tint)
   --peri-lt:    #DDD8F5  (light periwinkle, borders/accents)
   --peri:       #7B72C8  (medium periwinkle, primary)
   --peri-dk:    #5A52A8  (deep periwinkle, hover)
   --mauve:      #C9A8D4  (soft pink-purple, secondary accent)
   --ink:        #2E2A45  (deep purple-black, headings)
   --soft-ink:   #6B6585  (body text)
   --muted:      #9E99B8   (secondary text)
   --gold:       #C9A84C  (TCU gold, highlight)
   ============================================= */

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

:root {
  --cream:     #FDFCFF;
  --blush:     #F4F1FF;
  --peri-lt:   #DDD8F5;
  --peri:      #7B72C8;
  --peri-dk:   #5A52A8;
  --mauve:     #C9A8D4;
  --ink:       #2E2A45;
  --soft-ink:  #6B6585;
  --muted:     #9E99B8;
  --gold:      #C9A84C;
  --gold-dk:   #A07830;
  --white:     #FFFFFF;
  --radius:    12px;
  --shadow:    0 4px 20px rgba(123,114,200,0.10);
  --shadow-lg: 0 10px 40px rgba(123,114,200,0.18);
  --ff-serif:  'Playfair Display', 'Times New Roman', Georgia, serif;
  --ff-sans:   'Lato', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--soft-ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Typography ───────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--ff-serif);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.2rem; }

.eyebrow {
  font-family: var(--ff-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--peri);
  margin-bottom: 0.5rem;
  display: block;
}

.center { text-align: center; }

/* ── Buttons ──────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--ff-sans);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 50px;
  padding: 0.75rem 1.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--peri);
  color: var(--white);
  border-color: var(--peri);
}
.btn-primary:hover {
  background: var(--peri-dk);
  border-color: var(--peri-dk);
  box-shadow: 0 4px 18px rgba(123,114,200,0.35);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--peri);
  border-color: var(--peri);
}
.btn-outline:hover {
  background: var(--peri);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-sm { padding: 0.45rem 1.1rem; font-size: 0.8rem; }
.btn-full { width: 100%; text-align: center; }

/* ── NAV ──────────────────────────────────── */
.nav-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 66px;
  background: rgba(253,252,255,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--peri-lt);
  box-shadow: 0 1px 12px rgba(123,114,200,0.08);
}

.nav-logo {
  font-family: var(--ff-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--peri-dk);
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.7rem;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--soft-ink);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--peri); }

.nav-toggle { display: none; }

/* ── HERO ─────────────────────────────────── */
.hero {
  position: relative;
  background: linear-gradient(150deg, #EAE7FF 0%, #F6F2FF 50%, #FDFCFF 100%);
  padding: 5.5rem 0 4.5rem;
  overflow: hidden;
}

/* soft decorative circle */
.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(201,168,212,0.22) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner { position: relative; max-width: 720px; }

.hero h1 { color: var(--ink); margin: 0.5rem 0 1rem; }

.hero-sub {
  font-size: 1.08rem;
  color: var(--soft-ink);
  max-width: 560px;
  margin-bottom: 2rem;
}
.hero-sub strong { color: var(--peri-dk); }

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-reach { font-size: 0.88rem; color: var(--muted); }
.hero-reach a {
  color: var(--soft-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--peri-lt);
  transition: color 0.15s;
}
.hero-reach a:hover { color: var(--peri); }

.hero-wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 60px; }

/* ── TRUST BAR ────────────────────────────── */
.trust-bar {
  background: var(--cream);
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--peri-lt);
}
.trust-bar p {
  text-align: center;
  font-size: 0.88rem;
  font-style: italic;
  font-family: var(--ff-serif);
  color: var(--muted);
}

/* ── SECTIONS ─────────────────────────────── */
.section { padding: 5rem 0; }
.bg-tint { background: var(--blush); }

.section-sub {
  color: var(--muted);
  max-width: 600px;
  margin: 0.75rem auto 2.5rem;
  font-size: 1rem;
}

/* ── STEPS ────────────────────────────────── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--peri-lt);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}
.step:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.step-num {
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--peri), var(--mauve));
  color: var(--white);
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-body h3 { margin-bottom: 0.35rem; color: var(--ink); }
.step-body p  { color: var(--muted); font-size: 0.95rem; }

/* ── PRICING ──────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--peri-lt);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--shadow);
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.pricing-card--featured {
  border: 2px solid var(--peri);
  background: linear-gradient(160deg, #FDFCFF 0%, #F0EDFF 100%);
}

.service-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--peri);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.25rem 0.9rem;
  border-radius: 50px;
  white-space: nowrap;
}

.pricing-card h3 { font-size: 1.2rem; color: var(--peri-dk); }

.price {
  font-family: var(--ff-serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.price-tagline { font-size: 0.9rem; color: var(--muted); }
.price-examples { font-size: 0.82rem; color: var(--muted); font-style: italic; }

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}
.check-list li {
  font-size: 0.9rem;
  padding-left: 1.4rem;
  position: relative;
  color: var(--soft-ink);
}
.check-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--mauve);
  font-size: 0.6rem;
  top: 0.45em;
}

/* ── INCLUDED BOX ─────────────────────────── */
.included-box {
  margin-top: 3rem;
  background: var(--white);
  border: 1px solid var(--peri-lt);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin: 1rem 0;
}
.included-grid span { font-size: 0.9rem; color: var(--soft-ink); }
.included-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 0.5rem;
}

/* ── PAYMENT ──────────────────────────────── */
.payment-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--muted);
}
.payment-chips { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.chip {
  background: var(--white);
  border: 1px solid var(--peri-lt);
  border-radius: 50px;
  padding: 0.3rem 0.9rem;
  font-size: 0.82rem;
  color: var(--soft-ink);
}

/* ── MAINTENANCE NOTE ─────────────────────── */
.maint-note {
  margin-top: 1.5rem;
  background: var(--white);
  border-left: 3px solid var(--mauve);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.maint-note strong { color: var(--ink); }

/* ── PORTFOLIO ────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.project-card {
  background: var(--white);
  border: 1px solid var(--peri-lt);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}
.project-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.project-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--blush);
}
.project-link { display: block; }
.project-info { padding: 1.25rem 1.5rem 1.5rem; }
.project-info h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.project-info h3 a { color: var(--peri-dk); }
.project-info h3 a:hover { text-decoration: underline; }
.project-info p { font-size: 0.9rem; color: var(--muted); margin-bottom: 0.75rem; }

.tag-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.tag {
  background: var(--blush);
  color: var(--peri-dk);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
  border: 1px solid var(--peri-lt);
}

/* ── ABOUT ────────────────────────────────── */
.about-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: center;
}

.about-photo-wrap { display: flex; justify-content: center; }

.about-photo {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--white);
  box-shadow: 0 0 0 3px var(--peri-lt), var(--shadow-lg);
}

.about-text .eyebrow { margin-bottom: 0.4rem; }
.about-text h2 { margin-bottom: 1rem; }
.about-text p { color: var(--muted); margin-bottom: 1rem; font-size: 1rem; }
.about-text .btn { margin-top: 0.5rem; }

/* ── FAQ ──────────────────────────────────── */
.faq-container { max-width: 700px; }
.faq-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--peri-lt);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(123,114,200,0.06);
  transition: box-shadow 0.2s;
}
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item[open] summary { color: var(--peri); }

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.4rem;
  font-weight: 600;
  font-family: var(--ff-serif);
  font-size: 1rem;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--mauve);
  line-height: 1;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: '−'; color: var(--peri); }

.faq-item p {
  padding: 0.9rem 1.4rem 1.2rem;
  font-size: 0.93rem;
  color: var(--muted);
  border-top: 1px solid var(--peri-lt);
}

/* ── CONTACT ──────────────────────────────── */
.contact {
  background: linear-gradient(160deg, #3A2A80 0%, #6055B8 100%);
}
.contact .eyebrow { color: #D4CCFF; }
.contact h2 { color: var(--white); }
.contact .section-sub { color: rgba(255,255,255,0.7); }

.contact-container { max-width: 680px; }

.contact-ways {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 2rem 0;
}

.contact-way {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  color: var(--white);
  transition: background 0.2s, transform 0.2s;
}
.contact-way:hover {
  background: rgba(255,255,255,0.18);
  transform: translateX(4px);
}
.contact-way-icon { font-size: 1.4rem; }
.contact-way strong { display: block; font-size: 0.95rem; }
.contact-way span  { font-size: 0.85rem; color: rgba(255,255,255,0.65); }

.divider-text {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 1.5rem 0;
}
.divider-text::before,
.divider-text::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.2);
}

/* ── CONTACT FORM ─────────────────────────── */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }

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

.form-group { display: flex; flex-direction: column; gap: 0.35rem; }

.form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: var(--ff-sans);
  color: var(--white);
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.16);
}
.form-group select option { background: #4040A0; color: var(--white); }
.form-group textarea { resize: vertical; min-height: 110px; }

.contact .btn-primary {
  background: var(--white);
  border-color: var(--white);
  color: var(--peri-dk);
  font-size: 1rem;
  padding: 0.9rem;
}
.contact .btn-primary:hover {
  background: var(--blush);
  border-color: var(--blush);
}

.form-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
  font-style: italic;
}

/* ── FOOTER ───────────────────────────────── */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.45);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
}

.footer-logo {
  font-family: var(--ff-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--peri-lt);
}

.footer-copy { font-size: 0.82rem; }

.footer-links { display: flex; gap: 1.5rem; font-size: 0.82rem; }
.footer-links a { transition: color 0.15s; }
.footer-links a:hover { color: var(--peri-lt); }

/* ── REVEAL ───────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── MOBILE NAV ───────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--peri);
  border-radius: 2px;
  transition: all 0.2s;
}

/* ── RESPONSIVE ───────────────────────────── */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 66px;
    left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--peri-lt);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 1.5rem;
    gap: 1rem;
    box-shadow: 0 8px 24px rgba(123,114,200,0.12);
  }
  .nav-links.open { display: flex; }

  .form-row { grid-template-columns: 1fr; }

  .about-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .about-photo { width: 180px; height: 180px; }
  .about-text .btn { margin: 0.5rem auto 0; display: block; width: fit-content; }

  .pricing-grid { grid-template-columns: 1fr; }
  .card-grid    { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .section { padding: 3.5rem 0; }
}

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