/* Patriots Teas of Origin: brand blue + leaf green from the logo, on warm paper. */
:root {
  --blue: #1c5a9c;
  --blue-deep: #123c6b;
  --leaf: #5f9e3a;
  --leaf-deep: #3f6f24;
  --ink: #1d2a22;
  --ink-soft: #4a5a50;
  --paper: #fbf8f1;
  --tint: #f1efe4;
  --line: #e2ddcc;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(18, 60, 107, 0.25);
  --serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --tea-purple: #6b3c7d;
  --tea-green: #6fa83c;
  --tea-yellow: #d9a520;
  --tea-silver: #9aa3a8;
  --tea-black: #7a3b17;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font: 17px/1.7 var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; color: var(--blue-deep); margin: 0 0 0.6em; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
figure { margin: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-inline: auto; }
.lead { font-size: 1.15rem; color: var(--ink-soft); }
.muted { color: var(--ink-soft); font-size: 0.95rem; }
.eyebrow {
  font: 700 0.78rem/1.2 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--leaf-deep);
  margin: 0 0 0.9rem;
}
.eyebrow--light { color: #cfe8b8; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--blue); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 16px; top: 16px; }

/* Top bar + header */
.topbar { background: var(--blue-deep); color: #dbe7f5; font-size: 0.85rem; }
.topbar__inner { display: flex; gap: 24px; justify-content: flex-end; padding: 6px 0; flex-wrap: wrap; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 241, 0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--blue-deep); }
.brand__logo { width: 52px; height: 52px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font: 700 1.45rem var(--serif); }
.brand__tag { font: 700 0.7rem var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--leaf-deep); }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.site-nav a:hover { background: var(--tint); color: var(--blue-deep); }
.site-nav a[aria-current='page'] { color: var(--blue); box-shadow: inset 0 -3px 0 var(--leaf); border-radius: 8px 8px 0 0; }

.nav-toggle { display: none; align-items: center; gap: 8px; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font: 600 0.95rem var(--sans); color: var(--ink); cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ''; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; padding: 8px 16px 16px; }
  .site-nav a { padding: 12px; }
  .site-nav a[aria-current='page'] { box-shadow: inset 3px 0 0 var(--leaf); border-radius: 0 8px 8px 0; }
  .topbar__inner { justify-content: center; }
}
/* Without JavaScript the menu is always visible */
html:not(.js) .nav-toggle { display: none; }
html:not(.js) .site-nav { display: block; position: static; box-shadow: none; border: 0; }
@media (max-width: 960px) {
  html:not(.js) .site-header__inner { flex-wrap: wrap; }
  html:not(.js) .site-nav ul { flex-direction: row; flex-wrap: wrap; padding: 0; }
}

/* Buttons + links */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.actions--center { justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 24px; border-radius: 999px; font: 700 0.98rem var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform 0.15s, background-color 0.15s; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--leaf); color: #fff; }
.btn--primary:hover { background: var(--leaf-deep); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, 0.8); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }
.btn--light { background: #fff; color: var(--blue-deep); }
.btn--light:hover { background: #eaf3df; color: var(--blue-deep); }
.btn--outline { border-color: var(--blue); color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn--whatsapp { background: #1f8f4e; color: #fff; }
.btn--whatsapp:hover { background: #17713d; color: #fff; }
.text-link { font-weight: 700; text-decoration: none; color: var(--leaf-deep); }
.text-link::after { content: ' \2192'; }
.text-link:hover { text-decoration: underline; color: var(--leaf-deep); }

/* Heroes */
.hero, .page-hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; }
.hero { min-height: min(82vh, 720px); display: flex; align-items: flex-end; }
.page-hero { min-height: 340px; display: flex; align-items: flex-end; }
.hero__img, .page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after, .page-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18, 40, 30, 0.15) 0%, rgba(18, 40, 30, 0.35) 40%, rgba(12, 36, 64, 0.85) 100%); }
.hero__body { padding: 120px 0 72px; max-width: 760px; margin-left: max(16px, (100% - 1160px) / 2); }
.page-hero__body { padding: 90px 0 48px; }
.hero h1, .page-hero h1 { color: #fff; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35); }
.hero .lead, .page-hero .lead { color: #eef3ea; max-width: 640px; }

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--slim { padding: 22px 0; border-bottom: 1px solid var(--line); background: var(--white); }
.section--tint { background: var(--tint); }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split > figure { align-self: start; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
}
.frame img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; aspect-ratio: 4 / 3; }
.frame--tall img { aspect-ratio: 3 / 4; max-height: 620px; }
.frame--small img { aspect-ratio: 1; max-width: 320px; margin-inline: auto; }
@media (max-width: 860px) { .frame--tall img { aspect-ratio: 4 / 3; } }

/* Cards */
.cards { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 20px; }
.cards--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 0; }
.cards--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02); border-top: 4px solid var(--leaf); }
.card h3 { font-size: 1.2rem; }
.card p:last-of-type { margin-bottom: 0.8em; }
.card--feature { border-top-color: var(--blue); }
.numbered { counter-reset: n; }
.numbered .card { counter-increment: n; position: relative; padding-top: 30px; }
.numbered .card h3::before { content: counter(n) '. '; color: var(--leaf-deep); }

