/* Aldworth & Co Advisory Ltd — Master Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --cream: #F5F0E8;
  --off-white: #FAFAF7;
  --charcoal: #1C1C1E;
  --burgundy: #6B2D3E;
  --burgundy-dk: #5A2433;
  --burgundy-lt: #8B4D5E;
  --gold: #9E8458;
  --gold-lt: #C4AA78;
  --warm-grey: #8A8578;
  --border: #E5E0D6;
  --txt2: #4A4A4A;
  --txt3: #6B6B6B;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", monospace;
  --shadow-sm: 0 1px 3px rgba(28,28,30,.06);
  --shadow-md: 0 4px 16px rgba(28,28,30,.08);
  --shadow-lg: 0 8px 32px rgba(28,28,30,.12);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--sans); font-weight: 400; color: var(--charcoal); background: var(--cream); line-height: 1.65; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 48px; }
@media(max-width:768px) { .container, .container-wide { padding: 0 24px; } }

/* Typography */
.eyebrow { font-family: var(--mono); font-size: .65rem; letter-spacing: .25em; text-transform: uppercase; color: var(--warm-grey); margin-bottom: 12px; display: block; }
.sh { font-family: var(--serif); font-weight: 500; font-size: clamp(1.8rem,3.5vw,2.8rem); color: var(--charcoal); line-height: 1.2; margin-bottom: 16px; }
.sh-lg { font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem,4.5vw,3.6rem); color: var(--charcoal); line-height: 1.15; margin-bottom: 20px; }
.sh-sm { font-family: var(--serif); font-weight: 500; font-size: clamp(1.4rem,2.5vw,1.8rem); color: var(--charcoal); line-height: 1.25; margin-bottom: 12px; }
.body-lg { font-size: 1.05rem; color: var(--txt2); line-height: 1.7; max-width: 680px; }
.body-sm { font-size: .9rem; color: var(--txt3); line-height: 1.6; }
.gl { width: 40px; height: 2px; background: var(--gold); margin: 16px 0 24px; border: none; }

/* ===== NAVIGATION ===== */
.nav { position: fixed; top: 0; left: 0; width: 100%; height: 80px; background: var(--off-white); border-bottom: 1px solid var(--border); z-index: 1000; transition: box-shadow var(--transition); }
.nav.scrolled { box-shadow: var(--shadow-md); }
.nav-inner { max-width: 1400px; margin: 0 auto; padding: 0 48px; height: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 14px; }
.nav-logo img { height: 44px; width: auto; }
.nav-logo-text { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: var(--charcoal); letter-spacing: .02em; }

.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-link { font-size: .82rem; font-weight: 500; color: var(--txt2); padding: 8px 14px; border-radius: 6px; transition: all var(--transition); position: relative; white-space: nowrap; }
.nav-link:hover { color: var(--burgundy); background: rgba(107,45,62,.04); }
.nav-link.active { color: var(--burgundy); font-weight: 600; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { display: flex; align-items: center; gap: 4px; }
.nav-dropdown-trigger::after { content: ""; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 4px solid currentColor; transition: transform var(--transition); }
.nav-dropdown:hover .nav-dropdown-trigger::after { transform: rotate(180deg); }
.nav-dropdown-menu { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); min-width: 260px; background: white; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px 0; opacity: 0; visibility: hidden; transition: all .25s; }
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; }
.nav-dropdown-menu a { display: block; padding: 10px 20px; font-size: .82rem; color: var(--txt2); transition: all var(--transition); }
.nav-dropdown-menu a:hover { background: rgba(107,45,62,.04); color: var(--burgundy); padding-left: 24px; }

/* Mobile Nav */
.nav-toggle { display: none; width: 28px; height: 20px; flex-direction: column; justify-content: space-between; cursor: pointer; }
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--charcoal); transition: all .3s; border-radius: 2px; }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(6px,6px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(6px,-6px); }

