/* =========================
   Preston & Paws Co.
   Cloud Boutique Starter
   ========================= */

:root{
  --sage: #D8E2DC;
  --peach: #FFE5D9;
  --blush: #FFCAD4;
  --rose: #F4ACB7;
  --mauve: #9D8189;
  --charcoal: #3A3A3A;

  --white: #ffffff;

  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 20px;
  --radius-pill: 999px;

  --shadow-soft: 0 10px 40px rgba(157, 129, 137, 0.15);
  --shadow-soft-2: 0 12px 50px rgba(58, 58, 58, 0.08);

  --font-heading: "Baloo 2", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-body: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  --container: 1120px;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

html{
  scroll-behavior: smooth;
}

body{
  margin: 0;
  color: var(--charcoal);
  font-family: var(--font-body);
  background: var(--sage);
  overflow-x: hidden;
}

img{ max-width: 100%; display: block; }

a{ color: inherit; text-decoration: none; }

.container{
  width: min(var(--container), calc(100% - 2.5rem));
  margin: 0 auto;
}

/* ====== Background blobs ====== */
.bg-blobs{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.blob{
  position: absolute;
  filter: blur(0px);
  opacity: 0.9;
  border-radius: 999px;
  transform: translateZ(0);
}

.blob-a{
  width: 420px;
  height: 420px;
  background: var(--blush);
  top: -140px;
  left: -140px;
}

.blob-b{
  width: 520px;
  height: 520px;
  background: var(--peach);
  bottom: -220px;
  right: -220px;
}

.blob-c{
  width: 260px;
  height: 260px;
  background: var(--rose);
  top: 140px;
  right: 60px;
  opacity: 0.6;
}

/* Keep content above blobs */
.site-header, main, .site-footer{
  position: relative;
  z-index: 1;
}

/* ====== Header / Nav ====== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(216, 226, 220, 0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(58, 58, 58, 0.08);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand{
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark{
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-soft-2);
  overflow: hidden;
  flex-shrink: 0;
}

.brand-mark img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-name{
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.2px;
  line-height: 1.1;
  display: block;
}

.brand-tag{
  display: block;
  font-size: 12.5px;
  opacity: 0.75;
  margin-top: 2px;
}

.nav{
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.nav-link{
  font-weight: 500;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  transition: transform 220ms ease, background 220ms ease;
}

.nav-link:hover{
  background: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

.menu-btn{
  display: none;
  border: 0;
  background: var(--white);
  border-radius: 16px;
  padding: 10px 12px;
  box-shadow: var(--shadow-soft-2);
}

/* ====== Hero ====== */
.hero{
  padding: 4.5rem 0 0;
  background: linear-gradient(180deg, rgba(216,226,220,0.9), rgba(216,226,220,0.25));
}

.hero-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  padding-bottom: 4rem;
}

.pill{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.75);
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft-2);
  font-weight: 500;
  font-size: 13px;
  margin: 0 0 1rem;
}

.pill-icon{
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  background: var(--blush);
  border-radius: 999px;
  color: var(--charcoal);
}

.pill-icon svg{
  width: 16px;
  height: 16px;
  fill: currentColor;
  display: block;
}

h1{
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.6vw, 3.4rem);
  line-height: 1.05;
  margin: 0 0 0.8rem;
  letter-spacing: -0.2px;
}

.highlight{
  text-decoration: underline;
  text-decoration-color: var(--rose);
  text-decoration-thickness: 6px;
  text-underline-offset: 4px;
}

.hero-sub{
  margin: 0 0 1.4rem;
  font-size: 1.05rem;
  line-height: 1.7;
  opacity: 0.9;
}

.hero-actions{
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.trust-row{
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.trust-chip{
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 10px 12px;
  background: rgba(255,255,255,0.7);
  border-radius: 16px;
  box-shadow: var(--shadow-soft-2);
  font-size: 13px;
}

.trust-icon{
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  background: var(--peach);
  border-radius: 999px;
  color: var(--mauve);
}

.trust-icon svg{
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* hero media */
.photo-card{
  position: relative;
  background: rgba(255,255,255,0.75);
  border-radius: var(--radius-xl);
  padding: 14px;
  box-shadow: var(--shadow-soft);
}

.photo-card::after{
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: calc(var(--radius-xl) - 10px);
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.12),
    rgba(0,0,0,0)
  );
  pointer-events: none;
}

.hero-image{
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: calc(var(--radius-xl) - 10px);
  display: block;
}

.mini-card{
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  z-index: 2;
  gap: 0.85rem;
  align-items: center;
  background: rgba(255,255,255,0.88);
  border-radius: 22px;
  padding: 14px 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: var(--shadow-soft-2);
}

.mini-icon{
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--blush);
  color: var(--charcoal);
}

