/* Etna Financial Consulting — styles */
:root {
  --navy: #14213d;
  --navy-2: #1d2d50;
  --slate: #334155;
  --ink: #1e293b;
  --muted: #526073;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f6f7fb;
  --accent: #e8622c;        /* volcanic orange */
  --accent-dark: #b8461a;   /* AA contrast on white for text */
  --accent-soft: #fdeee6;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 33, 61, .06), 0 8px 24px rgba(20, 33, 61, .08);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .6em; }
h1, h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--accent-dark); }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(780px, 100% - 2.5rem); }
.center { text-align: center; }
.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; }
.skip-link { position: absolute; left: 1rem; top: -100px; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 1rem; color: #fff; }

.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--accent-dark); margin-bottom: .75rem; }
.small { font-size: .9rem; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; transition: background .2s, color .2s, transform .2s, box-shadow .2s;
  text-align: center;
}
.btn-primary { background: var(--accent); color: #1a0d06; box-shadow: 0 6px 18px rgba(232, 98, 44, .3); }
.btn-primary:hover { background: #f07440; color: #1a0d06; transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn-sm { padding: .55rem 1.1rem; font-size: .92rem; }
.btn-lg { padding: 1.05rem 1.8rem; font-size: 1.08rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255,255,255,.94); backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--navy); }
.brand img { border-radius: 9px; }
.brand-text { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; line-height: 1; }
.brand-text span { font-family: var(--font); font-weight: 500; font-size: .85rem; color: var(--muted); display: block; margin-top: 3px; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  display: block; width: 20px; height: 2px; background: var(--navy); position: relative; transition: transform .2s, background .2s;
}
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  position: absolute; top: var(--header-h); left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  padding: .5rem 1.25rem 1.25rem; display: none;
}
.site-nav.open { display: block; }
.site-nav ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.site-nav li a { display: block; padding: .8rem 0; color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.site-nav li a:hover { color: var(--accent-dark); }
.nav-cta { width: 100%; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav { position: static; display: flex !important; align-items: center; gap: 1.5rem; padding: 0; background: none; border: 0; box-shadow: none; }
  .site-nav ul { display: flex; gap: 1.35rem; margin: 0; }
  .site-nav li a { padding: .25rem 0; border: 0; font-size: .95rem; color: var(--slate); }
  .nav-cta { width: auto; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% 110%, rgba(232, 98, 44, .28), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, #24365e 100%);
  color: #dfe6f3;
  padding: clamp(3.5rem, 9vw, 6.5rem) 0;
}
.hero::after { /* subtle mountain silhouette, a nod to Etna */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px;
  background: var(--bg);
  clip-path: polygon(0 100%, 0 80%, 30% 62%, 52% 20%, 56% 24%, 60% 18%, 78% 60%, 100% 72%, 100% 100%);
  opacity: 1;
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 2.5rem; align-items: center; padding-bottom: 2.5rem; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: #ffb48f; }
.lead { font-size: clamp(1.08rem, 2.2vw, 1.25rem); color: #dfe6f3; max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.8rem 0 1rem; }
.hero-note { font-size: .92rem; color: #b9c4d8; max-width: 34rem; }

.hero-card {
  background: #fff; color: var(--ink); border-radius: var(--radius); padding: 1.75rem;
  box-shadow: 0 20px 50px rgba(0,0,0,.25); border-top: 5px solid var(--accent);
}
.hero-card h2 { font-size: 1.5rem; }
.tag { display: inline-block; background: var(--accent-soft); color: var(--accent-dark); font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; margin-bottom: .9rem; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.checklist li { position: relative; padding-left: 1.8rem; margin-bottom: .6rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='%23fff' stroke-width='3'/%3E%3C/svg%3E") center/70% no-repeat;
}
.text-link { font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.35fr 1fr; gap: 3.5rem; }
}

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.section-head p:last-child { color: var(--muted); }

/* Service cards */
.card-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #d3dae6; }
.card p { color: var(--muted); margin: 0; }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-dark);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.card-icon svg { width: 24px; height: 24px; fill: currentColor; }
.card-icon svg [fill="none"] { fill: none; }

/* Who we help */
.who-grid { display: grid; gap: 1.25rem; }
@media (min-width: 820px) { .who-grid { grid-template-columns: repeat(3, 1fr); } }
.who-card { background: #fff; border-radius: var(--radius); padding: 1.8rem; border-left: 4px solid var(--navy); box-shadow: 0 1px 2px rgba(20,33,61,.05); }
.who-card:nth-child(2) { border-left-color: var(--accent); }
.who-card:nth-child(3) { border-left-color: var(--slate); }
.who-card p { color: var(--muted); margin: 0; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; counter-reset: none; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding: 1.8rem; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.step-num {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; margin-bottom: 1rem;
}
.step:last-child .step-num { background: var(--accent); color: #1a0d06; }
.step p { color: var(--muted); margin: 0; }

/* Pricing */
.pricing-list { display: grid; gap: 1rem; margin: 2rem 0 2.2rem; text-align: left; }
@media (min-width: 720px) { .pricing-list { grid-template-columns: repeat(3, 1fr); } }
.price-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.price-item h3 { margin-bottom: .3rem; font-size: 1.05rem; }
.price-item p { margin: 0; font-size: .93rem; color: var(--muted); }

/* About */
.about-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 820px) { .about-grid { grid-template-columns: 320px 1fr; gap: 4rem; } }
.about-photo {
  aspect-ratio: 4 / 5; max-width: 320px; width: 100%; border-radius: 20px;
  background: linear-gradient(160deg, var(--navy), var(--navy-2));
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.about-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(0deg, rgba(232,98,44,.35), transparent); }
.about-photo span { font-family: var(--font-display); font-size: 4.5rem; color: #fff; font-weight: 700; letter-spacing: .04em; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.role { color: var(--accent-dark); font-weight: 600; margin-top: -.3rem; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: .8rem; }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.3rem; font-weight: 600; color: var(--navy); position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--accent-dark); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 1.3rem 1.2rem; margin: 0; color: var(--muted); }

/* CTA / contact */
.cta-section { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #dfe6f3; }
.cta-section h2 { color: #fff; }
.cta-section p { color: #c7d1e3; }
.cta-section .btn { margin: 1rem 0 2rem; }
.contact-list { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem 2rem; margin-bottom: 1.2rem; }
.contact-list a { display: inline-flex; align-items: center; gap: .55rem; color: #fff; text-decoration: none; font-weight: 500; font-size: 1.05rem; }
.contact-list a:hover { color: #ffb48f; }
.contact-list svg { width: 22px; height: 22px; color: var(--accent); }
.cta-section .small { color: #aab6cc; }

/* Footer */
.site-footer { background: #0e1830; color: #aab6cc; padding: 2.8rem 0 1.5rem; font-size: .95rem; }
.footer-inner { display: grid; gap: 1.5rem; padding-bottom: 1.8rem; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (min-width: 720px) { .footer-inner { grid-template-columns: 1fr auto; align-items: start; } }
.footer-brand { font-family: var(--font-display); color: #fff; font-size: 1.2rem; font-weight: 700; margin-bottom: .3rem; }
.footer-links { display: flex; flex-direction: column; gap: .4rem; }
.site-footer a { color: #dfe6f3; text-decoration: none; }
.site-footer a:hover { color: #ffb48f; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding-top: 1.2rem; font-size: .88rem; }
.footer-bottom p { margin: 0; }
