/* =====================================================================
   Nombrespa - main stylesheet
   Sections:
    1. Colours and base settings
    2. Header and navigation
    3. Home page hero
    4. Page intro headings and buttons
    5. Service cards
    6. "Why choose us" cards and image band
    7. Contact cards and quote strip
    8. Contact page: dark card, details and FAQ
    9. Footer
   10. Booking popup and form
   11. Mobile call / WhatsApp bar
   12. Tablet and phone adjustments
   ===================================================================== */


/* ---------- 1. Colours and base settings ---------- */
:root {
  --ink: #1c2d27;
  --green: #294b3e;
  --gold: #ba8b47;
  --cream: #f8f6f1;
  --line: #d8d7ce;
  --muted: #6b7870;
  --pink: #e4097f;
  --pink-soft: #ed5daa;
  --footer-bg: #1b3029;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.5;
}

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

button,
input,
select {
  font: inherit;
}

img {
  max-width: 100%;
}

/* Keyboard users see a clear outline on whatever has focus */
:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}

/* "Skip to content" link, only visible when tabbed to */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 20;
  background: var(--green);
  color: #fff;
  padding: 10px 16px;
  font-size: 13px;
}

.skip-link:focus {
  top: 12px;
}

/* Small coloured text above headings */
.eyebrow {
  margin: 0 0 10px;
  color: #da0677;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Lighter version used on dark green and photo backgrounds */
.eyebrow.light {
  color: #f7a8d3;
}


/* ---------- 2. Header and navigation ---------- */
.site-header {
  position: relative;
  z-index: 5;
  background: var(--cream);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  margin: auto;
  padding: 10px 34px;
}

.brand-logo {
  display: block;
  width: 120px;
  height: 100px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 29px;
  margin-left: auto;
  margin-right: 35px;
}

.main-nav a {
  color: #63716b;
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--gold);
}

/* Pink "Book an appointment" buttons (header and hero) */
.nav-book,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  cursor: pointer;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: 0.25s;
}

.nav-book {
  background: var(--pink);
  color: #fff;
  font-size: 10px;
  padding: 13px 17px;
}

.nav-book:hover,
.button:hover {
  transform: translateY(-2px);
}

/* The phone-only copies stay hidden on desktop */
.mobile-book,
.menu-toggle {
  display: none;
}


/* ---------- 3. Home page hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 680px;
  overflow: hidden;
  color: #fff;
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark gradient on the left so the text is easy to read */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 42, 34, 0.78), rgba(18, 42, 34, 0.16));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: 90px 34px 90px 10%;
}

.hero h1 {
  margin: 14px 0 18px;
  font: 400 clamp(40px, 5.6vw, 80px)/1 'Playfair Display', serif;
}

.hero h1 em,
.page-title em {
  color: var(--pink-soft);
  font-style: italic;
}

.hero-tagline {
  margin: 0 0 12px;
  font: italic 400 clamp(20px, 2.4vw, 28px)/1.3 'Playfair Display', serif;
}

.hero-text {
  max-width: 360px;
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.7;
}


/* ---------- 4. Page intro headings and buttons ---------- */
.page-intro {
  max-width: 1240px;
  margin: 0 auto;
  padding: 70px 34px 5px;
}

.page-title {
  margin: 18px 0 25px;
  font: 400 clamp(40px, 6vw, 78px)/0.98 'Playfair Display', serif;
}

.intro-copy {
  max-width: 760px;
  margin: 0;
  color: #65736c;
  font-size: 15px;
  line-height: 1.8;
}

.button {
  font-size: 10px;
  padding: 16px 23px;
}

.button-light {
  background: var(--pink);
  color: #fff;
}

.button-dark {
  background: var(--green);
  color: #fff;
}

/* Plain text link with an arrow, used to move between pages */
.section-link {
  display: inline-block;
  margin-top: 28px;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
}

.section-link:hover {
  color: var(--gold);
}

/* Plain underlined link inside a paragraph */
.text-link {
  color: var(--pink);
  text-decoration: underline;
}

/* Last text block on a page: extra space before the footer */
.page-intro.closing {
  padding-bottom: 90px;
}

.section {
  max-width: 1240px;
  margin: auto;
  padding: 50px 34px 90px;
}


/* ---------- 5. Service cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e0e1d9;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  scroll-margin-top: 20px;
}

.service-card img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.service-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px;
}

.service-title {
  margin: 0 0 14px;
  font: 400 26px/1.1 'Playfair Display', serif;
}

.desc {
  margin: 0 0 24px;
  color: var(--muted);
  font: 14px/1.7 Arial, sans-serif;
}

/* Pink button at the bottom of each card (button or link) */
.book-now {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
  padding: 16px 24px;
  border: 0;
  background: var(--pink);
  color: #fff;
  cursor: pointer;
  font: 600 16px Arial, sans-serif;
}

