/* ============================================================
   THE DUBLIN CATERING COMPANY — Shared Stylesheet
   styles.css — used by every page on the site
   ============================================================ */

/* ============================================================
   1. ROOT VARIABLES
   ============================================================ */
:root {
  /* Colours */
  --color-primary:       #3B3D1E;
  --color-primary-dark:  #2A2C12;
  --color-primary-light: #ECEEE0;
  --color-accent:        #BA8B68;
  --color-white:         #FFFFFF;
  --color-off-white:     #F5F0E8;
  --color-light-grey:    #EBE5D8;
  --color-border:        #C8CDBB;
  --color-text-dark:     #1C1E10;
  --color-text-mid:      #4A5030;

  /* Font families */
  --font-body:    'Inter', sans-serif;
  --font-heading: 'Playfair Display', serif;

  /* Spacing scale */
  --space-xs:   4px;
  --space-sm:   8px;
  --space-md:   16px;
  --space-lg:   24px;
  --space-xl:   48px;
  --space-xxl:  96px;

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.07);
  --shadow-md: 0 2px 16px rgba(0, 0, 0, 0.09);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.13);

  /* Transition */
  --transition: 0.2s ease;
}


/* ============================================================
   2. CSS RESET
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-dark);
  background-color: var(--color-off-white);
}


/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.2;
  color: var(--color-text-dark);
}

h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  line-height: 1.3;
  color: var(--color-text-dark);
}

h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--color-text-dark);
}

p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-mid);
}

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

.section-intro {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  color: var(--color-text-mid);
}


/* ============================================================
   4. LAYOUT
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-white {
  background: #FDFAF7;
}

.section-grey {
  background: var(--color-light-grey);
}

.section-green {
  background: var(--color-primary);
}

.section-green *,
.section-green h1,
.section-green h2,
.section-green h3,
.section-green p,
.section-green a {
  color: #FFFFFF;
}

/* Grid — 2 columns */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

/* Grid — 3 columns */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* Grid — 4 columns */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Layout responsive breakpoints */
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .section {
    padding: 48px 0;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   5. STICKY HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #FFFFFF;
  box-shadow: 0 1px 0 var(--color-border);
  height: 72px;
}

.site-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  gap: 16px;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--color-primary);
  text-decoration: none;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.nav-phone {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--color-text-mid);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}

.nav-phone-item {
  border-left: 1px solid var(--color-border);
  padding-left: 20px;
  margin-left: 4px;
}

.nav-phone:hover {
  color: var(--color-primary);
}

nav a {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text-dark);
  transition: color 0.2s;
  text-decoration: none;
}

nav a:hover {
  color: var(--color-primary);
}

.btn-quote-nav {
  background: var(--color-primary);
  color: #FFFFFF;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  border: none;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-block;
  text-align: center;
  text-decoration: none;
  line-height: 1.4;
}

.btn-quote-nav:hover {
  background: var(--color-accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(173, 115, 78, 0.35);
}

/* ── Hamburger checkbox technique ── */
#nav-toggle {
  display: none;
}

.hamburger-label {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger-label span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-dark);
  transition: all 0.3s ease;
}

/* X animation when checked */
#nav-toggle:checked + .hamburger-label span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

#nav-toggle:checked + .hamburger-label span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

#nav-toggle:checked + .hamburger-label span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav revealed when checkbox checked */
#nav-toggle:checked ~ nav {
  display: block;
}

/* ── Mobile styles ── */
@media (max-width: 767px) {
  .site-header {
    height: 64px;
    position: relative; /* allows absolute nav to sit below */
  }

  .nav-phone {
    display: none;
  }

  .nav-phone-item {
    display: none;
  }

  .hamburger-label {
    display: flex;
  }

  nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #FFFFFF;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 0;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

  nav ul li {
    border: none;
  }

  nav a {
    display: block;
    padding: 16px 24px;
    border-bottom: 1px solid var(--color-border);
    font-size: 1.1rem;
  }

  .btn-quote-nav {
    margin: 12px 24px 16px;
    display: block;
    text-align: center;
  }
}