@media(max-width:1100px) {
  .nav-links { position: fixed; top: 80px; left: 0; width: 100%; height: calc(100vh - 80px); background: var(--off-white); flex-direction: column; align-items: flex-start; padding: 32px 48px; gap: 4px; overflow-y: auto; transform: translateX(-100%); transition: transform .4s; }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: flex; }
  .nav-dropdown-menu { position: static; transform: none; box-shadow: none; border: none; padding-left: 16px; display: none; opacity: 1; visibility: visible; }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-inner { padding: 0 24px; }
}

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: 6px; font-size: .85rem; font-weight: 600; transition: all var(--transition); letter-spacing: .02em; }
.btn-primary { background: var(--burgundy); color: white; }
.btn-primary:hover { background: var(--burgundy-dk); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary { background: transparent; color: var(--burgundy); border: 1.5px solid var(--burgundy); }
.btn-secondary:hover { background: var(--burgundy); color: white; }
.btn-gold { background: var(--gold); color: white; }
.btn-gold:hover { background: var(--gold-lt); transform: translateY(-1px); }
.btn-sm { padding: 8px 20px; font-size: .8rem; }
.btn-lg { padding: 16px 36px; font-size: .95rem; }

/* ===== HERO ===== */
.hero { padding: 160px 0 100px; background: linear-gradient(135deg, var(--off-white) 0%, var(--cream) 50%, rgba(158,132,88,.08) 100%); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(107,45,62,.04) 0%, transparent 70%); border-radius: 50%; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(107,45,62,.06); border: 1px solid rgba(107,45,62,.12); padding: 6px 16px; border-radius: 100px; font-size: .72rem; font-weight: 600; color: var(--burgundy); margin-bottom: 24px; }
.hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.4rem,5vw,3.8rem); line-height: 1.12; color: var(--charcoal); margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--burgundy); }
.hero-sub { font-size: 1.05rem; color: var(--txt2); line-height: 1.7; margin-bottom: 36px; max-width: 520px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.hero-stat-num { font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--burgundy); }
.hero-stat-lbl { font-size: .75rem; color: var(--txt3); margin-top: 2px; }
.hero-visual { position: relative; }
.hero-card { background: white; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 40px; border: 1px solid var(--border); }
@media(max-width:900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats { gap: 32px; }
  .hero { padding: 140px 0 60px; }
}

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }
.section-alt { background: var(--off-white); }
.section-dark { background: var(--charcoal); color: white; }
.section-dark .sh, .section-dark .sh-lg, .section-dark .sh-sm { color: white; }
.section-dark .eyebrow { color: var(--gold); }
.section-dark .body-lg { color: rgba(255,255,255,.7); }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 60px; }