.arrow {
  font-size: 16px;
}


/* ---------- 6. "Why choose us" cards and image band ---------- */
.why-choose {
  padding: 40px 24px 70px;
  text-align: center;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.why-card {
  padding: 40px 28px;
  background: #fff;
  border: 1px solid #e0e1d9;
  border-radius: 1px;
  box-shadow: 0 50px 180px rgba(0, 0, 0, 0.06);
}

.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  margin: 0 auto 24px;
  background: #f6efe0;
  border-radius: 14px;
  font-size: 28px;
}

.why-title {
  margin: 0 0 14px;
  font: 400 24px/1.1 'Playfair Display', serif;
}

.why-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* Green band with text on one side and a photo on the other */
.values-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--green);
  color: #fff;
}

.values-band > div {
  padding: 75px 15%;
}

.values-band h2 {
  margin: 14px 0 0;
  font: 400 clamp(36px, 4vw, 58px)/1.05 'Playfair Display', serif;
}

.values-band h2 em {
  color: var(--pink-soft);
}

.values-band img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ---------- 7. Contact cards and quote strip ---------- */
.appointment-section {
  padding: 70px 24px 90px;
  background: #faf6ec;
}

.appointment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1300px;
  margin: 0 auto;
}

.appt-card {
  padding: 40px 24px 36px;
  background: #fff;
  border: 1px solid #e0e1d9;
  border-radius: 2px;
  text-align: center;
}

.icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  background: #efe9d8;
  border-radius: 10%;
  font-size: 28px;
}

.mini-divider {
  display: block;
  width: 36px;
  height: 2px;
  margin: 0 auto 18px;
  background: #1f3329;
}

.appt-title {
  margin: 0 0 8px;
  color: #1f3329;
  font: 400 24px/1.1 'Playfair Display', serif;
}

.contact-value {
  margin: 0 0 12px;
  color: #333;
  font: 15px Arial, sans-serif;
  overflow-wrap: anywhere;
}

.contact-desc {
  margin: 0 0 28px;
  color: var(--muted);
  font: 14px/1.7 Arial, sans-serif;
}

.appt-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  background: var(--pink);
  border: 1.5px solid #c9a34e;
  border-radius: 2px;
  color: #fff;
  font: 600 15px Arial, sans-serif;
}

/* Pink strip with a quote and the call / WhatsApp / directions pill */
.quote-section {
  padding: 105px 20px;
  background: var(--pink);
  color: #fff;
  text-align: center;
}

.quote-section blockquote {
  max-width: 700px;
  margin: 23px auto;
  font: clamp(30px, 4vw, 52px)/1.2 'Playfair Display', serif;
}

.float-action-bar {
  display: inline-flex;
  align-items: center;
  padding: 8px;
  background: #efe9d8;
  border: 1px solid #4a3f36;
  border-radius: 50px;
}

.fab-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-right: 10px;
  border: 1px solid #6b5c4d;
  border-radius: 50%;
  font-size: 18px;
}

.fab-pill {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 6px 6px 6px 24px;
  border: 1px solid #6b5c4d;
  border-radius: 50px;
  color: var(--green);
  font: 700 16px Arial, sans-serif;
}

.fab-arrow {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--pink);
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
}


/* ---------- 8. Contact page: dark card, details and FAQ ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 90px;
}

.dark-card {
  padding: 65px;
  background: var(--green);
  color: #fff;
}

.dark-card h2 {
  margin: 14px 0 18px;
  font: 400 clamp(34px, 4vw, 52px)/1.05 'Playfair Display', serif;
}

.dark-card h2 em {
  color: var(--pink-soft);
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 35px;
  padding-left: 10%;
}

.contact-info h2 {
  margin: 0 0 6px;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-info a {
  display: block;
  margin: 8px 0;
  font: 25px 'Playfair Display', serif;
}

.contact-info p {
  margin: 0;
}

.contact-info address {
  font-style: normal;
  line-height: 1.7;
}

/* Questions and answers that open and close */
.faq-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 10px 34px 90px;
}