.mini-icon svg{
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.mini-title{
  margin: 0;
  font-weight: 600;
}

.mini-sub{
  margin: 0;
  font-size: 13px;
  opacity: 0.85;
}

.photo-card:hover .mini-card{
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(157, 129, 137, 0.25);
}

/* ====== Sections ====== */
.section{
  padding: 5.5rem 0;
}

.section-head{
  margin-bottom: 2rem;
}

.section h2{
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 2.8vw, 2.4rem);
  margin: 0 0 0.35rem;
  letter-spacing: -0.2px;
}

.section-sub{
  margin: 0;
  opacity: 0.85;
  line-height: 1.7;
  max-width: 58ch;
}

.section-sage{ background: var(--sage); }
.section-white{ background: rgba(255,255,255,0.75); }
.section-blush{ background: rgba(255, 202, 212, 0.55); }
.section-peach{ background: rgba(255, 229, 217, 0.9); }

/* ====== Cards ====== */
.card-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.card{
  background: rgba(255,255,255,0.85);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(58, 58, 58, 0.06);
}

.card-icon{
  width: 54px;
  height: 54px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: var(--peach);
  font-size: 24px;
  margin-bottom: 0.9rem;
  color: var(--mauve);
}

.card-icon svg{
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.card h3{
  margin: 0 0 0.45rem;
  font-weight: 600;
  font-size: 18px;
}

.card p{
  margin: 0 0 0.9rem;
  line-height: 1.7;
  opacity: 0.9;
}

.card-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
  font-size: 13.5px;
  opacity: 0.9;
}

.dot{
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--rose);
  margin-right: 10px;
  vertical-align: middle;
}

/* ====== Experience & Reviews ====== */

.section-lavender{
  background: rgba(213, 196, 224, 0.55);
}

.experience-grid{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.experience-photo{
  background: rgba(255,255,255,0.9);
  padding: 14px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.experience-photo img{
  width: 100%;
  border-radius: calc(var(--radius-xl) - 10px);
}

.experience-label{
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 8px 12px;
  background: var(--blush);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
}

.experience-copy h3{
  margin: 0 0 0.75rem;
  font-family: var(--font-heading);
  font-size: 2rem;
}

.experience-copy > p{
  line-height: 1.7;
}

.experience-stats{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.stat-card{
  background: rgba(255,255,255,0.9);
  padding: 1rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft-2);
  text-align: center;
}

.stat-number{
  display: block;
  font-family: var(--font-heading);
  font-size: 1.7rem;
  color: var(--mauve);
}

.stat-label{
  display: block;
  margin-top: 0.25rem;
  font-size: 12px;
  opacity: 0.75;
}

.testimonial-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial-card{
  background: rgba(255,255,255,0.9);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(58,58,58,0.06);
}

.testimonial-stars{
  margin: 0 0 0.7rem;
  color: var(--mauve);
  letter-spacing: 2px;
}

.testimonial-text{
  margin: 0;
  line-height: 1.7;
  font-size: 14px;
}

.testimonial-name{
  margin: 0.85rem 0 0;
  font-size: 13px;
  font-weight: 600;
  opacity: 0.75;
}

/* ====== Pricing ====== */
.pricing-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.price-card{
  background: rgba(255,255,255,0.9);
  border-radius: var(--radius-xl);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(58, 58, 58, 0.06);
  position: relative;
}

.price-card.is-accent{
  background: rgba(216,226,220,0.85);
  border: 1px solid rgba(157,129,137,0.22);
}

.price{
  font-family: var(--font-heading);
  font-size: 44px;
  margin: 0.35rem 0 0.2rem;
}

.price-note{
  margin: 0 0 1rem;
  opacity: 0.85;
}

.price-list{
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
  display: grid;
  gap: 0.55rem;
}

.check{
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--blush);
  margin-right: 10px;
  font-weight: 700;
}

.fineprint{
  margin-top: 1.2rem;
  font-size: 13px;
  opacity: 0.75;
}

/* ====== Gallery ====== */
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item{
  background: rgba(255,255,255,0.85);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-soft);
  position: relative;   /* 👈 ADD THIS */
  overflow: hidden;
}

