/* The Wedding Hire Co — site styles */
:root {
  --ink: #2e2a24;        /* Walnut Ink */
  --ivory: #fbf8f3;      /* Ivory */
  --euc: #7c8a6e;        /* Eucalyptus */
  --euc-deep: #5e6b52;
  --blush: #c79a8a;
  --sand: #f1ebe1;
  --sand-2: #f3eee7;
  --muted: #6b6459;
  --line: rgba(46, 42, 36, 0.12);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --script: 'Pinyon Script', cursive;
  --sans: 'Mulish', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; }
.script { font-family: var(--script); color: var(--blush); font-size: clamp(26px, 4vw, 34px); display: block; margin-bottom: 8px; }
.label {
  font-family: var(--sans); font-weight: 700; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(32px, 5vw, 46px); }
.section-head p { color: var(--muted); margin-top: 16px; }

/* Buttons */
.btn {
  display: inline-block; padding: 16px 30px; border-radius: 999px;
  font-family: var(--sans); font-weight: 700; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: all .2s ease;
  text-align: center;
}
.btn-primary { background: var(--euc); color: #fff; }
.btn-primary:hover { background: var(--euc-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--ivory); }
.btn-light { background: var(--ivory); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 243, 0.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-family: var(--serif); font-size: 22px; text-decoration: none; line-height: 1.1; }
.logo .the { font-family: var(--script); color: var(--blush); font-size: 18px; margin-right: 4px; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.main-nav a:hover { color: var(--ink); }
.main-nav .btn { padding: 12px 22px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* Hero */
.hero { position: relative; padding: 0; min-height: 88vh; display: flex; align-items: center; color: var(--ivory); }
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(46,42,36,.55), rgba(46,42,36,.35) 50%, rgba(46,42,36,.6)); }
.hero .wrap { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 96px; max-width: 860px; text-align: center; }
.hero .script { color: #e8cfc4; }
.hero h1 { font-size: clamp(44px, 8vw, 82px); color: #fff; }
.hero p { max-width: 620px; margin: 24px auto 36px; font-size: 17px; font-weight: 300; color: rgba(255,255,255,.92); }
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-chips { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 44px; }
.hero-chips span {
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 9px 18px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px;
  color: rgba(255,255,255,.9);
}

/* Intro */
.intro { text-align: center; }
.intro .label { color: var(--euc); }
.intro p { font-family: var(--serif); font-size: clamp(22px, 3.2vw, 30px); line-height: 1.5; max-width: 780px; margin: 20px auto 0; }

/* Collection */
.collection { background: var(--sand); }
.items-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 28px; }
.item-card {
  background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: 0 2px 24px rgba(46,42,36,.07);
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.item-card:hover { transform: translateY(-4px); box-shadow: 0 10px 34px rgba(46,42,36,.12); }
.item-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.item-photo img { width: 100%; height: 100%; object-fit: cover; }
.item-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--euc); color: #fff; font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
}
.item-body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.item-body h3 { font-size: 24px; }
.item-body p { color: var(--muted); font-size: 14.5px; margin: 10px 0 18px; flex: 1; }
.item-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 18px; }
.item-price strong { font-family: var(--serif); font-size: 30px; font-weight: 600; }
.item-price span { color: var(--muted); font-size: 13px; }