.faq-section details {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.faq-section details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-section summary {
  cursor: pointer;
  font: 400 22px/1.3 'Playfair Display', serif;
}

.faq-section details p {
  max-width: 640px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.faq-section details a {
  color: var(--pink);
  text-decoration: underline;
}


/* ---------- 9. Footer ---------- */
.footer {
  padding: 75px 34px 25px;
  background: var(--footer-bg);
  color: #e0e8df;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 45px;
  max-width: 1170px;
  margin: auto;
}

.footer-grid a {
  display: block;
  margin: 12px 0;
  color: #bdd0c1;
  font-size: 12px;
}

.footer-grid p,
.footer-grid address {
  font-size: 13px;
  line-height: 1.7;
}

.footer-grid address {
  font-style: normal;
}

.footer-label {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  max-width: 1170px;
  margin: 60px auto 0;
  padding-top: 20px;
  border-top: 1px solid #3a5146;
  color: #9db3a4;
  font-size: 13px;
}


/* ---------- 10. Booking popup and form ---------- */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
}

.modal.show {
  display: flex;
}

.modal-box {
  position: relative;
  width: 100%;
  max-width: 540px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 45px;
  background: var(--cream);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 26px;
}

.modal-box h2 {
  margin: 8px 0 20px;
  font: 400 43px/1.1 'Playfair Display', serif;
}

.modal-box label {
  display: block;
  margin: 14px 0 0;
  color: #5f6d65;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.modal-box input,
.modal-box select {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 12px;
  background: #fff;
  border: 1px solid #d9ddd4;
  color: var(--ink);
  font-size: 16px; /* 16px stops phones zooming in when a field is tapped */
}

.modal-box input[aria-invalid="true"],
.modal-box select[aria-invalid="true"] {
  border-color: #c0262d;
}

/* Red message under a field that has a mistake */
.field-error {
  min-height: 18px;
  margin: 4px 0 0;
  color: #c0262d;
  font-size: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-submit {
  width: 100%;
  margin-top: 14px;
}


/* ---------- 11. Mobile call / WhatsApp bar (phones only) ---------- */
.mobile-bar {
  display: none;
}


/* ---------- 12. Tablet and phone adjustments ---------- */
@media (max-width: 1000px) {
  .appointment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .services-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 800px) {
  /* Header: smaller logo and a slide-down menu */
  .nav-wrap {
    padding: 9px 20px;
  }

  .brand-logo {
    width: 72px;
    height: 66px;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 12px 20px 20px;
    background: var(--cream);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
  }

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

  .main-nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
  }

  .main-nav .mobile-book {
    margin-top: 16px;
    padding: 16px;
  }

  .desktop-book {
    display: none;
  }

  .mobile-book,
  .menu-toggle {
    display: flex;
  }

  .menu-toggle {
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: none;
    border: 0;
    color: var(--green);
    font-size: 28px;
    cursor: pointer;
  }

  /* Hero */
  .hero {
    min-height: 560px;
  }

  .hero-content {
    padding: 60px 22px;
  }

  /* Page sections */
  .page-intro {
    padding: 50px 22px 0;
  }

  .section {
    padding: 35px 22px 70px;
  }

  .page-intro.closing {
    padding-bottom: 60px;
  }

  .values-band,
  .contact-grid {
    display: block;
  }

  .values-band > div {
    padding: 55px 22px;
  }

  .values-band img {
    height: 320px;
  }

  .dark-card {
    padding: 42px 26px;
  }

  .contact-info {
    padding: 45px 0 0;
  }

  .contact-grid {
    padding-top: 60px;
  }

  .quote-section {
    padding: 70px 20px;
  }

  .faq-section {
    padding: 0 22px 70px;
  }

  /* Footer */
  .footer {
    padding: 60px 22px 20px;
  }

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

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }

  /* Booking popup */
  .modal-box {
    padding: 35px 22px;
  }

  .modal-box h2 {
    font-size: 34px;
  }

  /* Fixed bar at the bottom of the screen with call, WhatsApp and book */
  .mobile-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 8;
    display: flex;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.08);
  }

  .mobile-bar a,
  .mobile-bar button {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    background: none;
    border: 0;
    color: var(--green);
    cursor: pointer;
    font: 700 12px Arial, sans-serif;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .mobile-bar button {
    background: var(--pink);
    color: #fff;
  }

  /* Leave room so the fixed bar never covers the footer text */
  body {
    padding-bottom: 52px;
  }
}

@media (max-width: 640px) {
  .services-grid,
  .why-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-card img {
    height: 230px;
  }

  .why-choose {
    padding: 30px 22px 55px;
  }

  .float-action-bar {
    max-width: 100%;
  }

  .fab-pill {
    gap: 10px;
    padding-left: 16px;
    font-size: 14px;
  }
}

@media (max-width: 560px) {
  .appointment-grid {
    grid-template-columns: 1fr;
  }

  .appointment-section {
    padding: 50px 20px 60px;
  }

  .contact-info a {
    font-size: 22px;
  }
}

@media (max-width: 430px) {
  .form-row {
    grid-template-columns: 1fr;
  }

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

/* Respect phone settings for people who prefer less movement */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .nav-book,
  .button {
    transition: none;
  }
}
