:root {
  --cream: #ffe1b5;
  --cream-card: #ffefd7;
  --orange: #dc7740;
  --orange-dark: #d86f37;
  --brown: #2a160f;
  --white: #ffffff;
  --text: #2a160f;
  --muted: #6e5a4f;
  --border: #edd3ae;
  --shadow: 0 7px 15px rgba(61, 32, 17, 0.13);
  --heading: "Fredoka", sans-serif;
  --body: "Poppins", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--body);
  background: var(--white);
  font-size: 13px;
}

body.no-scroll { overflow: hidden; }

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

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

button,
input,
textarea {
  font: inherit;
}

button { cursor: pointer; }

.container {
  width: min(1190px, calc(100% - 44px));
  margin: 0 auto;
}

/* A very light square texture, matching the Figma background. */
.section-cream,
.section-white,
.features,
.pricing,
.contact {
  position: relative;
  overflow: hidden;
}

.section-cream::before,
.section-white::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image:
    linear-gradient(rgba(255,255,255,.45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.45) 1px, transparent 1px);
  background-size: 46px 46px;
}

.section-cream {
  background: var(--cream);
}

.section-white {
  background: #fff;
}

/* ==================== NAVBAR ==================== */

.navbar {
  height: 72px;
  background: var(--cream);
  border-bottom: 1px solid rgba(42, 22, 15, .08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  width: 180px;
  display: block;
}

.logo-link img {
  width: 180px;
  height: 64px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 29px;
  font-size: 12px;
  color: #2e201b;
}

.nav-links a:not(.nav-button) {
  transition: color .2s ease;
}

.nav-links a:not(.nav-button):hover {
  color: var(--orange);
}

.nav-button,
.primary-button {
  background: var(--orange);
  color: white;
  border: 0;
  border-radius: 28px;
  font-weight: 600;
  box-shadow: 0 7px 12px rgba(87, 42, 17, .13);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.nav-button {
  padding: 10px 20px;
}

.primary-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 27px;
  font-size: 13px;
}

.nav-button:hover,
.primary-button:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 16px rgba(87, 42, 17, .18);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 5px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px 0;
  background: var(--brown);
}

/* ==================== HERO ==================== */

.hero {
  min-height: 813px;
}

.hero-grid {
  min-height: 813px;
  display: grid;
  grid-template-columns: 47% 53%;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-left: 0;
  padding-bottom: 25px;
}

.hero h1 {
  margin: 0 0 24px;
  max-width: 500px;
  font-family: var(--heading);
  font-size: clamp(51px, 4.45vw, 69px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: .005em;
  text-transform: uppercase;
}

.hero-content p {
  margin: 0 0 26px;
  color: #5f4e45;
  font-size: 15px;
}

.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 650px;
}

.hero-polaroid {
  width: min(600px, 100%);
  transform: rotate(3deg);
  filter: drop-shadow(0 18px 14px rgba(76, 42, 19, .17));
  margin-left: 5px;
}

/* ==================== SECTION TITLES ==================== */

.section-title {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--orange);
  font-family: var(--heading);
  font-weight: 600;
  font-size: 38px;
  line-height: 1.2;
  text-align: center;
}

.section-subtitle,
.contact-subtitle {
  position: relative;
  z-index: 1;
  text-align: center;
  margin: 10px 0 40px;
  color: #6c5b51;
  font-size: 13px;
}

/* ==================== FEATURES ==================== */

.features {
  min-height: 290px;
  padding: 47px 0 64px;
}

.feature-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 223px);
  justify-content: center;
  gap: 25px;
  margin-top: 34px;
}

.feature-card {
  height: 170px;
  padding: 20px 14px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--cream-card);
  text-align: center;
}

.feature-icon {
  width: 51px;
  height: 51px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 22px;
  line-height: 1;
}

.feature-card h3 {
  margin: 0 0 7px;
  font-family: var(--heading);
  font-size: 15px;
  font-weight: 600;
}

.feature-card p {
  margin: 0;
  color: #806d61;
  font-size: 12px;
  line-height: 1.55;
}

/* ==================== GALLERY ==================== */

.gallery {
  padding: 62px 0 64px;
}

.gallery-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 35px;
}

.gallery-card {
  padding: 12px;
  border: 0;
  border-radius: 9px;
  background: white;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 22px rgba(61, 32, 17, .18);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 1px;
}

/* ==================== PRICING ==================== */

.pricing {
  padding: 66px 0 65px;
  min-height: 680px;
}

