/* =====================================================================
   3 Felix Brothers - styles
   ✏️ EDIT: change the colors below to restyle the whole site.
   ===================================================================== */
:root {
  --cream: #fff8ef;       /* page background */
  --tint: #fdeedd;        /* alternating section background */
  --ink: #2b2420;         /* main text */
  --muted: #6b5e55;       /* softer text */
  --navy: #1b2340;        /* dark blue: header and top section */
  --primary: #f0891d;     /* warm orange: buttons, accents */
  --primary-dark: #d9740c;
  --teal: #2f7d73;        /* secondary accent */
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 6px 24px rgba(80, 45, 20, 0.08);
  --serif: Georgia, "Times New Roman", serif;   /* big headlines */
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6em; }
h1, h2 { font-family: var(--serif); font-weight: 700; }
h1 { font-size: clamp(2rem, 7vw, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 5vw, 2.25rem); text-align: center; margin-bottom: 1.2em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--teal); }

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.85em 1.8em;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 18px rgba(240, 137, 29, 0.35);
}
.btn:hover, .btn:focus-visible { background: var(--primary-dark); transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.btn-big { font-size: 1.2rem; padding: 1em 2.6em; }
.btn-small { padding: 0.45em 1.1em; font-size: 0.95rem; box-shadow: none; }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.28); box-shadow: none; }
.btn-outline:hover, .btn-outline:focus-visible { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }
.btn-icon { width: 1.1em; height: 1.1em; vertical-align: -0.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-light { background: var(--white); color: var(--primary-dark); box-shadow: 0 4px 14px rgba(0,0,0,0.12); }
.btn-light:hover, .btn-light:focus-visible { background: var(--cream); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(27, 35, 64, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-weight: 800; }
.brand-mark { width: 40px; height: 22px; color: var(--primary); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { display: none; color: #d7dbea; text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav a:not(.btn):hover { color: var(--primary); }
@media (min-width: 760px) { .nav a:not(.btn) { display: inline; } }

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: var(--white); padding: 40px 0 64px; overflow: hidden; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1fr 1fr; gap: 56px; } .hero { padding: 56px 0 88px; } }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(240, 137, 29, 0.14); color: var(--primary);
  font-weight: 700; font-size: 0.85rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.badge svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero h1 { font-size: clamp(2.6rem, 9vw, 4.2rem); line-height: 1.02; letter-spacing: -0.01em; margin-bottom: 0.45em; }
.hero h1 .accent { display: block; color: var(--primary); }
.lead { font-size: 1.15rem; color: #d7dbea; margin: 0 0 1.8em; max-width: 31em; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-buttons .btn { font-size: 1.1rem; padding: 0.9em 1.6em; border-radius: 10px; }
.hero-buttons .btn:not(.btn-outline) { color: var(--navy); }
@media (max-width: 480px) { .hero-buttons .btn { flex: 1 1 100%; text-align: center; } }
.hero-note { margin-top: 1.1em; font-size: 0.9rem; color: #a5abc2; }
.hero-photo { position: relative; padding-bottom: 28px; }
.hero-photo img {
  display: block; width: 100%; height: auto; aspect-ratio: 512 / 300; object-fit: cover;
  border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.photo-card {
  position: absolute; left: 6%; bottom: 0; right: 18%;
  display: flex; align-items: center; gap: 12px;
  background: var(--cream); color: var(--ink); border-radius: 10px;
  padding: 12px 16px; font-size: 0.92rem; font-weight: 600; line-height: 1.35;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.photo-card svg { flex: none; width: 30px; height: 30px; fill: none; stroke: var(--primary); stroke-width: 1.8; stroke-linecap: round; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-tint { background: var(--tint); }

/* "Is this right for you?" */
.section-fit { background: #fcfbf9; }
.eyebrow { text-align: center; color: var(--primary-dark); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 0.4em; }
h2.with-intro { color: var(--navy); margin-bottom: 0.5em; }
.section-intro { text-align: center; color: var(--muted); font-size: 1.1rem; max-width: 36em; margin: 0 auto 2.5em; }
.fit-cards { display: grid; gap: 20px; }
@media (min-width: 640px) { .fit-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .fit-cards { grid-template-columns: repeat(4, 1fr); } }
.fit-card { background: var(--white); border: 1px solid #e6e3df; border-radius: 16px; padding: 28px 24px; }
.fit-card h3 { color: var(--navy); font-size: 1.15rem; margin: 14px 0 10px; }
.fit-card p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.fit-icon { width: 32px; height: 32px; fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* How it works (3 steps) */
.how-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
@media (min-width: 760px) { .how-steps { grid-template-columns: repeat(3, 1fr); } }
.how-step { padding: 30px 28px; }
.how-step h3 { margin-top: 22px; font-size: 1.25rem; }
.how-step p { font-size: 1rem; margin-bottom: 18px; }
.how-num {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); color: var(--white); font: 700 1.1rem var(--serif);
}
.learn-more { color: var(--primary-dark); font-weight: 700; font-size: 0.92rem; text-decoration: none; }
.learn-more:hover { text-decoration: underline; }

/* Why 3 Felix Brothers */
.section-about { background: #f8f6f3; }
.about-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.1fr 1fr; gap: 48px; } }
.eyebrow-left { text-align: left; }
.about-h2 { text-align: left; color: var(--navy); margin-bottom: 0.5em; }
.about-intro { color: var(--muted); font-size: 1.1rem; margin-bottom: 1.6em; }
.about-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.about-list li { display: flex; gap: 14px; align-items: flex-start; }
.about-list svg { flex: none; width: 24px; height: 24px; margin-top: 2px; fill: none; stroke: var(--primary); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.about-list h3 { font-size: 1.02rem; color: var(--navy); margin: 0 0 2px; }
.about-list p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.about-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.about-photos img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; box-shadow: 0 14px 34px rgba(27, 35, 64, 0.16); }
.about-photos img:last-child { margin-top: 32px; }

/* Cards */
.cards { display: grid; gap: 20px; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.card p { color: var(--muted); margin: 0; }
.icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: #ffe7d4; display: grid; place-items: center; margin-bottom: 16px;
}
.icon svg { width: 28px; height: 28px; fill: none; stroke: var(--primary-dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Lists */
.checks, .reqs { list-style: none; padding: 0; margin: 1.5em 0 0; }
.checks li, .reqs li { position: relative; padding: 0.55em 0 0.55em 2.2em; }
.checks li::before, .reqs li::before {
  content: ""; position: absolute; left: 0; top: 0.8em;
  width: 1.3em; height: 1.3em; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.reqs li { background: var(--white); border-radius: 12px; margin-bottom: 10px; padding: 0.9em 1em 0.9em 3em; box-shadow: var(--shadow); }
.reqs li::before { left: 1em; top: 1.15em; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--white); border-radius: var(--radius); padding: 28px 24px; text-align: center; box-shadow: var(--shadow); }
.step p { color: var(--muted); margin: 0; }
.step-num {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  font-weight: 800; font-size: 1.3rem; margin-bottom: 14px;
}

/* FAQ */
.faq details {
  background: var(--white); border-radius: 14px; margin-bottom: 12px;
  box-shadow: var(--shadow); overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; font-weight: 700;
  padding: 18px 52px 18px 20px; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--primary); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, #e9a23b 100%);
  color: var(--white); text-align: center; padding: 72px 0;
}
.cta h2 { margin-bottom: 0.4em; }
.cta p { font-size: 1.15rem; margin-bottom: 1.8em; }

/* Footer */
.site-footer { background: var(--ink); color: #e9dfd6; padding: 36px 0; text-align: center; }
.site-footer a { color: #ffc49e; }
.footer-brand { font-weight: 800; color: var(--white); font-size: 1.1rem; }
.small { font-size: 0.85rem; opacity: 0.75; margin: 0; }