/* The Arch — dark section */
.arch-section { background: var(--ink); color: var(--ivory); }
.arch-section .script { color: var(--blush); }
.arch-section .section-head p { color: rgba(251,248,243,.75); }
.arch-styles { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.arch-style { text-align: center; }
.arch-style figure { border-radius: 16px; overflow: hidden; aspect-ratio: 3 / 4; margin-bottom: 16px; }
.arch-style img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.arch-style:hover img { transform: scale(1.04); }
.arch-style .label { color: var(--blush); }

/* Kind words */
.kind-words .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.kw-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px 28px; }
.kw-stars { color: var(--blush); letter-spacing: 3px; margin-bottom: 14px; }
.kw-card blockquote { font-family: var(--serif); font-size: 19px; line-height: 1.5; }
.kw-card cite { display: block; margin-top: 16px; font-style: normal; font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* Gallery */
.gallery { background: var(--sand); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-grid figure { border-radius: 14px; overflow: hidden; aspect-ratio: 1; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-grid figure:hover img { transform: scale(1.05); }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; }
.step { text-align: center; padding: 0 12px; }
.step .num { font-family: var(--serif); font-size: 54px; color: var(--blush); line-height: 1; }
.step h3 { font-size: 24px; margin: 14px 0 10px; }
.step p { color: var(--muted); font-size: 15px; }

/* FAQ */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 22px 4px; font-family: var(--serif); font-size: 21px; font-weight: 500;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-family: var(--sans); font-size: 22px; color: var(--euc); flex-shrink: 0; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 4px 24px; color: var(--muted); max-width: 640px; }

/* Enquire */
.enquire { background: var(--sand); }
.enquire-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.enquire-info .script { text-align: left; }
.enquire-info h2 { font-size: clamp(32px, 5vw, 46px); }
.enquire-info > p { color: var(--muted); margin: 16px 0 28px; }
.urgency {
  display: inline-block; background: rgba(199,154,138,.16); color: #8a5b48;
  font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 10px 18px; border-radius: 999px; margin-bottom: 32px;
}
.contact-rows { display: grid; gap: 20px; }
.contact-row { display: flex; gap: 16px; align-items: flex-start; }
.contact-row .ico {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%;
  background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--euc);
}
.contact-row .ico svg { width: 20px; height: 20px; }
.contact-row h4 { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.contact-row p, .contact-row a { font-size: 15.5px; text-decoration: none; }
.contact-row a:hover { text-decoration: underline; }

.enquire-form {
  background: #fff; border-radius: 20px; padding: 36px;
  box-shadow: 0 2px 30px rgba(46,42,36,.08);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px;
  font-family: var(--sans); font-size: 15px; color: var(--ink); background: var(--ivory);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--euc); outline-offset: 0; border-color: transparent; }
