/* TruDan Designs
   Palette from the TruDan AI Receptionist widget theme. */
:root {
  --green: #1F3D32;        /* primary */
  --green-deep: #183128;   /* hover / gradient end */
  --gold: #C4A35A;         /* accent */
  --gold-light: #E3CD95;   /* gradient highlight for small gold details */
  --gold-line: linear-gradient(90deg, #C4A35A, #E3CD95 50%, #C4A35A);
  --cream: #F7F1E8;        /* text on green */
  --paper: #FBF7EF;        /* page background */
  --ivory: #FFFCF6;        /* raised panels */
  --sand: #F3ECE0;         /* alternate band */
  --ink: #1A1F1C;
  --body: #343C37;
  --muted: #5C675F;
  --rule: #E2D9CA;
  --r-lg: 20px;            /* images, panels */
  --r-md: 14px;            /* table, form panel */
  --r-sm: 10px;            /* inputs */
  --shadow: 0 30px 60px -36px rgba(31, 61, 50, .28), 0 6px 18px -12px rgba(31, 61, 50, .12);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 96px; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--green); text-decoration: none; background-image: var(--gold-line); background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat; padding-bottom: 2px; transition: background-size .28s var(--ease), color .25s var(--ease); }
a:hover { background-size: 100% 2px; }
h1, h2, h3, dt { font-family: var(--serif); color: var(--green); margin: 0; font-weight: 400; }
h1 { font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.08; letter-spacing: -0.022em; font-weight: 300; font-variation-settings: "opsz" 60; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.14; letter-spacing: -0.016em; font-weight: 300; font-variation-settings: "opsz" 60; }
h3 { font-size: 1.35rem; line-height: 1.3; letter-spacing: -0.005em; font-weight: 500; }
p { margin: 0 0 1.15em; }
strong { font-weight: 600; color: var(--green); }

.wrap { width: min(1160px, 100% - 64px); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--green); color: var(--cream); padding: 8px 14px; z-index: 100; border-radius: 999px; }
.skip:focus { left: 12px; top: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; font-family: var(--sans); font-weight: 500; font-size: .98rem; letter-spacing: .015em; color: var(--cream); background: var(--green); background-image: none; border: 1px solid var(--green); border-radius: 999px; padding: .95em 1.9em; cursor: pointer; box-shadow: 0 10px 24px -16px rgba(31,61,50,.6); transition: background-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease); }
.btn:hover { background: var(--green-deep); border-color: var(--gold); transform: translateY(-1px); box-shadow: 0 16px 30px -18px rgba(31,61,50,.7); background-size: auto; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn-small { padding: .68em 1.35em; font-size: .93rem; }
.btn-light { background: var(--cream); color: var(--green); border-color: var(--cream); box-shadow: none; }
.btn-light:hover { background: var(--ivory); color: var(--green); border-color: var(--gold); }
.text-link { font-weight: 500; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 247, 239, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--rule) 15%, var(--rule) 85%, transparent); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 92px; }
.brand { background: none; padding: 0; }
.brand img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 2.2rem; }
.nav a:not(.btn) { color: var(--body); font-size: .96rem; background-size: 0 1px; background-position: 50% 100%; }
.nav a:not(.btn):hover { color: var(--green); background-size: 100% 1px; }