.gallery-img{
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 18px;
  transition: transform 0.3s ease;
  display: block;
}

.gallery-item:hover .gallery-img{
  transform: scale(1.05);
}

.gallery-item figcaption{
  padding: 10px 6px 4px;
  font-weight: 600;
  font-size: 13.5px;
  opacity: 0.9;
}

.gallery-cta{
  margin-top: 1.5rem;
}

.gallery-cta-inner{
  background: rgba(255,255,255,0.85);
  border-radius: var(--radius-xl);
  padding: 1.25rem 1.25rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

.gallery-cta-icon{
  width: 54px;
  height: 54px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: var(--peach);
  color: var(--mauve);
}

.gallery-cta-icon svg{
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.gallery-cta-title{
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.gallery-cta-sub{
  margin: 4px 0 0;
  opacity: 0.85;
}

.heart{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  pointer-events: none;
  animation: floatHeart 1s ease forwards;
}

@keyframes floatHeart{
  0%{
    opacity: 0;
    transform: translate(-50%, -40%) scale(0.6);
  }
  20%{
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100%{
    opacity: 0;
    transform: translate(-50%, -90%) scale(1.2);
  }
}

/* ====== Contact ====== */
.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  align-items: start;
}

.contact-cards{
  display: grid;
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.contact-card{
  background: rgba(255,255,255,0.85);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.1rem;
  box-shadow: var(--shadow-soft-2);
  display: flex;
  gap: 0.85rem;
  align-items: center;
  border: 1px solid rgba(58, 58, 58, 0.06);
}

.contact-icon{
  width: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;
  flex-shrink: 0;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: var(--blush);
  color: var(--charcoal);
}

.contact-icon svg{
  width: 23px;
  height: 23px;
  fill: currentColor;
  display: block;
}

.contact-label{
  margin: 0;
  font-size: 12px;
  opacity: 0.7;
}

.contact-value{
  margin: 2px 0 0;
  font-weight: 500;
}

/* Form */
.form{
  background: rgba(255,255,255,0.9);
  border-radius: var(--radius-xl);
  padding: 1.4rem 1.35rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(58, 58, 58, 0.06);
}

.form-title{
  margin: 0 0 1rem;
  font-size: 18px;
  font-weight: 600;
}

.form-row{
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

label{
  font-size: 13px;
  font-weight: 500;
}

input, select, textarea{
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(58, 58, 58, 0.15);
  background: rgba(255,255,255,0.95);
  outline: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

input:focus, select:focus, textarea:focus{
  border-color: rgba(157,129,137,0.55);
  box-shadow: 0 0 0 6px rgba(244,172,183,0.25);
  transform: translateY(-1px);
}

.form-fineprint{
  margin: 0.9rem 0 0;
  font-size: 12px;
  opacity: 0.72;
  line-height: 1.6;
}

.form-status{
  min-height: 1.4rem;
  margin: 0.75rem 0 0;
  color: var(--mauve);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.btn:disabled{
  cursor: wait;
  opacity: 0.65;
  animation: none;
  transform: none;
}

.form-success{
  min-height: 420px;
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 2rem 1.5rem;
  text-align: center;
  animation: successPop 0.55s cubic-bezier(.2,.9,.2,1);
}

.form-success-title{
  margin: 0 0 0.35rem;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  line-height: 1.1;
}

.form-success-text{
  margin: 0;
  opacity: 0.85;
  line-height: 1.7;
}

@keyframes successPop{
  0%{
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  60%{
    opacity: 1;
    transform: translateY(-4px) scale(1.01);
  }
  100%{
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes iconBounce{
  0%{
    transform: scale(0.7);
  }
  50%{
    transform: scale(1.08);
  }
  100%{
    transform: scale(1);
  }
}

/* ====== Buttons ====== */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  border: 0;
  cursor: pointer;
  transform: translateY(0);
  transition: transform 180ms cubic-bezier(.2,.8,.2,1), box-shadow 180ms ease, background 180ms ease, color 180ms ease;
  box-shadow: 0 10px 24px rgba(157, 129, 137, 0.18);
}

.btn-primary{
  background: var(--mauve);
  color: var(--white);
}

.btn-primary:hover{
  background: var(--rose);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(157, 129, 137, 0.22);
}

.btn-secondary{
  background: rgba(255,255,255,0.8);
  color: var(--mauve);
  border: 2px solid rgba(157, 129, 137, 0.45);
  box-shadow: 0 10px 20px rgba(58, 58, 58, 0.08);
}

.btn-secondary:hover{
  background: rgba(255, 202, 212, 0.55);
  transform: translateY(-3px);
}

.btn-full{ width: 100%; }

/* “Bouncy” hover animation */
.btn-bounce:hover{
  animation: bouncePop 520ms cubic-bezier(.2, .9, .2, 1);
}

@keyframes bouncePop{
  0%   { transform: translateY(0) scale(1); }
  45%  { transform: translateY(-4px) scale(1.02); }
  75%  { transform: translateY(1px) scale(0.995); }
  100% { transform: translateY(-2px) scale(1); }
}

/* Lift effect for cards */
.lift{
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), box-shadow 220ms ease;
}

.lift:hover{
  transform: translateY(-6px);
  box-shadow: 0 16px 60px rgba(157, 129, 137, 0.20);
}

/* ====== Footer ====== */
.site-footer{
  background: rgba(157,129,137,0.95);
  color: rgba(255,255,255,0.92);
  padding: 3.5rem 0 2rem;
}

.footer-grid{
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.9fr;
  gap: 1.25rem;
  align-items: start;
}

.footer-name{
  font-family: var(--font-heading);
  font-size: 22px;
  margin: 0 0 0.4rem;
}

.footer-sub{
  margin: 0;
  opacity: 0.9;
  line-height: 1.7;
  max-width: 44ch;
}

.footer-title{
  margin: 0 0 0.65rem;
  font-weight: 600;
  opacity: 0.95;
}

.footer-links a{
  display: block;
  padding: 6px 0;
  opacity: 0.92;
}

.footer-links a:hover{
  opacity: 1;
  text-decoration: underline;
}

.footer-contact p{
  margin: 0 0 0.55rem;
  opacity: 0.92;
}

.contact-inline-icon{
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  justify-content: center;
  margin-right: 6px;
  color: var(--rose);
}

.contact-inline-icon svg{
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.email-link{
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}

.email-link:hover{
  text-decoration: underline;
}

.footer-bottom{
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.25);
  font-size: 13px;
  opacity: 0.95;
}

.tiny{
  opacity: 0.9;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* ====== Responsive ====== */
@media (max-width: 980px){

  .header-inner{
  position: relative;
  }

  .nav{
  display: none;
  }

  .nav.nav-open{
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  position: absolute;
  top: calc(100% + 10px);
  right: 1.25rem;
  width: min(280px, calc(100vw - 2.5rem));
  padding: 1rem;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(58, 58, 58, 0.08);
  }

  .menu-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  }


  .nav.nav-open .nav-link,
  .nav.nav-open .btn{
  width: 100%;
  }

  .hero-grid{
    grid-template-columns: 1fr;
  }

  .photo-placeholder{
    height: 360px;
  }

  .card-grid{
    grid-template-columns: 1fr;
  }

  .expect-row{
    grid-template-columns: 1fr;
  }

  .pricing-grid{
    grid-template-columns: 1fr;
  }

  .gallery-grid{
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid{
    grid-template-columns: 1fr;
  }

  .footer-grid{
    grid-template-columns: 1fr;
  }

  .experience-grid{
  grid-template-columns: 1fr;
  }

.experience-stats{
  grid-template-columns: 1fr;
  }

.testimonial-grid{
  grid-template-columns: 1fr;
  }
}

@media (max-width: 520px){
  .gallery-grid{
    grid-template-columns: 1fr;
  }

  .brand-tag{
    display: none;
  }

  .photo-placeholder-text{
    font-size: 24px;
  }
}