.pricing-grid {
  position: relative;
  z-index: 1;
  width: min(923px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.price-card {
  min-height: 217px;
  padding: 23px 25px 20px;
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: 13px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.price-icon {
  font-size: 30px;
  line-height: 1;
  margin-bottom: 14px;
}

.price-card h3 {
  margin: 0 0 7px;
  color: var(--orange);
  font-family: var(--heading);
  font-size: 19px;
  font-weight: 600;
}

.price-card p {
  margin: 0 0 12px;
  min-height: 42px;
  color: #6c5b51;
  font-size: 12px;
  line-height: 1.5;
}

.price-card strong {
  color: var(--orange);
  font-family: var(--heading);
  font-size: 23px;
  font-weight: 600;
}

/* ==================== TESTIMONIALS ==================== */

.testimonials {
  padding: 65px 0 64px;
}

.testimonial-grid {
  position: relative;
  z-index: 1;
  width: min(923px, 100%);
  margin: 36px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.testimonial-card {
  min-height: 170px;
  padding: 22px 25px;
  background: #fff;
  border-radius: 13px;
  box-shadow: var(--shadow);
}

.stars {
  color: var(--orange);
  font-size: 18px;
  letter-spacing: 1px;
  line-height: 1;
  margin-bottom: 12px;
}

.testimonial-card p {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.55;
}

.testimonial-card strong {
  font-size: 11px;
}

/* ==================== CONTACT ==================== */

.contact {
  padding: 63px 0 63px;
}

.contact-subtitle {
  margin-bottom: 40px;
}

.contact-grid {
  position: relative;
  z-index: 1;
  width: min(716px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 85px;
}

.contact-info h3 {
  margin: 0 0 23px;
  color: var(--orange);
  font-family: var(--heading);
  font-size: 19px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
}

.contact-icon {
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--orange);
  font-size: 21px;
}

.contact-item b,
.contact-item small {
  display: block;
}

.contact-item b {
  font-size: 12px;
  margin-bottom: 2px;
}

.contact-item small {
  color: #725e53;
  font-size: 12px;
}

.follow {
  margin-top: 39px;
}

.follow h4 {
  margin: 0 0 11px;
  font-size: 12px;
}

.social-buttons {
  display: flex;
  gap: 12px;
}

.social-button {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: white;
  font-size: 20px;
  transition: transform .2s ease;
}

.social-button:hover {
  transform: translateY(-2px);
}

.contact-form label {
  display: block;
  margin-bottom: 14px;
  font-size: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  display: block;
  margin-top: 5px;
  padding: 12px 13px;
  border: 1px solid #e9cda7;
  border-radius: 9px;
  outline: none;
  color: var(--brown);
  background: #ffe2b7;
  font-size: 12px;
}

.contact-form input {
  height: 42px;
}

.contact-form textarea {
  min-height: 97px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(220,119,64,.10);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #a28d7d;
}

.form-button {
  width: 100%;
  margin-top: 2px;
  border-radius: 7px;
  box-shadow: var(--shadow);
}

.form-status {
  min-height: 20px;
  margin: 9px 0 0;
  font-size: 11px;
  text-align: center;
}

.form-status.success { color: #3c7a3d; }
.form-status.error { color: #b33c25; }

/* ==================== FOOTER ==================== */

.footer {
  padding: 39px 0 21px;
  background: var(--brown);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.2fr;
  gap: 50px;
  padding-bottom: 29px;
}

.footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer h3 {
  margin: 0 0 15px;
  color: var(--orange);
  font-family: var(--heading);
  font-size: 18px;
  font-weight: 600;
}

.footer-grid a,
.footer-grid span {
  margin: 0 0 8px;
  font-size: 12px;
}

.footer-grid a:hover {
  color: var(--cream);
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.footer-socials a {
  margin: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.2);
  text-align: center;
  padding-top: 18px;
}

.footer-bottom p {
  margin: 0;
  font-size: 12px;
}

/* ==================== LIGHTBOX ==================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 35px;
  background: rgba(30, 14, 8, .88);
}

.lightbox.open {
  display: grid;
}

.lightbox img {
  max-width: min(760px, 92vw);
  max-height: 80vh;
  object-fit: contain;
  border: 10px solid white;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

.lightbox p {
  position: absolute;
  bottom: 25px;
  color: white;
  font-family: var(--heading);
  font-size: 18px;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 28px;
  border: 0;
  background: none;
  color: white;
  font-size: 42px;
  line-height: 1;
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding: 60px 0 70px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-content {
    text-align: center;
    padding: 0;
  }

  .hero h1 {
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(45px, 8vw, 65px);
  }

  .hero-image-wrap {
    min-height: 480px;
  }

  .hero-polaroid {
    width: min(570px, 90%);
  }

  .pricing-grid,
  .testimonial-grid {
    width: min(650px, 100%);
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    width: min(700px, 100%);
    gap: 50px;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 30px, 500px);
  }

  .navbar {
    height: 65px;
  }

  .logo-link,
  .logo-link img {
    width: 145px;
    height: 58px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 65px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 18px 20px;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 20px rgba(42,22,15,.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 8px;
  }

  .nav-button {
    text-align: center;
    margin-top: 5px;
  }

  .hero-grid {
    padding-top: 45px;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .hero-content p {
    font-size: 13px;
  }

  .hero-image-wrap {
    min-height: 390px;
  }

  .section-title {
    font-size: 31px;
  }

  .feature-grid,
  .gallery-grid,
  .pricing-grid,
  .testimonial-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    width: 223px;
    margin-left: auto;
    margin-right: auto;
  }

  .gallery-card img {
    aspect-ratio: 1 / 1;
  }

  .pricing-grid,
  .testimonial-grid,
  .contact-grid {
    width: 100%;
  }

  .price-card {
    min-height: 200px;
  }

  .contact-grid {
    gap: 35px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