/* Hero */
.hero { padding: 88px 0 120px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 88px; align-items: center; }
.locale { display: flex; align-items: center; gap: 14px; font-size: .95rem; color: var(--muted); margin-bottom: 2rem; letter-spacing: .01em; }
.locale::before { content: ""; width: 44px; height: 1px; background: var(--gold-line); flex: none; }
.hero h1 { margin-bottom: 1.8rem; max-width: 14.5em; }
.intro { font-size: 1.16rem; color: var(--body); max-width: 33em; margin-bottom: 2.6rem; }
.actions { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; margin: 0; }
.hero-photo { margin: 0; position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.hero-photo figcaption { font-size: .76rem; color: var(--muted); margin-top: .85rem; letter-spacing: .01em; }

/* Section rhythm with soft tone shifts */
.section { padding: 112px 0; }
.band { background: linear-gradient(180deg, var(--paper) 0, var(--sand) 120px, var(--sand) calc(100% - 120px), var(--paper) 100%); }
#who.band { padding: 112px 0 128px; }
.section-intro { max-width: 660px; margin-bottom: 64px; }
.section-intro h2 { margin-bottom: .6em; }
.section-intro p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.lede { font-family: var(--serif); font-weight: 300; font-size: 1.4rem; line-height: 1.5; color: var(--ink); font-variation-settings: "opsz" 30; }

/* Two-column text section */
.split { display: grid; grid-template-columns: 1fr 1.35fr; gap: 96px; align-items: start; }
.split > h2, .about-head h2 { max-width: 12em; }
.split-body > p:last-child { margin-bottom: 0; }
.problems { list-style: none; counter-reset: p; padding: 0; margin: 2rem 0 2.2rem; }
.problems li { counter-increment: p; position: relative; padding: 1.15rem 0 1.15rem 3.2rem; font-size: 1.05rem; color: var(--body); }
.problems li + li::after, .problems li:first-child::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--rule); }
.problems li::before { content: counter(p, decimal-leading-zero); position: absolute; left: 0; top: 1.2rem; font-family: var(--serif); font-size: 1rem; color: var(--gold); letter-spacing: .04em; }

