/* ==========================================================================
   Shaila's Pet Grooming & Spa — demo site
   Palette sampled from the client's real Instagram branding:
   Navy #14315A, deep navy #0C2038, gold #D9A73B, bright gold #F5C144,
   cream #F6F3E9, ink #1E2A3A
   ========================================================================== */

:root{
  --navy: #14315A;
  --navy-deep: #0C2038;
  --navy-soft: #1E4172;
  --gold: #D9A73B;
  --gold-bright: #F5C144;
  --cream: #F6F3E9;
  --cream-deep: #EEE9D8;
  --ink: #1E2A3A;
  --ink-soft: #4A5568;
  --white: #FFFFFF;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-script: 'Alex Brush', 'Brush Script MT', cursive;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(12, 32, 56, 0.35);
  --shadow-sm: 0 8px 24px -12px rgba(12, 32, 56, 0.25);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap{
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3{
  font-family: var(--font-display);
  color: var(--navy-deep);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1{ font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 500; }
h2{ font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3{ font-size: 1.2rem; }

p{ line-height: 1.7; margin: 0 0 1em; color: var(--ink-soft); }

.script{
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--gold-bright);
  font-size: 1.25em;
  line-height: 1;
  display: inline-block;
  padding-top: 0.1em;
}

.eyebrow{
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 0.8em;
}
.eyebrow-light{ color: var(--gold-bright); }
.center{ text-align: center; margin-left: auto; margin-right: auto; }
.section-sub{ max-width: 560px; margin: 0 auto 3rem; }

:focus-visible{
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }

.btn-whatsapp{
  background: #25D366;
  color: #06301A;
  box-shadow: var(--shadow-sm);
}
.btn-whatsapp:hover{ background: #23c15e; }
.icon-wa{ width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }

.btn-ghost-light{
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
  backdrop-filter: blur(6px);
}
.btn-ghost-light:hover{ background: rgba(255,255,255,0.18); }

.btn-gold{
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-gold:hover{ background: var(--gold-bright); }

.btn-block{ width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 243, 233, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(20, 49, 90, 0.08);
}
.header-inner{
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}
.brand-mark{
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.brand-word{
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy-deep);
  font-size: 1.05rem;
  line-height: 1.1;
}
.brand-word em{
  display: block;
  font-style: normal;
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.main-nav{
  display: flex;
  gap: 28px;
}
.main-nav a{
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.main-nav a:hover{ color: var(--navy); }
.main-nav a::after{
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.main-nav a:hover::after{ transform: scaleX(1); }

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

/* ---------- Hero ---------- */
.hero{
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
}
.hero-media{
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-scrim{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(12,32,56,0.92) 5%, rgba(12,32,56,0.55) 45%, rgba(12,32,56,0.35) 100%);
}
.hero-inner{
  position: relative;
  z-index: 1;
  padding-top: 120px;
  padding-bottom: 88px;
}
.hero h1{ color: var(--white); max-width: 720px; }
.hero-sub{
  max-width: 520px;
  color: rgba(255,255,255,0.85);
  font-size: 1.08rem;
}
.hero .eyebrow{ color: var(--gold-bright); }
.hero-actions{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

/* ---------- Trust strip ---------- */
.trust-strip{
  background: var(--navy-deep);
  color: var(--white);
}
.trust-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px 24px;
  text-align: center;
}
.trust-item{
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.trust-num{
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold-bright);
}
.trust-label{
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.75);
}

/* ---------- About ---------- */
.about{ padding: 110px 0; }
.about-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.about-media img{
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
}
.about .lede{
  font-size: 1.18rem;
  color: var(--ink);
  font-weight: 500;
}
.check-list{
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.check-list li{
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.98rem;
}
.check-list li::before{
  content: '';
  position: absolute;
  left: 0; top: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314315A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

/* ---------- New home / build story ---------- */
.new-home{
  background: var(--navy);
  background-image: radial-gradient(circle at 15% 20%, var(--navy-soft), transparent 55%);
  color: var(--white);
  padding: 110px 0;
}
.new-home-grid{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.new-home-media img{
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
  width: 100%;
}
.new-home-copy p{ color: rgba(255,255,255,0.82); }
.new-home h2{ color: var(--white); }

/* ---------- Services ---------- */
.services{ padding: 110px 0; }
.services-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service-card{
  background: var(--white);
  border: 1px solid rgba(20,49,90,0.08);
  border-radius: var(--radius-sm);
  padding: 28px 22px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.service-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}
.service-icon{
  font-size: 1.7rem;
  display: inline-block;
  margin-bottom: 12px;
}
.service-card h3{ font-size: 1.02rem; margin-bottom: 6px; }
.service-card p{ font-size: 0.9rem; margin: 0; }

.price-note{
  margin-top: 48px;
  text-align: center;
  padding: 20px;
  background: var(--cream-deep);
  border-radius: var(--radius-sm);
}
.price-note p{ margin: 0; color: var(--ink); font-weight: 500; }
.price-placeholder{
  color: var(--navy);
  font-weight: 700;
  border-bottom: 2px dashed var(--gold);
}

/* ---------- Gallery ---------- */
.gallery{ padding: 0 0 110px; }
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery-grid figure{
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1/1;
  box-shadow: var(--shadow-sm);
}
.gallery-grid img{
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery-grid figure:hover img{ transform: scale(1.06); }

/* ---------- Contact ---------- */
.contact{
  background: var(--navy-deep);
  color: var(--white);
  padding: 110px 0;
}
.contact-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
.contact h2{ color: var(--white); }
.contact-copy p{ color: rgba(255,255,255,0.75); }
.contact-list{
  display: grid;
  gap: 14px;
  margin-top: 1.8rem;
}
.contact-row{
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  transition: background 0.15s ease;
}
a.contact-row:hover{ background: rgba(255,255,255,0.12); }
.contact-row svg{ width: 22px; height: 22px; fill: var(--gold-bright); flex-shrink: 0; }
.contact-row strong{ display: block; font-size: 1rem; }
.contact-row small{ color: rgba(255,255,255,0.6); font-size: 0.82rem; }

.contact-cta-card{
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: center;
  box-shadow: var(--shadow);
}
.contact-logo{
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 18px;
}
.contact-cta-card h3{ color: var(--navy-deep); }
.contact-cta-card p{ font-size: 0.94rem; }

/* ---------- Footer ---------- */
.site-footer{
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 48px 0 32px;
  text-align: center;
}
.footer-inner{ display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer-brand{
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.05rem;
}
.footer-logo{ width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.footer-tagline{ font-family: var(--font-script); font-size: 1.4rem; color: var(--gold-bright); margin: 4px 0; }
.footer-links{ display: flex; gap: 20px; margin: 10px 0; flex-wrap: wrap; justify-content: center; }
.footer-links a{ font-size: 0.88rem; }
.footer-links a:hover{ color: var(--gold-bright); }
.footer-fine{ font-size: 0.8rem; color: rgba(255,255,255,0.5); margin: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px){
  .about-grid, .new-home-grid, .contact-grid{
    grid-template-columns: 1fr;
  }
  .about-media{ order: -1; }
  .new-home-media{ order: -1; max-width: 420px; margin: 0 auto; }
  .services-grid{ grid-template-columns: repeat(2, 1fr); }
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
  .trust-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px){
  .main-nav{
    position: fixed;
    top: 66px; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 20px;
    border-bottom: 1px solid rgba(20,49,90,0.1);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .main-nav.open{
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .main-nav a{ padding: 12px 0; border-bottom: 1px solid rgba(20,49,90,0.06); }
  .nav-toggle{ display: flex; }
  .nav-cta{ display: none; }

  .hero-inner{ padding-top: 90px; padding-bottom: 56px; }
  .hero{ min-height: 82vh; }

  .about, .new-home, .services, .contact{ padding: 72px 0; }
  .gallery{ padding-bottom: 72px; }
}

@media (max-width: 560px){
  .services-grid{ grid-template-columns: 1fr; }
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
  .brand-word{ font-size: 0.92rem; }
  .hero-actions{ flex-direction: column; align-items: stretch; }
  .hero-actions .btn{ justify-content: center; }
}