/* ── Desktop: ensure nav is visible even if checkbox was toggled ── */
@media (min-width: 768px) {
  nav {
    display: block !important;
    position: static;
    box-shadow: none;
  }

  nav ul {
    flex-direction: row;
    gap: 32px;
  }

  nav a {
    padding: 0;
    border-bottom: none;
    font-size: 0.95rem;
  }

  .hamburger-label {
    display: none;
  }
}


/* ============================================================
   6. HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 8, 2, 0.55);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
}

.hero-content h1 {
  color: #FFFFFF;
  margin-bottom: 24px;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.2rem;
  margin-bottom: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-stat {
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border-radius: 20px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}


/* ============================================================
   7. TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--color-primary);
  padding: 20px 0;
}

.trust-bar-inner {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #FFFFFF;
}

.trust-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.trust-item span {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
}


/* ============================================================
   8. BUTTONS
   ============================================================ */
.btn-primary {
  background: var(--color-primary);
  color: #FFFFFF;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: none;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(173, 115, 78, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--color-primary);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  line-height: 1.4;
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: #FFFFFF;
}

.btn-white {
  background: #FFFFFF;
  color: var(--color-primary);
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: 2px solid #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  line-height: 1.4;
}

.btn-white:hover {
  background: transparent;
  color: #FFFFFF;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}

.btn-full {
  width: 100%;
  text-align: center;
  display: block;
}

/* Accessibility focus styles for all interactive elements */
a:focus-visible,
button:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-white:focus-visible,
.btn-quote-nav:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}


/* ============================================================
   9. SERVICE CARDS
   ============================================================ */
.card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  padding: 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.card-icon {
  width: 52px;
  height: 52px;
  background: var(--color-off-white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
}

.card h3 {
  margin-bottom: 12px;
  color: var(--color-text-dark);
  font-size: 1.1rem;
}

.card p {
  color: var(--color-text-mid);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex: 1;
}

.card-link {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  transition: gap 0.2s ease;
  text-decoration: none;
}

.card-link:hover {
  gap: 8px;
}


/* ============================================================
   10. TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 32px;
  border-left: 4px solid var(--color-primary);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

.testimonial-quote {
  color: var(--color-text-mid);
  font-size: 1rem;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 20px;
  flex: 1;
}

.testimonial-quote::before {
  content: open-quote;
  font-size: 3rem;
  color: var(--color-off-white);
  line-height: 0;
  vertical-align: -0.5em;
  margin-right: 4px;
  font-family: 'Playfair Display', serif;
}

.testimonial-author {
  font-weight: 700;
  color: var(--color-text-dark);
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.testimonial-role {
  color: #777777;
  font-size: 0.82rem;
}


/* ============================================================
   11. AREA BADGES
   ============================================================ */
.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.area-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 500;
  background: #FFFFFF;
  transition: all 0.2s;
  text-decoration: none;
}

.area-badge:hover {
  background: var(--color-primary);
  color: #FFFFFF;
}


/* ============================================================
   12. DIETARY BADGES
   ============================================================ */
.badge-v {
  background: var(--color-off-white);
  color: var(--color-primary);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-block;
  vertical-align: middle;
  margin-left: 4px;
}

.badge-ve {
  background: var(--color-primary);
  color: #FFFFFF;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-block;
  vertical-align: middle;
  margin-left: 4px;
}

.badge-gf {
  background: #FFF3CD;
  color: #856404;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-block;
  vertical-align: middle;
  margin-left: 4px;
}


/* ============================================================
   13. MENU PRICING TABLES
   ============================================================ */
.menu-section {
  margin-bottom: 64px;
}

.menu-subsection {
  margin-bottom: 40px;
}

.menu-subsection h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 2px solid var(--color-off-white);
  padding-bottom: 8px;
  margin-bottom: 0;
}

.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}

thead th {
  background: var(--color-primary);
  color: #FFFFFF;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

tbody tr:nth-child(even) {
  background: var(--color-off-white);
}

tbody tr:hover {
  background: var(--color-off-white);
  transition: background 0.15s;
}

tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-dark);
  vertical-align: middle;
  line-height: 1.5;
}