/* ===== CARDS ===== */
.card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; transition: all var(--transition); }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: rgba(107,45,62,.15); }
.card-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(107,45,62,.06); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--burgundy); font-size: 1.2rem; }
.card-title { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--charcoal); margin-bottom: 10px; }
.card-text { font-size: .88rem; color: var(--txt3); line-height: 1.6; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--burgundy); margin-top: 16px; }
.card-link:hover { gap: 10px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media(max-width:900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media(max-width:600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ===== SERVICE LIST ===== */
.service-list { list-style: none; }
.service-list li { padding: 12px 0; border-bottom: 1px solid var(--border); font-size: .9rem; color: var(--txt2); display: flex; align-items: center; gap: 12px; }
.service-list li::before { content: "✓"; color: var(--burgundy); font-weight: 700; font-size: .85rem; flex-shrink: 0; }

/* ===== PAGE HERO (Internal Pages) ===== */
.page-hero { padding: 140px 0 60px; background: linear-gradient(135deg, var(--charcoal) 0%, #2A2A2E 50%, var(--burgundy-dk) 100%); color: white; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; top: 0; right: 0; width: 40%; height: 100%; background: radial-gradient(ellipse at right, rgba(158,132,88,.1), transparent 70%); }
.page-hero .eyebrow { color: var(--gold); }
.page-hero .sh-lg { color: white; }
.page-hero .breadcrumb { font-size: .8rem; color: rgba(255,255,255,.5); margin-bottom: 24px; }
.page-hero .breadcrumb a { color: rgba(255,255,255,.7); }
.page-hero .breadcrumb a:hover { color: var(--gold); }
.page-hero p { color: rgba(255,255,255,.75); max-width: 600px; font-size: 1.05rem; line-height: 1.7; }

/* ===== CTA BAND ===== */
.cta-band { padding: 80px 0; background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dk) 100%); color: white; text-align: center; }
.cta-band .sh { color: white; }
.cta-band p { color: rgba(255,255,255,.8); max-width: 560px; margin: 0 auto 32px; }
.cta-band .btn-primary { background: var(--gold); }
.cta-band .btn-primary:hover { background: var(--gold-lt); }
.cta-band .btn-secondary { border-color: rgba(255,255,255,.4); color: white; }
.cta-band .btn-secondary:hover { background: rgba(255,255,255,.1); }

/* ===== FOOTER ===== */
.footer { background: var(--charcoal); color: rgba(255,255,255,.7); padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 48px; margin-bottom: 60px; }
.footer-brand img { height: 36px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: .85rem; line-height: 1.6; max-width: 280px; color: rgba(255,255,255,.5); }
.footer h4 { font-family: var(--serif); font-weight: 600; font-size: 1rem; color: white; margin-bottom: 20px; }
.footer-links a { display: block; font-size: .82rem; padding: 5px 0; color: rgba(255,255,255,.5); transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 32px; display: flex; justify-content: space-between; align-items: center; font-size: .75rem; color: rgba(255,255,255,.35); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,.35); }
.footer-bottom-links a:hover { color: var(--gold); }
@media(max-width:768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* ===== FEATURES / WHY CHOOSE ===== */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-bottom: 80px; }
.feature-row:nth-child(even) { direction: rtl; }
.feature-row:nth-child(even) > * { direction: ltr; }
.feature-img { border-radius: var(--radius-lg); overflow: hidden; background: var(--off-white); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); }
.feature-img-placeholder { width: 80px; height: 80px; color: var(--burgundy); opacity: .3; }
@media(max-width:768px) { 
  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-row:nth-child(even) { direction: ltr; }
}

/* ===== ACCORDION ===== */
.accordion { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:last-child { border-bottom: none; }
.accordion-trigger { width: 100%; padding: 20px 28px; display: flex; justify-content: space-between; align-items: center; background: white; font-size: .95rem; font-weight: 500; color: var(--charcoal); cursor: pointer; transition: background var(--transition); text-align: left; }
.accordion-trigger:hover { background: var(--off-white); }
.accordion-trigger::after { content: "+"; font-size: 1.4rem; color: var(--burgundy); transition: transform .3s; }
.accordion-item.open .accordion-trigger::after { transform: rotate(45deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.4,0,.2,1); }
.accordion-content-inner { padding: 0 28px 24px; font-size: .9rem; color: var(--txt2); line-height: 1.7; }

/* ===== TABS ===== */
.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--border); margin-bottom: 40px; overflow-x: auto; }
.tab { padding: 12px 24px; font-size: .85rem; font-weight: 500; color: var(--txt3); border-bottom: 2px solid transparent; margin-bottom: -2px; cursor: pointer; white-space: nowrap; transition: all var(--transition); }
.tab:hover { color: var(--charcoal); }
.tab.active { color: var(--burgundy); border-bottom-color: var(--burgundy); font-weight: 600; }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ===== TESTIMONIAL ===== */
.testimonial { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; position: relative; }
.testimonial::before { content: "\201C"; font-family: var(--serif); font-size: 4rem; color: var(--burgundy); opacity: .15; position: absolute; top: 16px; left: 24px; line-height: 1; }
.testimonial-text { font-size: 1rem; color: var(--txt2); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { font-weight: 600; font-size: .85rem; color: var(--charcoal); }
.testimonial-role { font-size: .8rem; color: var(--txt3); }

/* ===== TABLE ===== */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.table-wrap table { width: 100%; border-collapse: collapse; }
.table-wrap th { background: var(--charcoal); color: white; padding: 14px 20px; text-align: left; font-size: .8rem; font-weight: 600; letter-spacing: .03em; }
.table-wrap td { padding: 14px 20px; font-size: .88rem; border-bottom: 1px solid var(--border); color: var(--txt2); }
.table-wrap tr:last-child td { border-bottom: none; }
.table-wrap tr:hover td { background: rgba(107,45,62,.02); }

/* ===== FORM ===== */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: .82rem; font-weight: 600; color: var(--charcoal); margin-bottom: 6px; }
.form-input, .form-textarea, .form-select { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: 6px; font-family: var(--sans); font-size: .9rem; color: var(--charcoal); background: white; transition: border-color var(--transition); }
.form-input:focus, .form-textarea:focus, .form-select:focus { outline: none; border-color: var(--burgundy); box-shadow: 0 0 0 3px rgba(107,45,62,.08); }
.form-textarea { min-height: 120px; resize: vertical; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { opacity: 0; transform: translateY(24px); transition: all .6s cubic-bezier(.4,0,.2,1); }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== PRACTICE ACQUISITION ===== */
.process-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; position: relative; }
.process-steps::before { content: ""; position: absolute; top: 28px; left: 10%; right: 10%; height: 2px; background: var(--border); z-index: 0; }
.process-step { text-align: center; position: relative; z-index: 1; }
.process-step-num { width: 56px; height: 56px; border-radius: 50%; background: var(--burgundy); color: white; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.process-step-title { font-weight: 600; font-size: .85rem; color: var(--charcoal); margin-bottom: 6px; }
.process-step-text { font-size: .78rem; color: var(--txt3); line-height: 1.5; }
@media(max-width:768px) {
  .process-steps { grid-template-columns: 1fr; gap: 20px; }
  .process-steps::before { display: none; }
}
