@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700&display=swap');

/* Base */
/* Focus and accessibility helpers */
.skip-link{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.skip-link:focus{position:fixed;left:1rem;top:1rem;width:auto;height:auto;z-index:1000;background:#111;color:#fff;padding:.6rem .8rem;border-radius:8px;outline:2px solid #fff;box-shadow:0 6px 16px rgba(0,0,0,.25)}

:focus-visible{outline:3px solid #2E7D32;outline-offset:2px}
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{outline:3px solid #2E7D32;outline-offset:2px}

/* Improve link focus in nav */
.site-header .nav a:focus-visible{background:rgba(0,200,83,.12);border-radius:18px}
:root{
  --bg:#faf9f7; --text:#222; --muted:#666; --primary:#234; --brand:#A8C3A0; --white:#fff; --card:#fff;
  --radius:14px; --shadow:0 10px 30px rgba(0,0,0,.06);
  /* Tropic-style nav colors */
  --primary-green:#4CAF50; /* match rachael-tropic */
  --tropic-green:#2E7D32;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:'Lexend', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, sans-serif;font-size:clamp(16px,1.2vw + 14px,18px);line-height:1.6;}
a{color:var(--primary);text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:1200px;margin:0 auto;padding:0 1rem}

/* Topbar removed */

/* Header */
.site-header{background:var(--white);box-shadow:var(--shadow);position:sticky;top:0;z-index:20}
.header-inner{display:flex;align-items:center;justify-content:flex-start;padding:1rem 0;flex-wrap:wrap;gap:.5rem 1rem;position:relative}
/* Header width aligned with hero content */
.site-header .container{max-width:1200px;margin:0 auto;padding-left:0;padding-right:1rem}
.brand a,.brand{font-weight:700;color:var(--primary);font-size:1.1rem}
.nav{display:flex;flex-wrap:wrap;gap:.8rem}
.nav a{margin:0}
.nav .btn{margin:0}
/* Tropic-style nav button look */
.nav a{padding:.3rem .7rem;border-radius:18px;color:var(--text);text-decoration:none;transition:all .3s ease;font-size:.925rem}
.nav a:hover,.nav a.active{color:var(--primary-green);background:rgba(0,200,83,.1)}
/* Ensure Home isn't forced active by default */
/* Make header Contact button size consistent with nav */
.site-header .nav .btn{padding:.45rem .75rem;font-size:.95rem;border-radius:8px}
/* Phone link in header (right aligned) */
.site-header .phone{font-weight:700;color:var(--text);display:inline-flex;align-items:center;gap:.4em;margin-left:auto} /* retained for future use */
.site-header .phone:hover{color:var(--primary-green)}
.site-header .phone svg{width:16px;height:16px;fill:var(--primary-green)}
/* Burger menu */
.nav-toggle{display:none;gap:4px;background:none;border:0;cursor:pointer;padding:.25rem;position:absolute;left:1rem}
.nav-toggle .bar{width:22px;height:3px;background:var(--primary);border-radius:2px;transition:.3s;display:block}
.nav-toggle.active .bar:nth-child(1){transform:translateY(6px) rotate(45deg)}
.nav-toggle.active .bar:nth-child(2){opacity:0}
.nav-toggle.active .bar:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
@media (max-width:900px){
  .site-header .nav a{ font-size:.9rem; padding:.28rem .65rem }
}

@media (max-width:800px){
  .nav-toggle{display:inline-flex;flex-direction:column}
  .site-header .nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;box-shadow:0 10px 20px rgba(0,0,0,.06);flex-direction:column;padding:.6rem 1rem;gap:.4rem}
  .site-header.open .nav{display:flex}
  .site-header .phone{right:1rem}
}

/* Buttons */
.btn{display:inline-block;padding:.7rem 1rem;border-radius:10px;background:#eceff3;color:#111;font-weight:600}
.btn:hover{filter:brightness(0.98)}
.btn-primary{background:var(--brand);color:#fff}

/* Hero */
.hero{padding:2.25rem 0}
.hero h1{font-size:2.2rem;margin:0 0 .8rem;text-align:center}
.hero p{color:var(--muted);max-width:760px;font-size:1.125rem;line-height:1.7}
.hero-ctas{margin-top:1rem;display:flex;gap:.6rem}

/* Hero badge */
.hero-badge{display:inline-block;background:rgba(0,0,0,.45);color:#fff;padding:.4rem .7rem;border-radius:999px;font-weight:700;letter-spacing:.2px;border:1px solid rgba(255,255,255,.28);backdrop-filter:blur(2px);margin-bottom:.7rem}

/* Hero image variant */
.hero.hero-image{position:relative;padding:4.5rem 0;color:#fff;
  /* Make hero full-bleed */
  width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)
}
/* Constrain inner content to site width */
.hero .hero-content{max-width:1200px;margin:0 auto;padding:0 1rem}
.hero.hero-image .hero-content{position:relative;z-index:1}
.hero.hero-image .hero-content p{color:#eef2f6}
.hero.hero-image::before{content:"";position:absolute;inset:0;z-index:0;background:
  linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.35)),
  url('https://ak.picdn.net/shutterstock/videos/1058628376/thumb/11.jpg') center/cover no-repeat;filter:none}

/* Cards */
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;margin:2rem 0}
.card{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);padding:1rem}

/* Section title */
.section-title{ text-align:center; font-size:1.9rem; font-weight:700; margin:0 0 .6rem; color:var(--primary); }
.section-title::after{ content:""; display:block; width:68px; height:4px; background:var(--primary-green); border-radius:4px; margin:.45rem auto 0; opacity:.9 }
#services .cards{ margin-top:1.1rem }

/* Comfortable body spacing after font scaling */
main p{ margin:.6rem 0; }
.panel ul{ margin:.6rem 0 0 1.1rem; }
.panel li{ margin:.25rem 0; }

/* Header balance after font scaling */
.header-inner{ gap:.6rem 1rem; }
.site-header .nav a{ line-height:1; }

/* About profile */
#about .about-profile{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}
#about .about-profile img{width:160px;height:160px;border-radius:50%;box-shadow:var(--shadow);object-fit:cover}
@media (max-width:720px){
  #about .about-profile img{width:120px;height:120px}
}
#about .about-meta{display:flex;flex-direction:column}
#about .about-name{font-weight:700;color:var(--primary);font-size:1.1rem}
#about .about-badges{display:flex;gap:.5rem;align-items:center;margin-top:.25rem}
#about .badge{background:#eef2f6;color:#1d2b3a;border-radius:999px;padding:.25rem .6rem;font-weight:600;font-size:.9rem}
/* About two-column grid */
#about .about-profiles{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-top:.5rem;align-items:stretch}
#about .about-card{padding:1rem;border-radius:var(--radius);background:var(--white);box-shadow:var(--shadow)}
#about .about-head{display:flex;gap:1rem;align-items:center}
#about .about-card img{width:160px;height:160px;aspect-ratio:1/1;border-radius:50%;box-shadow:var(--shadow);object-fit:cover;object-position:center}
#about img.portrait--julian{object-position:50% 20%}
#about img.portrait--jamie{object-position:50% 30%}
#about .about-text{color:var(--text); margin-top:.5rem}
#about .about-text p{margin:.4rem 0}
#about .about-text ul{margin:.4rem 0; padding-left:1.2rem}
@media (max-width:900px){
  #about .about-profiles{grid-template-columns:1fr}
}
@media (max-width:720px){
  #about .about-card img{width:130px;height:130px}
  #about img.portrait--julian{object-position:50% 18%}
  #about img.portrait--jamie{object-position:50% 24%}
}

/* Panels */
.panel{background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow);padding:1.2rem;margin:2rem 0}
.panel.alt{background:#f5f7fb}
/* Blue-grey variant for the Alternative section */
#alternative.panel{background:#e8eef5}
/* Match hero paragraph size for key bullets */
#alternative ul, #alternative li { font-size: inherit; line-height: inherit; }
/* Center the Alternative section heading */
#alternative h2 { text-align: center; }
/* Match paragraph in Alternative section to bullet size */
#alternative p { font-size: inherit; line-height: inherit; }
.pill-list{display:flex;flex-wrap:wrap;gap:.5rem;padding:0;margin:0;list-style:none}
.pill-list li{background:#eef2f6;padding:.4rem .6rem;border-radius:999px}
.steps{list-style:decimal;padding-left:1.2rem}

.tick{ color:#2e7d32; font-weight:900; font-size:1.2em; display:inline-block; vertical-align:-1px; margin-right:.15em; -webkit-text-stroke:0.3px #2e7d32 }

.tick-icon{ width:18px; height:18px; vertical-align:-2px; margin-right:.3em; }

/* FAQ */
details.faq{background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow);padding:1rem}
details.faq + details.faq{margin-top:.8rem}
details.faq summary{cursor:pointer;font-weight:700}
details.faq summary::-webkit-details-marker{display:none}

/* Layout */
.layout{display:grid;grid-template-columns:1fr;gap:1.5rem;margin:2rem 0}
.sidebar .widget{background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow);padding:1rem;margin-bottom:1rem}
.sidebar .widget h3{margin-top:0}
.sidebar .widget ul{margin:0;padding-left:1.1rem}

/* Prices */
.price-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;margin:1rem 0}
.price-card{background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow);padding:1rem}
.price{font-weight:800;font-size:1.4rem;margin:.3rem 0}

/* Fees Table */
.fees-table-wrapper{overflow-x:auto;margin:1.5rem 0}
.fees-table{width:100%;border-collapse:collapse;background:var(--white);border-radius:var(--radius);overflow:hidden}
.fees-table thead{background:var(--primary);color:var(--white)}
.fees-table th{padding:.9rem 1rem;text-align:left;font-weight:600;font-size:.95rem}
.fees-table td{padding:.85rem 1rem;border-bottom:1px solid #e8eef5}
.fees-table tbody tr:last-child td{border-bottom:none}
.fees-table tbody tr:hover{background:#f8fafb}
.fees-table td:last-child{font-weight:600}
@media (max-width:720px){
  .fees-table th,.fees-table td{padding:.7rem .7rem;font-size:.9rem}
  .fees-table th:first-child,.fees-table td:first-child{padding-left:.8rem}
  .fees-table th:last-child,.fees-table td:last-child{padding-right:.8rem}
}

/* Forms */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:start}
@media(max-width:768px){.contact-grid{grid-template-columns:1fr}}
.contact-form{display:grid;gap:.7rem;max-width:600px}
.contact-form input,.contact-form textarea{width:100%;padding:.7rem;border:1px solid #ddd;border-radius:10px}
.contact-info-wrapper{display:flex;flex-direction:column;gap:1.5rem}
.contact-phone{padding:0.5rem;background:#f8f9fa;border-radius:10px;text-align:center;display:inline-block}
.contact-map{margin-top:1rem}

/* Footer */
.site-footer{margin-top:3rem;padding:1.2rem 0;color:var(--muted)}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.footer-nap{display:flex;flex-direction:column;gap:.15rem;color:var(--text)}
.footer-nap .name{font-weight:700;color:var(--primary)}
.footer-nap .meta{color:var(--muted);font-size:.95rem}

/* Match alt panel color on hero badge */
.hero.hero-image .hero-badge { background:#4F6047; color:#fff; border:1px solid #44533e; backdrop-filter:none; }
#alternative .hero-badge { background:#4F6047; color:#fff; border:1px solid #44533e; backdrop-filter:none; }

@media (max-width:720px){
  .nav a{margin-left:.6rem}
  .hero h1{font-size:1.8rem}
  .section-title{ font-size:1.6rem }
  .layout{grid-template-columns:1fr}
  .site-header .nav{align-items:flex-start}
}