/* Gallery */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 14px; }
.gallery figure:first-child { grid-row: span 2; }
.gallery figure:last-child { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery figure:first-child, .gallery figure:last-child { grid-row: auto; grid-column: span 2; }
  .gallery img { aspect-ratio: 4 / 3; }
}

/* CTA band */
.cta { background: linear-gradient(135deg, var(--blue-deep), var(--blue) 60%, #2c7a6a); color: #e8f0f8; padding: clamp(56px, 8vw, 88px) 0; }
.cta h2 { color: #fff; }

/* Chips (in-page navigation) */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0 auto; padding: 0; justify-content: center; }
.chip { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.92rem; }
.chip:hover { border-color: var(--leaf); color: var(--leaf-deep); }
.chips--numbered { counter-reset: c; }
.chips--numbered li { counter-increment: c; }
.chips--numbered .chip::before { content: counter(c); display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border-radius: 50%; background: var(--leaf); color: #fff; font-size: 0.75rem; }
.chip--purple { border-left: 6px solid var(--tea-purple); }
.chip--green { border-left: 6px solid var(--tea-green); }
.chip--yellow { border-left: 6px solid var(--tea-yellow); }
.chip--silver-needles { border-left: 6px solid var(--tea-silver); }
.chip--black { border-left: 6px solid var(--tea-black); }

/* Products */
.swatch { display: block; width: 56px; height: 6px; border-radius: 3px; margin-bottom: 18px; }
.swatch--purple { background: var(--tea-purple); }
.swatch--green { background: var(--tea-green); }
.swatch--yellow { background: var(--tea-yellow); }
.swatch--silver-needles { background: var(--tea-silver); }
.swatch--black { background: var(--tea-black); }
.list-title { font: 700 0.8rem var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-top: 1.6rem; }
.tea-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.tea-list li { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; font-weight: 600; color: var(--blue-deep); }
.section--tint .tea-list li { background: var(--paper); }

/* Steps (long-form sub-sections) */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; margin-top: 40px; }
.steps article { background: var(--white); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.section--tint .steps article { background: var(--paper); }
.steps h3 { font-size: 1.15rem; }
.steps p:last-child { margin-bottom: 0; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.pair .frame img { aspect-ratio: 4 / 3; box-shadow: none; }
@media (max-width: 420px) { .steps { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.details { margin: 0; display: grid; gap: 18px; }
.details dt { font: 700 0.78rem var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--leaf-deep); }
.details dd { margin: 4px 0 0; font-size: 1.05rem; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 0.95rem; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid #cfc8b4; border-radius: 10px; background: var(--paper); color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--leaf); border-color: var(--leaf); }
.form button { justify-self: start; }
.map iframe { display: block; width: 100%; height: 420px; border: 0; filter: saturate(0.9); }

/* Footer */
.site-footer { background: #13261c; color: #c8d3cb; padding: 64px 0 0; font-size: 0.95rem; }
.site-footer a { color: #e7efe9; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.brand--footer { color: #fff; margin-bottom: 16px; }
.brand--footer .brand__tag { color: #9fd17a; }
.footer-title { font: 700 0.8rem var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: #9fd17a; margin-bottom: 14px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-list a { text-decoration: none; }
.footer-list a:hover { text-decoration: underline; }
.footer-social { list-style: none; padding: 0; display: flex; gap: 14px; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 48px; padding: 20px 0 28px; font-size: 0.85rem; }
.footer-base p { margin: 0; }

.notfound { min-height: 50vh; display: grid; place-items: center; }