.field textarea { min-height: 110px; resize: vertical; }
.date-note { display: block; margin-top: 7px; font-size: 12.5px; font-weight: 600; color: #8a5b48; }
.form-note { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 14px; }
.form-success {
  background: rgba(124,138,110,.12); border: 1px solid rgba(124,138,110,.4);
  color: var(--euc-deep); border-radius: 12px; padding: 18px 20px; font-size: 15px;
}
.form-error {
  background: rgba(199,154,138,.14); border: 1px solid rgba(199,154,138,.5);
  color: #8a4b38; border-radius: 12px; padding: 14px 18px; font-size: 14px; margin-bottom: 16px;
}
.hidden { display: none !important; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(251,248,243,.8); padding: 56px 0 40px; }
.site-footer .wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.site-footer .logo { color: var(--ivory); }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-nav a { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(251,248,243,.7); text-decoration: none; }
.footer-nav a:hover { color: #fff; }
.site-footer small { font-size: 13px; color: rgba(251,248,243,.55); line-height: 1.8; }

/* "Add to my day" selection */
.add-btn.added { background: var(--euc); color: #fff; border-color: var(--euc); }
.add-btn.added:hover { background: var(--euc-deep); border-color: var(--euc-deep); }

.selection-bar {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 18px; z-index: 55;
  background: var(--ink); color: var(--ivory); border-radius: 999px;
  padding: 12px 14px 12px 26px; display: flex; align-items: center; gap: 20px;
  box-shadow: 0 10px 34px rgba(0,0,0,.3); max-width: calc(100vw - 120px);
}
.sb-info { display: flex; align-items: baseline; gap: 12px; white-space: nowrap; }
.sb-script { font-family: var(--script); color: var(--blush); font-size: 21px; }
.sb-summary { font-size: 14px; font-weight: 600; }
.sb-actions { display: flex; align-items: center; gap: 14px; }
.sb-clear {
  background: none; border: none; color: rgba(251,248,243,.65); cursor: pointer;
  font-family: var(--sans); font-size: 12.5px; font-weight: 600; text-decoration: underline;
}
.sb-clear:hover { color: #fff; }
.selection-bar .sb-btn { padding: 11px 20px; font-size: 11.5px; }
body.has-selection .wa-float { bottom: 92px; }

.sel-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sel-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(124,138,110,.12); border: 1px solid rgba(124,138,110,.4);
  color: var(--euc-deep); border-radius: 999px; padding: 7px 8px 7px 14px;
  font-size: 13px; font-weight: 600;
}
.sel-chip button {
  background: none; border: none; cursor: pointer; color: var(--euc-deep);
  font-size: 17px; line-height: 1; padding: 0 4px;
}
.sel-chip button:hover { color: var(--ink); }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366;
  display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.25);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* Agreement page */
.agreement-page { padding: 56px 0 88px; }
.agreement-page .section-head { margin-bottom: 36px; }
.agreement-card { background: #fff; border-radius: 20px; padding: 36px; box-shadow: 0 2px 30px rgba(46,42,36,.08); max-width: 780px; margin: 0 auto; }
.agreement-terms {
  background: var(--ivory); border: 1px solid var(--line); border-radius: 12px;
  padding: 24px; max-height: 320px; overflow-y: auto; font-size: 14px;
  white-space: pre-wrap; margin: 24px 0; line-height: 1.75;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pick-items { display: grid; gap: 10px; margin-bottom: 18px; }
.pick-item {
  display: flex; align-items: center; gap: 12px; padding: 13px 16px;
  border: 1px solid var(--line); border-radius: 10px; cursor: pointer; background: var(--ivory);
  transition: border-color .15s;
}
.pick-item:has(input:checked) { border-color: var(--euc); background: rgba(124,138,110,.08); }
.pick-item input { width: 18px; height: 18px; accent-color: var(--euc); }
.pick-item .pi-name { flex: 1; font-size: 15px; }
.pick-item .pi-price { font-weight: 700; font-size: 14px; }
.totals {
  background: var(--sand); border-radius: 12px; padding: 18px 22px; margin-bottom: 22px;
  display: grid; gap: 6px;
}
.totals .t-row { display: flex; justify-content: space-between; font-size: 15px; }
.totals .t-row.big { font-size: 18px; font-weight: 700; border-top: 1px solid var(--line); padding-top: 8px; margin-top: 4px; }
.totals .t-row.dep { color: var(--euc-deep); font-weight: 700; }
.sig-pad-wrap { border: 1px dashed rgba(46,42,36,.35); border-radius: 12px; background: var(--ivory); position: relative; }
.sig-pad-wrap canvas { width: 100%; height: 160px; display: block; border-radius: 12px; touch-action: none; }
.sig-hint { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 14px; pointer-events: none; }
.sig-clear { background: none; border: none; color: var(--euc-deep); font-size: 13px; font-weight: 700; cursor: pointer; text-decoration: underline; margin-top: 8px; }
.agree-check { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0; font-size: 14.5px; cursor: pointer; }
.agree-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--euc); flex-shrink: 0; }

/* ------- Responsive ------- */
@media (max-width: 860px) {
  section { padding: 64px 0; }
  .enquire-grid { grid-template-columns: 1fr; gap: 40px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--ivory); border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 24px; gap: 20px;
  }
  .main-nav.open { display: flex; }
  .hero { min-height: 78vh; }
  .hero .wrap { padding-top: 96px; padding-bottom: 72px; }
  .hero-ctas .btn { width: 100%; max-width: 320px; }
  .enquire-form { padding: 26px 20px; }
  .agreement-card { padding: 26px 20px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .selection-bar {
    left: 12px; right: 12px; transform: none; bottom: 12px; max-width: none;
    border-radius: 18px; flex-wrap: wrap; gap: 10px; padding: 14px 18px;
    justify-content: space-between;
  }
  .sb-script { font-size: 19px; }
  body.has-selection .wa-float { bottom: 118px; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .wrap { padding: 0 18px; }
}