td.price {
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
  text-align: right;
}

td.serves {
  color: #777777;
  font-size: 0.85rem;
  white-space: nowrap;
}


/* ============================================================
   14. PACKAGE CARDS
   ============================================================ */
.package-card {
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.package-card:hover {
  transform: translateY(-4px);
}

.package-header {
  background: var(--color-primary);
  color: #FFFFFF;
  padding: 24px 28px;
}

.package-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.package-subtitle {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  margin-bottom: 0;
}

.package-body {
  padding: 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.package-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
  line-height: 1;
}

.package-price-note {
  font-size: 0.85rem;
  color: #777777;
  margin-bottom: 20px;
}

.package-includes {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
}

.package-includes li {
  padding: 7px 0;
  color: var(--color-text-mid);
  font-size: 0.9rem;
  display: flex;
  gap: 10px;
  border-bottom: 1px solid #F0F0F0;
}

.package-includes li:last-child {
  border-bottom: none;
}

.package-includes li::before {
  content: "✓";
  color: var(--color-primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.package-card .btn-primary {
  margin-top: auto;
  width: 100%;
  text-align: center;
}


/* ============================================================
   15. ANCHOR NAVIGATION
   ============================================================ */
.anchor-nav {
  background: #FFFFFF;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 72px;
  z-index: 100;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.anchor-nav-inner {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.anchor-nav a {
  display: inline-block;
  padding: 14px 20px;
  color: var(--color-text-mid);
  font-weight: 500;
  font-size: 0.9rem;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
  text-decoration: none;
}

.anchor-nav a:hover {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.anchor-nav a.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
  font-weight: 600;
}


/* ============================================================
   16. CTA BANNER SECTION
   ============================================================ */
.cta-banner {
  background: var(--color-primary);
  padding: 80px 0;
}

.cta-banner-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
}

.cta-banner h2 {
  color: #FFFFFF;
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.cta-urgent {
  display: block;
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border-radius: 20px;
  padding: 7px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}


/* ============================================================
   17. INLINE CTA
   ============================================================ */
.inline-cta {
  background: var(--color-light-grey);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  border-left: 4px solid var(--color-primary);
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.inline-cta p {
  font-weight: 600;
  color: var(--color-text-dark);
  margin: 0;
  font-size: 0.95rem;
}

.inline-cta .btn-primary {
  flex-shrink: 0;
  padding: 10px 22px;
  font-size: 0.9rem;
}


/* ============================================================
   18. SERVICE LAYOUT
   ============================================================ */
.service-layout {
  display: grid;
  grid-template-columns: 55% 40%;
  gap: 48px;
  align-items: start;
}

.service-layout.reverse {
  grid-template-columns: 40% 55%;
}

.service-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  width: 100%;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 3;
}

@media (max-width: 767px) {
  .service-layout,
  .service-layout.reverse {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   19. FAQ ACCORDION
   ============================================================ */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  line-height: 1.4;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.faq-answer.open {
  max-height: 400px;
}

.faq-answer-inner {
  padding-bottom: 20px;
  color: var(--color-text-mid);
  line-height: 1.7;
  font-size: 0.97rem;
}


/* ============================================================
   20. CONTACT PAGE
   ============================================================ */

/* Contact method cards — top row */
.contact-pills,
.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.contact-method {
  background: #FFFFFF;
  border: 1.5px solid var(--color-primary);
  border-radius: 12px;
  padding: 20px 24px;
  text-align: center;
  text-decoration: none;
  color: var(--color-text-dark);
  transition: all 0.2s;
}

.contact-method:hover {
  background: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
}

.contact-method:hover * {
  color: #FFFFFF;
}

.contact-method-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.contact-method-label {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: var(--color-text-dark);
}

.contact-method-value {
  font-size: 0.9rem;
  color: var(--color-text-mid);
}

/* Contact main grid */
.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 64px;
  align-items: start;
}

.contact-details-card {
  background: var(--color-off-white);
  border-radius: 12px;
  padding: 32px;
}

.contact-detail-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contact-detail-row:last-child {
  margin-bottom: 0;
}

.contact-detail-icon {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
  width: 20px;
  height: 20px;
}

.contact-detail-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #999999;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}

.contact-detail-value {
  color: var(--color-text-dark);
  font-weight: 500;
  font-size: 0.95rem;
}

/* Form styles */
.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--color-text-dark);
  margin-bottom: 7px;
}

.required {
  color: #C0392B;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid #CCCCCC;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--color-text-dark);
  transition: border-color 0.2s;
  background: #FFFFFF;
  -webkit-appearance: none;
  appearance: none;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(69, 29, 7, 0.12);
}

input.error,
select.error,
textarea.error {
  border-color: #C0392B;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

.field-error {
  color: #C0392B;
  font-size: 0.8rem;
  margin-top: 5px;
  display: none;
}

.field-error.visible {
  display: block;
}

.form-note {
  font-size: 0.82rem;
  color: #888888;
  margin-top: 5px;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-guarantee {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--color-text-mid);
  margin-top: 14px;
  line-height: 1.5;
}

.form-guarantee svg {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 1px;
  width: 16px;
  height: 16px;
}

/* Reassurance bar */
.reassurance-bar {
  background: var(--color-primary);
  padding: 20px 0;
}

.reassurance-bar-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.reassurance-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #FFFFFF;
  justify-content: center;
}

.reassurance-item span {
  font-weight: 600;
  font-size: 0.9rem;
}

/* Contact page responsive */
@media (max-width: 767px) {
  .contact-methods {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .reassurance-bar-inner {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   21. GALLERY PAGE
   ============================================================ */
.gallery-section {
  margin-bottom: 64px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 1024px) and (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.gallery-item:hover .gallery-overlay {
  background: rgba(0, 0, 0, 0.62);
}

.gallery-item figcaption {
  color: #FFFFFF;
  font-size: 0.82rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-weight: 500;
  line-height: 1.4;
}

.gallery-item:hover figcaption {
  opacity: 1;
}

/* ── Lightbox ── */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  flex-direction: column;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  display: block;
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  margin-top: 14px;
  font-size: 0.9rem;
  max-width: 600px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  padding: 8px;
  z-index: 2001;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #FFFFFF;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
  line-height: 1;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
  outline: 3px solid #FFFFFF;
  outline-offset: 2px;
}


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-text-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  color: #FFFFFF;
  display: inline-block;
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  transition: color 0.2s;
  text-decoration: none;
}

.footer-col ul li a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 767px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}


/* ============================================================
   UTILITY — Visually hidden (screen-reader only)
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ============================================================
   UTILITY — Text helpers
   ============================================================ */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.text-green  { color: var(--color-primary); }
.text-white  { color: #FFFFFF; }
.text-muted  { color: #777777; }

.mt-sm  { margin-top: var(--space-sm); }
.mt-md  { margin-top: var(--space-md); }
.mt-lg  { margin-top: var(--space-lg); }
.mt-xl  { margin-top: var(--space-xl); }
.mb-sm  { margin-bottom: var(--space-sm); }
.mb-md  { margin-bottom: var(--space-md); }
.mb-lg  { margin-bottom: var(--space-lg); }
.mb-xl  { margin-bottom: var(--space-xl); }


/* ============================================================
   UTILITY — Section heading block (centred)
   ============================================================ */
.section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.section-heading h2 {
  margin-bottom: 16px;
}

.section-heading .section-intro {
  margin-top: 0;
}

.section-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}


/* ============================================================
   PACKAGES GRID (flex-based for centred last row)
   ============================================================ */
.packages-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.packages-grid .package-card {
  flex: 0 0 calc(33.333% - 22px);
}

@media (max-width: 1024px) {
  .packages-grid .package-card {
    flex: 0 0 calc(50% - 16px);
  }
}

@media (max-width: 767px) {
  .packages-grid .package-card {
    flex: 0 0 100%;
  }
}


/* ============================================================
   DOWNLOAD SECTION
   ============================================================ */
.download-section {
  background: var(--color-primary);
  padding: 80px 0;
  text-align: center;
}

.download-section .container {
  max-width: 640px;
}

.download-section h2 {
  color: #FFFFFF;
  margin-bottom: 16px;
}

.download-section p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 28px;
}


/* ============================================================
   BREADCRUMB NAV
   ============================================================ */
.breadcrumb {
  background: var(--color-light-grey);
  border-bottom: 1px solid var(--color-border);
  padding: 12px 0;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  gap: 0;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #777777;
}

.breadcrumb ol li {
  display: flex;
  align-items: center;
}

.breadcrumb ol li + li::before {
  content: "›";
  margin: 0 8px;
  color: #CCCCCC;
}

.breadcrumb ol li a {
  color: var(--color-primary);
  text-decoration: none;
  transition: text-decoration 0.2s;
}

.breadcrumb ol li a:hover {
  text-decoration: underline;
}


/* ============================================================
   PAGE INTRO BLOCK (services, menus, etc.)
   ============================================================ */
.page-intro {
  padding: 56px 0 48px;
  text-align: center;
  background: var(--color-light-grey);
}

.page-intro h1 {
  margin-bottom: 20px;
}


/* ============================================================
   SERVICE TEXT CONTENT (inside .service-layout)
   ============================================================ */
.service-text h2 {
  margin-bottom: 20px;
}

.service-text p {
  margin-bottom: 16px;
}

.service-text p:last-of-type {
  margin-bottom: 0;
}

.service-text ul {
  list-style: none;
  margin: 20px 0 28px;
}

.service-text ul li {
  padding: 6px 0;
  color: var(--color-text-mid);
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.service-text ul li::before {
  content: "✓";
  color: var(--color-primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}


/* ============================================================
   FEATURE BLOCKS (Why Choose Us section)
   ============================================================ */
.feature-block {
  text-align: center;
  padding: 8px;
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--color-off-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.feature-icon svg {
  color: var(--color-primary);
}

.feature-block h3 {
  margin-bottom: 14px;
}


/* ============================================================
   FOOTER CONTACT ITEMS
   ============================================================ */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-contact-item:last-of-type {
  margin-bottom: 0;
}

.footer-contact-item svg {
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
  text-decoration: none;
}

.footer-contact-item a:hover {
  color: #FFFFFF;
}

/* Footer tagline */
.footer-tagline {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

/* Footer social icons */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.2s;
  text-decoration: none;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}

/* Footer WhatsApp link button */
.footer-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  margin-top: 14px;
  transition: background 0.2s;
  text-decoration: none;
}

.footer-whatsapp-link:hover {
  background: #128C7E;
  color: #FFFFFF;
}


/* ============================================================
   FLOATING WHATSAPP BUTTON
   ============================================================ */
.whatsapp-btn {
  position: fixed;
  bottom: 88px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
  z-index: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
}


/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 156px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  color: #FFFFFF;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-primary-dark);
}


/* ============================================================
   MOBILE CTA BAR
   ============================================================ */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 950;
  background: #FFFFFF;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.1);
  height: 56px;
}

.mobile-cta-call,
.mobile-cta-quote {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s;
}

.mobile-cta-call {
  background: #FFFFFF;
  color: var(--color-primary);
  border-right: 1px solid var(--color-border);
}

.mobile-cta-call:hover {
  background: var(--color-light-grey);
}

.mobile-cta-quote {
  background: var(--color-primary);
  color: #FFFFFF;
}

.mobile-cta-quote:hover {
  background: var(--color-primary-dark);
}

@media (max-width: 767px) {
  .mobile-cta-bar {
    display: flex;
  }

  body {
    padding-bottom: 56px;
  }

  .whatsapp-btn {
    bottom: calc(56px + 16px);
  }

  .back-to-top {
    bottom: calc(56px + 80px + 12px);
  }
}


/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  .site-header,
  .anchor-nav,
  .cta-banner,
  .trust-bar,
  .hamburger-label,
  .lightbox-overlay {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000000;
  }

  a {
    color: #000000;
    text-decoration: underline;
  }

  .section {
    padding: 24pt 0;
  }
}
