/* ========================================
   CSS RESET (minimal)
   ======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ========================================
   ACCESSIBILITY: Skip to content link
   Hidden visually, visible on focus
   ======================================== */
.skip-to-content {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-to-content:focus {
  position: fixed;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  overflow: visible;
  background: #115E32;
  color: #ffffff;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  z-index: 99999;
  text-decoration: none;
  border-radius: 0 0 6px 0;
}

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--body-weight);
  line-height: var(--body-line-height);
  letter-spacing: var(--body-letter-spacing);
  color: var(--color-text);
  background-color: var(--color-bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.drawer-open {
  overflow: hidden;
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

address {
  font-style: normal;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--heading-weight);
  line-height: var(--heading-line-height);
  letter-spacing: var(--heading-letter-spacing);
  text-transform: var(--heading-transform);
  color: var(--color-primary);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
  margin-bottom: var(--sp-4);
}

p:last-child {
  margin-bottom: 0;
}

/* ========================================
   LAYOUT UTILITIES
   ======================================== */
.page-container {
  width: 100%;
  max-width: var(--page-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--padding-page);
  padding-right: var(--padding-page);
}

.section-padding {
  padding-top: var(--gap-section);
  padding-bottom: var(--gap-section);
}

/* ========================================
   BUTTON STYLES
   ======================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-8);
  font-family: var(--font-body);
  font-size: var(--text-button);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-btn-primary-text);
  background: var(--color-btn-primary-bg);
  border: 2px solid var(--color-primary);
  border-radius: var(--rounded-button);
  cursor: pointer;
  transition: all var(--transition-base);
  min-height: 48px;
  text-decoration: none;
  line-height: 1.2;
}

.btn-primary:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-primary);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-8);
  font-family: var(--font-body);
  font-size: var(--text-button);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  background: transparent;
  border: 2px solid var(--color-primary);
  border-radius: var(--rounded-button);
  cursor: pointer;
  transition: all var(--transition-base);
  min-height: 48px;
  text-decoration: none;
  line-height: 1.2;
}

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

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-8);
  font-family: var(--font-body);
  font-size: var(--text-button);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  background: var(--color-gold);
  border: 2px solid var(--color-gold);
  border-radius: var(--rounded-button);
  cursor: pointer;
  transition: all var(--transition-base);
  min-height: 48px;
  text-decoration: none;
  line-height: 1.2;
}

.btn-gold:hover {
  background: #e5a711;
  border-color: #e5a711;
  transform: translateY(-1px);
}

.btn-sm {
  padding: var(--sp-2) var(--sp-5);
  font-size: var(--text-sm);
  min-height: 36px;
}

/* ========================================
   LINK STYLES
   ======================================== */
.entry-content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

.entry-content a:hover {
  color: var(--color-gold);
}

/* ========================================
   SITE HEADER
   ======================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: var(--color-bg-header);
  border-bottom: 1px solid rgba(var(--color-primary-rgb), 0.1);
  transition: box-shadow var(--transition-base);
}

.site-header.is-scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--page-width);
  margin: 0 auto;
  padding: var(--sp-2d5) var(--padding-page);
  height: 60px;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  padding: 0;
  z-index: 2;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* Logo */
.header-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.header-logo-link {
  display: block;
}

.header-logo-img,
.header-logo .custom-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

/* Desktop Nav */
.header-nav {
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.nav-list li a,
.nav-item a {
  font-family: var(--font-body);
  font-size: var(--text-nav);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  transition: color var(--transition-fast);
  white-space: nowrap;
  padding: var(--sp-2) 0;
}

.nav-list li a:hover,
.nav-item a:hover {
  color: var(--color-gold);
}

.nav-list li.current-menu-item a,
.nav-list li.current_page_item a {
  border-bottom: 2px solid var(--color-gold);
}

/* CTA */
.header-cta {
  display: none;
}

/* ========================================
   MOBILE DRAWER
   ======================================== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: var(--z-overlay);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-drawer), visibility var(--transition-drawer);
}

.drawer-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 85vw;
  max-width: 400px;
  height: 100vh;
  height: 100dvh;
  background: var(--color-white);
  z-index: var(--z-drawer);
  transform: translateX(-100%);
  transition: transform var(--transition-drawer);
  display: flex;
  flex-direction: column;
  padding: var(--sp-8) var(--sp-6);
  overflow-y: auto;
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: var(--sp-8);
}

.drawer-close {
  color: var(--color-primary);
  padding: var(--sp-1);
}

.drawer-nav-list {
  flex: 1;
}

.drawer-nav-item {
  border-bottom: 1px solid rgba(var(--color-primary-rgb), 0.1);
}

.drawer-nav-item a {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--heading-letter-spacing);
  color: var(--color-primary);
  padding: var(--sp-4) 0;
  transition: color var(--transition-fast);
}

.drawer-nav-item a:hover {
  color: var(--color-gold);
}

.drawer-footer {
  margin-top: auto;
  padding-top: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

.drawer-cta {
  text-align: center;
  width: 100%;
}

.drawer-social {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
}

.drawer-social a {
  color: var(--color-primary);
  transition: color var(--transition-fast);
}

.drawer-social a:hover {
  color: var(--color-gold);
}

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */
.whatsapp-fab {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: var(--rounded-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  z-index: var(--z-whatsapp);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.whatsapp-fab svg {
  width: 28px;
  height: 28px;
}

/* ========================================
   SITE FOOTER
   ======================================== */
.site-footer {
  background: var(--color-bg-footer);
  color: rgba(255, 255, 255, 0.85);
  margin-top: auto;
}

.footer-border-top {
  height: 3px;
  background: var(--color-gold);
}

.footer-inner {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 60px var(--padding-page) 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
}

/* Footer headings */
.footer-heading {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: var(--sp-6);
}

/* Column 1: Brand */
.footer-logo-img {
  height: 50px;
  width: auto;
  margin-bottom: var(--sp-4);
}

.footer-tagline {
  font-size: var(--text-base);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--sp-6);
}

.footer-social {
  display: flex;
  gap: var(--sp-4);
}

.footer-social a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer-social a:hover {
  color: var(--color-gold);
}

/* Column 2: Navigation */
.footer-nav-list li {
  margin-bottom: var(--sp-3);
}

.footer-nav-list a {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer-nav-list a:hover {
  color: var(--color-gold);
}

/* Column 3: Contact */
.footer-address {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--sp-4);
}

.footer-phone {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: var(--color-white);
  margin-bottom: var(--sp-4);
  transition: color var(--transition-fast);
}

.footer-phone:hover {
  color: var(--color-gold);
}

.footer-hours {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  line-height: 1.8;
}

.footer-hours-label {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: var(--sp-1);
}

.footer-hours p {
  margin-bottom: 0;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: var(--sp-5);
  margin-top: var(--sp-10);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  align-items: center;
  text-align: center;
}

.footer-legal {
  display: flex;
  gap: var(--sp-3);
  align-items: center;
}

.footer-legal a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--color-gold);
}

.footer-separator {
  color: rgba(255, 255, 255, 0.3);
  font-size: var(--text-sm);
}

.footer-copyright {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0;
}

/* ========================================
   ENTRY / CONTENT STYLES
   ======================================== */
.entry {
  padding: var(--gap-section) 0;
}

.entry-header {
  margin-bottom: var(--sp-8);
}

.entry-title {
  font-size: var(--text-section);
}

.entry-content {
  max-width: 800px;
}

.no-results {
  padding: var(--gap-section) 0;
  text-align: center;
}

/* ========================================
   RESPONSIVE GRID UTILITIES
   ======================================== */
.grid {
  display: grid;
  gap: var(--gap-grid);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(2, 1fr);
}

/* ========================================
   MOBILE-FIRST OVERHAUL (max-width: 767px)
   ======================================== */
@media (max-width: 767px) {
  /* --- CSS Custom Property overrides for mobile --- */
  :root {
    --text-hero:       clamp(1.75rem, 1.25rem + 2.5vw, 2.5rem);
    --text-section:    clamp(1.375rem, 1rem + 1.5vw, 1.75rem);
    --text-card-title: clamp(0.9375rem, 0.85rem + 0.3vw, 1.125rem);
    --gap-section:     clamp(2.5rem, 4vw, 3.5rem);
    --gap-grid:        16px;
    --padding-page:    1rem;
  }

  /* --- Typography: impactful & readable --- */
  h1 { font-size: clamp(1.75rem, 6vw, 2.5rem); }
  h2 { font-size: clamp(1.25rem, 4vw, 1.75rem); }
  h3 { font-size: clamp(1.1rem, 3.5vw, 1.5rem); }
  h4 { font-size: clamp(1rem, 3vw, 1.25rem); }

  body {
    font-size: 15px;
  }

  /* Uppercase headings: wider letter-spacing for mobile legibility */
  h1, h2, h3, h4, h5, h6,
  .section-heading h2 {
    letter-spacing: 0.05em;
  }

  /* --- Layout: tighter mobile spacing --- */
  .page-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-padding {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  /* --- Header: 56px height, centered logo, 44px hamburger --- */
  .header-inner {
    height: 56px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .hamburger {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    -webkit-tap-highlight-color: transparent;
  }

  .hamburger-line {
    width: 24px;
  }

  /* Logo stays absolutely centered via existing CSS */
  .header-logo-img,
  .header-logo .custom-logo {
    height: 36px;
  }

  /* --- Mobile Drawer: polished --- */
  .mobile-drawer {
    width: 88vw;
    max-width: 360px;
    padding: var(--sp-6) var(--sp-5);
  }

  .drawer-nav-item a {
    font-size: var(--text-xl);
    padding: var(--sp-3) 0;
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .drawer-close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .drawer-cta .btn-primary,
  .drawer-cta .btn-gold {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  /* --- Buttons: full-width on mobile, 48px touch targets --- */
  .btn-primary,
  .btn-secondary,
  .btn-gold {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    font-size: 0.875rem;
    padding: var(--sp-3) var(--sp-6);
  }

  /* Button groups: stack vertically */
  .btn-group,
  .button-group,
  .cta-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  /* --- Section headings: tighter margin --- */
  .section-heading {
    margin-bottom: var(--sp-6);
  }

  .section-heading p {
    font-size: var(--text-base);
    margin-top: var(--sp-2);
  }

  .section-heading .heading-line {
    margin-top: var(--sp-3);
    width: 48px;
  }

  /* --- Footer: everything centered, social icons row, compact legal --- */
  .footer-inner {
    padding: 40px 16px 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
    text-align: center;
  }

  .footer-social {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: var(--sp-4);
  }

  .footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .footer-nav-list {
    text-align: center;
  }

  .footer-heading {
    text-align: center;
    font-size: var(--text-base);
    margin-bottom: var(--sp-4);
  }

  .footer-tagline {
    font-size: var(--text-sm);
  }

  .footer-logo-img {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-address {
    font-size: var(--text-sm);
  }

  .footer-hours {
    font-size: var(--text-xs);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--sp-2);
    align-items: center;
    text-align: center;
    margin-top: var(--sp-6);
    padding-top: var(--sp-4);
  }

  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--sp-2);
  }

  .footer-copyright {
    font-size: var(--text-xs);
  }

  /* --- Cards: mobile-first card feel --- */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* --- Touch targets: all interactive elements 44x44 minimum --- */
  a,
  button,
  [role="button"] {
    min-height: 44px;
  }

  /* Links in content: underline on mobile */
  .entry-content a,
  main a:not(.btn-primary):not(.btn-secondary):not(.btn-gold):not([class*="card"]):not([class*="logo"]) {
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  /* --- Prevent horizontal overflow --- */
  html, body {
    overflow-x: hidden;
  }

  /* --- Whatsapp FAB: avoid footer overlap --- */
  .whatsapp-fab {
    bottom: var(--sp-4);
    right: var(--sp-4);
    width: 52px;
    height: 52px;
  }

  .whatsapp-fab svg {
    width: 26px;
    height: 26px;
  }

  /* --- Form inputs: comfortable touch targets --- */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="url"],
  input[type="search"],
  input[type="number"],
  textarea,
  select {
    font-size: 16px; /* prevents iOS zoom */
    min-height: 48px;
    padding: var(--sp-3) var(--sp-4);
  }

  /* --- Entry / content --- */
  .entry {
    padding: 48px 0;
  }

  .entry-header {
    margin-bottom: var(--sp-6);
  }
}

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

/* Tablet (768px+) */
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
  :root {
    --padding-page: var(--padding-page-md);
  }

  .header-inner {
    height: 70px;
  }

  .header-logo-img,
  .header-logo .custom-logo {
    height: 50px;
  }

  /* Show desktop nav, hide hamburger */
  .hamburger {
    display: none;
  }

  .header-nav {
    display: flex;
    align-items: center;
    position: static;
  }

  .header-logo {
    position: static;
    transform: none;
    margin-right: var(--sp-8);
  }

  .header-cta {
    display: flex;
    align-items: center;
    margin-left: auto;
  }

  .header-inner {
    justify-content: flex-start;
  }

  /* Footer 3 columns */
  .footer-grid {
    grid-template-columns: 30% 30% 40%;
  }

  /* Grid utilities */
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Large desktop (1280px+) */
@media (min-width: 1280px) {
  :root {
    --padding-page: var(--padding-page-lg);
  }

  .nav-list {
    gap: var(--sp-8);
  }
}

/* ========================================
   SECTION HEADING PATTERN
   ======================================== */
.section-heading {
  text-align: center;
  margin-bottom: var(--sp-10);
}

.section-heading h2 {
  font-family: var(--font-heading);
  font-size: var(--text-section);
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: var(--heading-letter-spacing);
  line-height: var(--heading-line-height);
}

.section-heading p {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: var(--weight-regular);
  color: var(--color-text-light);
  margin-top: var(--sp-3);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading .heading-line {
  width: 60px;
  height: 3px;
  background: var(--color-gold);
  margin: var(--sp-4) auto 0;
  border-radius: var(--rounded-full);
}

/* ========================================
   FORM STYLES
   ======================================== */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="number"],
textarea,
select {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-white);
  border: 1.5px solid rgba(var(--color-primary-rgb), 0.25);
  border-radius: var(--rounded-lg);
  padding: var(--sp-3) var(--sp-4);
  transition: border-color var(--transition-fast);
  width: 100%;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--color-primary);
  outline: 2px solid rgba(var(--color-primary-rgb), 0.2);
  outline-offset: 2px;
}

::placeholder {
  color: rgba(var(--color-primary-rgb), 0.4);
}

label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: var(--sp-2);
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

.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;
}