/* Services */
.phase { display: grid; grid-template-columns: 96px 1.1fr 1fr; gap: 48px; padding: 48px 0; position: relative; }
.phase::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--rule); }
.phase-no { font-family: var(--serif); font-size: 2.6rem; line-height: 1; font-weight: 300; background: linear-gradient(160deg, #B8954B, #E3CD95 55%, #C4A35A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.phase-main h3 { font-size: 1.75rem; font-weight: 400; letter-spacing: -0.01em; margin-bottom: .55em; }
.phase-main p { color: var(--body); margin: 0; max-width: 30em; }
.phase-list { list-style: none; padding: 1.1rem 1.6rem; margin: 0; background: var(--ivory); border: 1px solid var(--rule); border-radius: var(--r-md); }
.phase-list li { padding: .55rem 0 .55rem 1.3rem; position: relative; font-size: .98rem; color: var(--body); }
.phase-list li + li { border-top: 1px solid #EFE8DB; }
.phase-list li::before { content: ""; position: absolute; left: 0; top: calc(.55rem + .85em); width: 5px; height: 5px; border-radius: 50%; background: var(--gold); transform: translateY(-50%); }

/* Receptionist: rounded deep-green panel */
.dark-section { padding: 24px 0 8px; }
.dark { background: linear-gradient(155deg, #234538 0%, var(--green) 45%, var(--green-deep) 100%); color: var(--cream); border-radius: 32px; padding: 96px 88px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.dark::before { content: ""; position: absolute; left: 88px; right: 88px; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(227,205,149,.7), transparent); }
.dark h2 { color: var(--cream); margin-bottom: .7em; }
.dark .lede { color: var(--cream); }
.dark p { color: #DCD5C8; }
.receptionist { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.spec { margin: 0; background: rgba(247,241,232,.05); border: 1px solid rgba(227,205,149,.28); border-radius: var(--r-lg); padding: .4rem 1.8rem; }
.spec > div { display: grid; grid-template-columns: 112px 1fr; gap: 24px; padding: 1.3rem 0; }
.spec > div + div { border-top: 1px solid rgba(247,241,232,.12); }
.spec dt { color: var(--gold-light); font-size: 1.12rem; line-height: 1.45; }
.spec dd { margin: 0; color: #E6E0D4; }

/* Process */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 64px; }
.steps li { counter-increment: s; position: relative; padding-top: 2rem; }
.steps li::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--gold-line); opacity: .8; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--serif); font-size: 1.05rem; color: var(--gold); letter-spacing: .06em; margin-bottom: .7rem; }
.steps h3 { margin-bottom: .6em; }
.steps p { margin: 0; color: var(--body); }

/* Pricing table */
.table-wrap { background: var(--ivory); border: 1px solid var(--rule); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.pricing { width: 100%; border-collapse: collapse; }
.pricing th, .pricing td { padding: .95rem 1.5rem; border-bottom: 1px solid #EDE5D7; text-align: left; font-weight: 400; vertical-align: middle; }
.pricing thead th { vertical-align: bottom; padding-top: 2.2rem; padding-bottom: 1.6rem; border-bottom: 1px solid var(--rule); }
.pricing .feature-col { width: 42%; vertical-align: bottom; }
.corner-note { display: block; max-width: 17em; font-size: .9rem; color: var(--muted); line-height: 1.5; }
.plan-name { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.12rem; color: var(--green); line-height: 1.25; margin-bottom: .4rem; }
.plan-price { display: block; font-family: var(--serif); font-size: 2.2rem; color: var(--ink); line-height: 1.1; font-weight: 300; letter-spacing: -0.01em; }
.pricing thead th.emph { position: relative; }
.pricing thead th.emph::before { content: ""; position: absolute; left: 22%; right: 22%; top: 0; height: 2px; border-radius: 0 0 2px 2px; background: var(--gold-line); }
.pricing .emph { background: rgba(243,236,224,.6); }
.pricing tbody th { font-size: .98rem; color: var(--body); }
.pricing tr.group th { font-family: var(--serif); font-weight: 500; color: var(--green); font-size: 1.02rem; padding-top: 1.6rem; padding-bottom: .55rem; background: var(--ivory); }
.pricing tbody tr:last-child th, .pricing tbody tr:last-child td { border-bottom: 0; }
.pricing td { font-size: 0; color: transparent; text-align: center; }
.pricing td.yes::before { content: ""; display: inline-block; width: 6px; height: 11px; border: solid var(--green); border-width: 0 1.6px 1.6px 0; transform: rotate(45deg) translate(-1px, -2px); }
.pricing td.no::before { content: ""; display: inline-block; width: 12px; height: 1px; background: #C9BFAE; vertical-align: middle; }
.pricing thead th:not(.feature-col) { text-align: center; }
.pricing-mobile { display: none; }
.terms { display: grid; grid-template-columns: 1fr 1fr auto; gap: 48px; align-items: center; margin-top: 48px; }
.terms p { margin: 0; color: var(--body); }

/* About */
.about-head { display: flex; flex-direction: column; gap: 40px; }
.about-mark { width: 112px; height: 112px; opacity: .95; }
.signature { font-family: var(--serif); font-size: 1.25rem; color: var(--green); margin-top: 2.2rem; padding-top: 1.3rem; display: inline-block; min-width: 16em; position: relative; }
.signature::before { content: ""; position: absolute; left: 0; top: 0; width: 64px; height: 1px; background: var(--gold-line); }
.signature span { display: block; font-family: var(--sans); font-size: .9rem; color: var(--muted); }

/* FAQ */
.faq { margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 80px; }
.faq > div { padding: 1.8rem 0; position: relative; }
.faq > div::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--rule); }
.faq dt { font-size: 1.25rem; line-height: 1.3; margin-bottom: .55rem; font-weight: 400; }
.faq dd { margin: 0; color: var(--body); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 96px; align-items: start; }
.contact h2 { margin-bottom: .6em; }
.contact-details { margin: 2.2rem 0 0; }
.contact-details > div { display: grid; grid-template-columns: 8.5em 1fr; gap: 16px; padding: 1.05rem 0; position: relative; }
.contact-details > div::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--rule); }
.contact-details dt { font-family: var(--sans); font-weight: 500; font-size: .95rem; color: var(--muted); }
.contact-details dd { margin: 0; }
.quote-form { background: var(--ivory); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 2.4rem 2.4rem 2rem; box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; margin-bottom: 1.25rem; }
label { font-size: .88rem; font-weight: 500; color: var(--muted); margin-bottom: .45rem; letter-spacing: .01em; }
input, select, textarea { font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid var(--rule); border-radius: var(--r-sm); padding: .78em .95em; width: 100%; transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
input:hover, select:hover, textarea:hover { border-color: #D3C7B3; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(196,163,90,.16); }
input::placeholder { color: #A0A69F; }
select { appearance: none; -webkit-appearance: none; padding-right: 2.6em; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231F3D32' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 1em center / 12px 8px; }
.form-note { font-size: .86rem; color: var(--muted); margin: 1rem 0 0; }
.form-note.error { color: #9B2C2C; }

/* Footer: rounded top edge */
.site-footer { background: linear-gradient(180deg, var(--green) 0%, var(--green-deep) 100%); color: #DCD5C8; padding: 88px 0 44px; border-radius: 40px 40px 0 0; margin-top: 32px; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 12%; right: 12%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(227,205,149,.75), transparent); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 1.2rem; }
.footer-inner p { margin: 0 0 .45rem; font-size: .95rem; }
.site-footer a { color: var(--cream); background-image: linear-gradient(90deg, rgba(227,205,149,.8), rgba(227,205,149,.8)); background-size: 0 1px; }
.site-footer a:hover { background-size: 100% 1px; }
.footer-brand + .footer-col a { background-size: 100% 1px; }
.footer-col { display: flex; flex-direction: column; gap: .45rem; font-size: .95rem; align-items: flex-start; }
.copy { grid-column: 1 / -1; padding-top: 26px; margin-top: 20px !important; font-size: .85rem !important; color: #ADB5AC; position: relative; }
.copy::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(247,241,232,.12); }

/* Fade-up on scroll (only when JS runs; disabled for reduced motion) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}

/* Responsive */
@media (max-width: 1060px) {
  .dark { padding: 80px 56px; }
  .dark::before { left: 56px; right: 56px; }
}
@media (max-width: 980px) {
  .nav { gap: 1.4rem; }
  .hero-grid { gap: 56px; }
  .split, .receptionist, .contact { grid-template-columns: 1fr; gap: 48px; }
  .about-head { flex-direction: row; align-items: center; justify-content: space-between; }
  .about-mark { width: 80px; height: 80px; }
  .phase { grid-template-columns: 72px 1fr; }
  .phase-list { grid-column: 2; }
  .terms { grid-template-columns: 1fr 1fr; }
  .terms p:last-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav a:not(.btn) { display: none; }
  .hero { padding: 48px 0 88px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo img { aspect-ratio: 4 / 3; object-position: 50% 30%; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  h1 { font-weight: 350; font-size: 2.35rem; }
  h2 { font-weight: 350; }
  .wrap { width: min(1160px, 100% - 40px); }
  .header-inner { height: 74px; }
  .brand img { height: 42px; }
  .btn-small { padding: .6em 1.1em; font-size: .88rem; }
  .section { padding: 88px 0; }
  #who.band { padding: 80px 0 88px; }
  .band { background: linear-gradient(180deg, var(--paper) 0, var(--sand) 80px, var(--sand) calc(100% - 80px), var(--paper) 100%); }
  .section-intro { margin-bottom: 40px; }
  .hero-photo img { border-radius: 16px; }
  .phase { grid-template-columns: 1fr; gap: 16px; padding: 36px 0; }
  .phase-list { grid-column: auto; padding: .8rem 1.2rem; }
  .phase-no { font-size: 2rem; }
  .dark-section { padding: 8px 0; }
  .dark { padding: 64px 26px; border-radius: 24px; }
  .dark::before { left: 26px; right: 26px; }
  .spec { padding: .2rem 1.2rem; border-radius: 16px; }
  .spec > div { grid-template-columns: 1fr; gap: 4px; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .faq { grid-template-columns: 1fr; }
  .terms { grid-template-columns: 1fr; gap: 22px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .quote-form { padding: 1.6rem 1.3rem 1.4rem; border-radius: 16px; }
  .contact-details > div { grid-template-columns: 1fr; gap: 2px; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .site-footer { border-radius: 28px 28px 0 0; padding: 64px 0 40px; }
  .lede { font-size: 1.22rem; }
  .about-mark { width: 64px; height: 64px; }
  /* Pricing on phones: stacked panels instead of the table */
  .table-wrap { display: none; }
  .pricing-mobile { display: grid; gap: 16px; }
  .pm-plan { background: var(--ivory); border: 1px solid var(--rule); border-radius: 16px; padding: 1.5rem 1.4rem; box-shadow: 0 20px 40px -32px rgba(31,61,50,.3); }
  .pm-plan h3 { font-size: 1.18rem; font-weight: 500; }
  .pm-price { font-family: var(--serif); font-weight: 300; font-size: 2rem; line-height: 1.2; margin: .2rem 0 .7rem; color: var(--ink); }
  .pm-plan p:last-child { margin: 0; color: var(--body); font-size: .97rem; }
  .pm-emph { position: relative; }
  .pm-emph::before { content: ""; position: absolute; left: 1.4rem; right: 1.4rem; top: 0; height: 2px; background: var(--gold-line); border-radius: 0 0 2px 2px; }
}
