/* Camila Carmen Interiors */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #FBFAF7; color: #1E1D1B; font-family: 'EB Garamond', Georgia, serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.7; }
a:focus-visible, button:focus-visible { outline: 2px solid #6A2A13; outline-offset: 3px; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 24px; }

/* Header */
.site-header { padding: 30px 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; font-family: 'Libre Caslon Text', serif; font-size: 12px; letter-spacing: 0.32em; border-bottom: 1px solid #DDD8CE; }
.site-header nav { flex: 1 1 260px; display: flex; flex-wrap: wrap; gap: 40px; }
.site-header .nav-right { justify-content: flex-end; }
.site-header nav a { padding: 10px 0; }
.site-header a[aria-current="page"] { border-bottom: 1px solid currentColor; }
.site-header .logo { flex: 0 0 auto; font-family: 'Libre Caslon Display', serif; font-size: 34px; letter-spacing: 0.16em; }
.site-header.on-image { position: relative; color: #FFFFFF; border-bottom: 0; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25); }

/* Footer */
.site-footer { padding: 48px 40px 40px; display: flex; flex-direction: column; gap: 28px; font-family: 'Libre Caslon Text', serif; font-size: 11px; letter-spacing: 0.28em; border-top: 1px solid #DDD8CE; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.footer-logo { font-family: 'Libre Caslon Display', serif; font-size: 18px; letter-spacing: 0.16em; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.site-footer nav a { padding: 8px 0; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid #DDD8CE; padding-top: 24px; font-size: 10px; color: #4A463F; }

/* Enquiry form */
.field { width: 100%; border: 0; border-bottom: 1px solid #8A8478; background: transparent; padding: 12px 0; font-family: 'EB Garamond', Georgia, serif; font-size: 19px; color: #1E1D1B; border-radius: 0; }
.field:focus { outline: none; border-bottom-color: #1E1D1B; }
.field::placeholder { color: #6E695F; }
textarea.field { border: 1px solid #8A8478; padding: 14px 16px; resize: vertical; min-height: 160px; }
textarea.field:focus { border-color: #1E1D1B; }
.chip { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid #B5AFA3; font-size: 17px; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.chip:has(input:checked) { background: #1E1D1B; border-color: #1E1D1B; color: #FBFAF7; }
.chip:has(input:focus-visible) { outline: 2px solid #6A2A13; outline-offset: 2px; }
button[type="submit"]:hover { background: #4E1E0D !important; }
button[type="submit"]:disabled { opacity: 0.6; cursor: wait; }
.form-error { flex: 1 1 100%; margin: 0; font-size: 17px; line-height: 1.5; color: #8A1F12; }
.form-error a { text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
#enquiry-sent:focus { outline: none; }

/* Phones and small tablets */
@media (max-width: 900px) {
  .site-header { padding: 18px 16px 14px; justify-content: center; gap: 4px 24px; }
  .site-header .logo { order: -1; flex: 1 1 100%; text-align: center; font-size: 24px; letter-spacing: 0.14em; padding: 4px 0 6px; }
  .site-header nav, .site-header .nav-right { flex: 0 1 auto; justify-content: center; gap: 0 22px; font-size: 11px; letter-spacing: 0.22em; }
  .site-footer { padding: 40px 16px 32px; }
  .footer-top, .footer-base { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .chip { font-size: 16px; padding: 0 14px; }
}
