/* ==========================================================================
   Heywood Associates — Site Stylesheet
   ========================================================================== */

:root {
  --navy: #0d3b66;
  --navy-light: #124a80;
  --navy-lighter: #1a5a99;
  --ink: #1b2430;
  --paper: #f7f5f1;
  --paper-alt: #efece5;
  --white: #ffffff;
  --amber: #f4845f;
  --amber-dark: #d96b46;
  --teal: #ffd166;
  --line: rgba(15, 27, 44, 0.1);
  --text-muted: #5c6570;
  --whatsapp: #25d366;
  --shadow-sm: 0 2px 10px rgba(15, 27, 44, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 27, 44, 0.1);
  --shadow-lg: 0 25px 60px rgba(15, 27, 44, 0.18);
  --radius: 14px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--ink); }

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

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 14px;
}

.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
}

.section {
  padding: 96px 0;
}

.section--tight { padding: 64px 0; }
.section--alt { background: var(--paper-alt); }
.section--navy {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
}
.section--navy h2, .section--navy h3, .section--navy p { color: var(--white); }
.section--navy .lead { color: rgba(255,255,255,0.72); }

.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--amber);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--amber-dark); box-shadow: var(--shadow-md); }

.btn--outline {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.btn--outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

.btn--outline-dark {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn--outline-dark:hover { background: var(--navy); color: var(--white); }

.btn--whatsapp {
  background: var(--whatsapp);
  color: var(--white);
}
.btn--whatsapp:hover { background: #1eb659; }

.btn--sm { padding: 10px 20px; font-size: 0.85rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

/* Header */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  font-size: 0.82rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar a { color: rgba(255,255,255,0.85); }
.topbar a:hover { color: var(--amber); }
.topbar .topbar-links { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar .topbar-social { display: flex; gap: 14px; }

header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
header.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 3px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy-light) 55%, var(--amber) 100%);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  margin-right: 24px;
}
.logo span { color: var(--amber-dark); }
.logo img {
  height: 52px;
  width: auto;
  display: block;
  filter: drop-shadow(0 3px 8px rgba(13, 59, 102, 0.28));
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
nav.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
}
nav.main-nav a.active,
nav.main-nav a:hover { color: var(--amber-dark); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn--outline-dark {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.nav-cta .btn--outline-dark:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  color: var(--white);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: 0.2s;
}

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 55%, #1d3450 100%);
  color: var(--white);
  overflow: hidden;
  padding: 110px 0 120px;
}
.hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244,132,95,0.25) 0%, rgba(244,132,95,0) 70%);
}
.hero::after {
  content: "";
  position: absolute;
  left: -160px;
  bottom: -200px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,209,102,0.2) 0%, rgba(255,209,102,0) 70%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { color: var(--white); }
.hero p.lead { color: rgba(255,255,255,0.78); }

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 30px;
}
.pill {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 500;
}

.hero-panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(6px);
}
.hero-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.hero-stat .num {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 6px;
}
.hero-stat .label {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

/* Cards / Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(217,154,61,0.14);
  color: var(--amber-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.3rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.service-card h3 { margin-bottom: 14px; }
.service-card ul { margin: 0; padding-left: 18px; color: var(--text-muted); }
.service-card ul li { margin-bottom: 6px; }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.team-photo {
  height: 260px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.team-photo .initials {
  font-family: 'Poppins', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.02em;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.team-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.team-role {
  color: var(--amber-dark);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.team-quote {
  font-style: italic;
  color: var(--text-muted);
  border-left: 3px solid var(--amber);
  padding-left: 14px;
  margin: 14px 0;
}
.team-contact {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 20px;
}
.timeline-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 22px 20px;
  border-left: 4px solid var(--amber);
  box-shadow: var(--shadow-sm);
}
.timeline-item .year {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.2rem;
  display: block;
  margin-bottom: 6px;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.testimonial .stars { color: var(--amber); margin-bottom: 12px; letter-spacing: 2px; }
.testimonial p { color: var(--ink); font-style: italic; }
.testimonial .name { font-weight: 600; color: var(--navy); margin-top: 12px; font-style: normal; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-method {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.contact-method:last-child { border-bottom: none; }
.contact-method .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(15,27,44,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.contact-method h4 { margin-bottom: 4px; }
.contact-method p { margin: 0; color: var(--text-muted); }
.contact-method a.value { color: var(--navy); font-weight: 600; }

.booking-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}
.booking-card .avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
}
.booking-card .avatar img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
}
.booking-card .info { flex: 1; }
.booking-card h4 { margin-bottom: 2px; }
.booking-card p { margin: 0; font-size: 0.9rem; color: var(--text-muted); }

/* FAQ accordion */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  font-weight: 600;
  color: var(--navy);
  font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  line-height: 1;
  color: var(--amber-dark);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  color: var(--text-muted);
  padding: 0 4px 20px;
  margin: 0;
  max-width: 100%;
}

form.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
form.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: var(--navy);
}
form.contact-form input,
form.contact-form textarea,
form.contact-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  margin-bottom: 18px;
  background: var(--paper);
}
form.contact-form input:focus,
form.contact-form textarea:focus { outline: 2px solid var(--amber); border-color: transparent; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
  border-radius: var(--radius);
  padding: 48px;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h3 { color: var(--navy); margin-bottom: 6px; }
.cta-band p { color: rgba(15,27,44,0.75); margin: 0; }

/* Footer */
footer.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-grid h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a:hover { color: var(--amber); }
.footer-logo { color: var(--white); font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.3rem; margin-bottom: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}
.social-row { display: flex; gap: 14px; }
.social-row a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
}
.social-row a:hover { background: var(--amber); color: var(--navy); }

/* WhatsApp floating widget */
.wa-fab {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 200;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  cursor: pointer;
  border: none;
  font-size: 1.7rem;
  animation: wa-pulse 2.4s infinite;
}
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.wa-panel {
  position: fixed;
  bottom: 100px;
  right: 26px;
  z-index: 200;
  width: 300px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  pointer-events: none;
  transition: all 0.2s ease;
}
.wa-panel.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.wa-panel-head {
  background: var(--whatsapp);
  color: var(--white);
  padding: 16px 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
.wa-panel-body { padding: 14px; }
.wa-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  margin-bottom: 10px;
  transition: background 0.15s;
}
.wa-contact:hover { background: var(--paper-alt); }
.wa-contact .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: 'Poppins', sans-serif; font-size: 0.85rem;
  flex-shrink: 0;
  overflow: hidden;
}
.wa-contact .avatar img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
}
.wa-contact .meta { flex: 1; }
.wa-contact .meta strong { display: block; font-size: 0.9rem; color: var(--navy); }
.wa-contact .meta span { font-size: 0.78rem; color: var(--text-muted); }
.wa-contact .go { color: var(--whatsapp); font-size: 1.3rem; }

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 72px 0 64px;
}
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--amber); }

/* Utilities */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-3, .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .team-grid, .contact-grid, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  nav.main-nav { display: none; }
  .nav-cta .btn--outline-dark span.txt { display: none; }
  .menu-toggle { display: block; }
  .logo { margin-right: 0; }
  .logo img { height: 42px; }
}

@media (max-width: 720px) {
  .grid-3, .grid-4, .testimonial-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .topbar .topbar-links { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .wa-panel { width: calc(100vw - 32px); right: 16px; bottom: 88px; }
  .wa-fab { right: 16px; bottom: 16px; }
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 12px 24px 24px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.mobile-nav .btn { margin-top: 14px; justify-content: center; }
