/* 2ndRaja — buys used IT assets from companies in Hyderabad and Bangalore */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0b1c2c;
  --ink-2: #13293f;
  --ink-3: #1d3a55;
  --paper: #faf7f2;
  --paper-2: #f2ece2;
  --card: #ffffff;
  --line: #e2dacd;
  --text: #17212c;
  --muted: #4a5563;
  --on-ink: #ffffff;
  --on-ink-muted: #c4ced9;
  --gold: #d2a04f;      /* on ink backgrounds and as fills */
  --gold-2: #e2b666;    /* hover */
  --gold-text: #845a19; /* gold for text on light backgrounds (AA) */
  --gold-soft: #f6ead3;
  --focus: #2f7de1;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* spacing scale */
  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem;
  --s6: 2rem; --s7: 3rem; --s8: 4rem; --s9: 6rem;

  /* type scale */
  --t-sm: .9375rem;
  --t-base: 1.0625rem;
  --t-lg: 1.1875rem;
  --t-h4: 1.125rem;
  --t-h3: clamp(1.2rem, 1.1rem + .4vw, 1.375rem);
  --t-h2: clamp(1.6rem, 1.3rem + 1.3vw, 2.25rem);
  --t-h1: clamp(2.2rem, 1.6rem + 3vw, 3.75rem);

  --radius: 14px;
  --radius-sm: 9px;
  --wrap: 72rem;
  --shadow: 0 1px 2px rgba(11, 28, 44, .06), 0 8px 24px rgba(11, 28, 44, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--t-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 var(--s4); letter-spacing: -.015em; color: var(--ink); }
h1 { font-size: var(--t-h1); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: var(--t-h2); font-weight: 800; letter-spacing: -.025em; }
h3 { font-size: var(--t-h3); font-weight: 700; }
h4 { font-size: var(--t-h4); font-weight: 700; }
p, ul, ol, dl, table { margin: 0 0 var(--s4); }
ul, ol { padding-left: 1.25rem; }
li + li { margin-top: .35rem; }
a { color: var(--ink-3); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--gold-text); }
strong { font-weight: 700; }
small { font-size: var(--t-sm); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: var(--s4); top: -100px; z-index: 100;
  background: var(--gold); color: var(--ink); padding: var(--s3) var(--s4);
  font-weight: 700; border-radius: var(--radius-sm); text-decoration: none;
}
.skip-link:focus { top: var(--s4); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s5); }
.narrow { max-width: 46rem; }
.section { padding: var(--s8) 0; }
.section--tint { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--on-ink-muted); }
.section--ink h2, .section--ink h3 { color: var(--on-ink); }
.section-head { max-width: 44rem; margin-bottom: var(--s6); }
.section-head p { color: var(--muted); font-size: var(--t-lg); }
.section--ink .section-head p { color: var(--on-ink-muted); }
.eyebrow {
  display: inline-block; font-size: .8125rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold-text); margin-bottom: var(--s3);
}
.section--ink .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--gold); }
.lead { font-size: var(--t-lg); color: var(--muted); }
.muted { color: var(--muted); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink); color: var(--on-ink);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; text-decoration: none; padding: var(--s2) 0; }
.brand img { height: 34px; width: auto; }
.nav-toggle {
  display: inline-flex; align-items: center; gap: var(--s2);
  color: var(--on-ink); text-decoration: none; font-weight: 600;
  min-height: 44px; padding: 0 var(--s3); border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--radius-sm);
  background: transparent; font: inherit; cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }
.site-nav { display: none; }
.site-nav:target, .site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li + li { margin-top: 0; }
.site-nav a {
  display: block; color: var(--on-ink); text-decoration: none; font-weight: 600; font-size: var(--t-sm);
  padding: var(--s3) 0; border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.site-nav a:hover { color: var(--gold); }
.site-nav a[aria-current="page"] { color: var(--gold); }
.nav-close { display: block; }
.js .nav-close { display: none; }
.header-cta { display: none; }

@media (max-width: 1199.98px) {
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--ink); padding: var(--s2) var(--s5) var(--s5);
    border-bottom: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 16px 32px rgba(0, 0, 0, .25);
  }
  .site-nav .btn { margin-top: var(--s4); width: 100%; }
}
@media (min-width: 1200px) {
  .nav-toggle, .nav-close { display: none !important; }
  .site-nav { display: block; }
  .site-nav ul { display: flex; align-items: center; gap: var(--s1); }
  .site-nav a { border: 0; padding: var(--s2) .625rem; border-radius: 6px; }
  .site-nav .nav-cta-item { margin-left: var(--s3); }
  .site-nav .nav-cta-item a { padding: 0 var(--s4); }
  .site-nav .nav-phone-item { margin-left: var(--s2); }
}

/* Header phone + CTA must stay vertically centred even though .site-nav a is display:block */
.site-nav a.btn,
.site-nav a.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border-bottom: 0;
  box-sizing: border-box;
}
.site-nav a.header-phone {
  gap: .4rem;
  min-height: 44px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--on-ink);
}
.site-nav a.header-phone svg { width: 16px; height: 16px; flex: none; }
@media (max-width: 1199.98px) {
  .site-nav a.btn,
  .site-nav a.header-phone { display: flex; width: 100%; margin-top: var(--s3); }
  .site-nav a.header-phone { justify-content: flex-start; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 48px; padding: 0 var(--s5); border-radius: var(--radius-sm);
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
  text-align: center;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary, .site-nav a.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover, .site-nav a.btn-primary:hover { background: var(--gold-2); color: var(--ink); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .4); color: var(--on-ink); }
.btn-ghost-light:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--on-ink); }
.btn-sm { min-height: 44px; padding: 0 var(--s4); font-size: var(--t-sm); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); }
.text-link { font-weight: 700; color: var(--ink); text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
@media (max-width: 1199.98px) {
  .text-link { display: inline-flex; align-items: center; min-height: 44px; }
}
.text-link::after { content: " \2192"; }
.section--ink .text-link { color: var(--on-ink); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--on-ink-muted);
  padding: var(--s8) 0 var(--s8);
}
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}
.hero .wrap, .page-hero .wrap { position: relative; }
.hero h1, .page-hero h1 { color: var(--on-ink); }
.hero h1 span { display: block; color: var(--gold); font-size: .55em; letter-spacing: -.02em; margin-top: var(--s3); font-weight: 700; }
.hero .lead, .page-hero .lead { color: var(--on-ink-muted); max-width: 38rem; }
.hero-grid { display: grid; gap: var(--s7); align-items: center; }
.hero-note { margin-top: var(--s5); font-size: var(--t-sm); color: var(--on-ink-muted); }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.15fr .85fr; } .hero { padding: var(--s9) 0; } }

/* Example asset list panel */
.sheet {
  background: var(--paper); color: var(--text); border-radius: var(--radius);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .35); overflow: hidden; font-size: var(--t-sm);
  border: 1px solid rgba(255, 255, 255, .2);
}
.sheet-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); background: var(--paper-2); padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line); }
.sheet-bar strong { font-size: var(--t-sm); color: var(--ink); }
.sheet-tag { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); background: var(--gold-soft); padding: 2px 8px; border-radius: 99px; }
.sheet-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sheet table { width: 100%; min-width: 22rem; border-collapse: collapse; margin: 0; }
.sheet th, .sheet td { text-align: left; padding: .6rem var(--s4); border-bottom: 1px solid var(--line); vertical-align: top; }
.sheet th { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.sheet td.num { font-variant-numeric: tabular-nums; }
.sheet-foot { display: flex; align-items: center; gap: var(--s3); padding: var(--s4); background: var(--card); }
.sheet-foot svg { width: 28px; height: 28px; color: var(--gold-text); flex: none; }
.sheet-foot p { margin: 0; font-weight: 600; color: var(--ink); }

/* Page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; background: var(--ink); color: var(--on-ink-muted); padding: var(--s7) 0 var(--s8); }
.page-hero .btn-row { margin-top: var(--s5); }
.breadcrumb { font-size: var(--t-sm); margin-bottom: var(--s5); }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.breadcrumb li + li { margin-top: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: var(--s2); color: rgba(255, 255, 255, .4); }
.breadcrumb a { color: var(--on-ink-muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb [aria-current] { color: var(--on-ink); }

/* Fact strip */
.facts { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.facts ul { list-style: none; margin: 0; padding: var(--s5) 0; display: grid; gap: var(--s4); grid-template-columns: 1fr; }
.facts li { margin: 0; display: flex; align-items: center; gap: var(--s3); font-weight: 600; color: var(--ink); font-size: var(--t-sm); }
.facts svg { width: 26px; height: 26px; color: var(--gold-text); flex: none; }
@media (min-width: 560px) { .facts ul { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .facts ul { grid-template-columns: repeat(4, 1fr); } }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s4); counter-reset: step; }
.steps > li { margin: 0; position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5); box-shadow: var(--shadow); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--ink); color: var(--gold); font-weight: 800; font-size: 1.05rem; margin-bottom: var(--s4);
}
.steps h3 { margin-bottom: var(--s2); }
.steps p { margin: 0; color: var(--muted); }
.steps .icon { position: absolute; right: var(--s5); top: var(--s5); width: 30px; height: 30px; color: var(--gold-text); }
@media (min-width: 700px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .steps--4 { grid-template-columns: repeat(4, 1fr); } }
.section-foot { margin-top: var(--s6); }

/* Detailed steps (how it works) */
.step-detail { display: grid; gap: var(--s5); padding: var(--s7) 0; border-top: 1px solid var(--line); }
.step-detail:first-of-type { border-top: 0; padding-top: 0; }
.step-detail .step-num { width: 3.25rem; height: 3.25rem; font-size: 1.35rem; }
@media (min-width: 800px) { .step-detail { grid-template-columns: 5rem 1fr; } }

/* Cards / grids */
.grid { display: grid; gap: var(--s4); }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5); box-shadow: var(--shadow); }
.card h3 { margin-bottom: var(--s2); }
.card p { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 34px; height: 34px; color: var(--gold-text); margin-bottom: var(--s4); }
.card--link { display: flex; flex-direction: column; }
.card--link .text-link { margin-top: auto; padding-top: var(--s3); }
.section--ink .card { background: var(--ink-2); border-color: rgba(255, 255, 255, .1); box-shadow: none; }
.section--ink .card p { color: var(--on-ink-muted); }
.section--ink .card .icon { color: var(--gold); }

.item { display: flex; gap: var(--s4); align-items: flex-start; }
.item .icon { width: 30px; height: 30px; flex: none; color: var(--gold-text); margin-top: 2px; }
.item h3 { font-size: var(--t-h4); margin-bottom: var(--s1); }
.item p { margin: 0; color: var(--muted); font-size: var(--t-sm); }
.items { display: grid; gap: var(--s5) var(--s6); }
@media (min-width: 640px) { .items { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .items--4 { grid-template-columns: repeat(4, 1fr); } }

/* City cards */
.city { position: relative; overflow: hidden; background: var(--ink); color: var(--on-ink-muted); border-radius: var(--radius); padding: var(--s6); }
.city h3 { color: var(--on-ink); font-size: var(--t-h2); }
.city p { color: var(--on-ink-muted); }
.city .tag { display: inline-block; font-size: .8125rem; font-weight: 700; color: var(--ink); background: var(--gold); border-radius: 99px; padding: 2px 10px; margin-bottom: var(--s4); }
.city .text-link { color: var(--on-ink); }
.city::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px; border: 2px solid rgba(210, 160, 79, .25); border-radius: 50%; box-shadow: 0 0 0 28px rgba(210, 160, 79, .05); }

/* Prose for content pages */
.prose { max-width: 46rem; }
.prose h2 { margin-top: var(--s7); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--s5); }
.split { display: grid; gap: var(--s7); }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 20rem; align-items: start; } .split aside { position: sticky; top: 6rem; } }
.aside-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5); box-shadow: var(--shadow); }
.aside-card h2 { font-size: var(--t-h3); }
.aside-card .btn { width: 100%; margin-top: var(--s3); }
.aside-card p { color: var(--muted); font-size: var(--t-sm); }

.note { border-left: 4px solid var(--gold); background: var(--gold-soft); padding: var(--s4) var(--s5); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: var(--s5) 0; }
.note p:last-child { margin: 0; }
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 1.9rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23D2A04F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat;
}

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); margin-bottom: var(--s5); }
.data-table { width: 100%; border-collapse: collapse; margin: 0; font-size: var(--t-sm); }
.data-table th, .data-table td { text-align: left; padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th { background: var(--paper-2); color: var(--ink); font-weight: 700; }
.data-table tbody tr:last-child td { border-bottom: 0; }

/* Category blocks (what we buy) */
.cat { display: grid; gap: var(--s4); padding: var(--s6) 0; border-top: 1px solid var(--line); }
.cat:first-of-type { border-top: 0; padding-top: 0; }
.cat .icon { width: 44px; height: 44px; color: var(--gold-text); }
.cat h2 { font-size: var(--t-h3); margin-bottom: var(--s2); }
.cat ul { color: var(--muted); }
@media (min-width: 800px) { .cat { grid-template-columns: 4rem 1fr; } }

/* FAQ */
.faq { display: grid; gap: var(--s3); max-width: 50rem; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: var(--s4) var(--s5); display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  min-height: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3, .faq summary h2 { font-size: var(--t-h4); margin: 0; }
.faq summary::after {
  content: ""; flex: none; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--paper-2)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%230B1C2C' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/70% no-repeat;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq .answer { padding: 0 var(--s5) var(--s4); }
.faq .answer p:last-child { margin-bottom: 0; }
.faq .answer p:first-child { font-weight: 600; color: var(--ink); }
.faq-group { margin-bottom: var(--s7); }
.faq-group > h2 { font-size: var(--t-h3); margin-bottom: var(--s4); }

/* Closing CTA */
.cta-band { background: var(--ink); color: var(--on-ink-muted); padding: var(--s8) 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; left: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; border: 2px solid rgba(210, 160, 79, .2); }
.cta-band .wrap { position: relative; display: grid; gap: var(--s5); align-items: center; }
.cta-band h2 { color: var(--on-ink); margin-bottom: var(--s3); }
.cta-band p { margin: 0; max-width: 38rem; }
.cta-band .small-contacts { margin-top: var(--s4); font-size: var(--t-sm); }
.cta-band a:not(.btn) { color: var(--on-ink); }
@media (min-width: 960px) { .cta-band .wrap { grid-template-columns: 1fr auto; } }

/* Contact */
.contact-grid { display: grid; gap: var(--s4); }
@media (min-width: 720px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .contact-grid { grid-template-columns: 1fr 1fr 1fr 1fr; } }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: var(--s2); }
.contact-card--primary { border: 2px solid var(--gold); }
.contact-card h2 { font-size: var(--t-h3); margin: 0; }
.contact-card .icon { width: 30px; height: 30px; color: var(--gold-text); }
.contact-card .big { font-size: var(--t-lg); font-weight: 700; color: var(--ink); word-break: break-word; }
.contact-card p { margin: 0; color: var(--muted); }
.contact-card .btn { align-self: flex-start; margin-top: var(--s3); }
address { font-style: normal; }
.template { position: relative; background: var(--ink); color: #e9eef4; border-radius: var(--radius); padding: var(--s5); font-size: var(--t-sm); white-space: pre-wrap; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; line-height: 1.7; margin: 0 0 var(--s4); overflow-x: auto; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-ink-muted); padding: var(--s8) 0 var(--s6); font-size: var(--t-sm); }
.site-footer a { color: var(--on-ink); }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; gap: var(--s6); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-brand img.wordmark { height: 32px; width: auto; margin-bottom: var(--s4); }
.site-footer h2 { color: var(--on-ink); font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: var(--s4); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: var(--s2); }
.site-footer li a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 0; }
.footer-bottom { margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid rgba(255, 255, 255, .12); display: grid; gap: var(--s2); }
.footer-bottom p { margin: 0; }

/* Mobile action bar */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 2fr 1fr; gap: 1px;
  background: rgba(255, 255, 255, .12); border-top: 1px solid rgba(255, 255, 255, .12);
  padding-bottom: env(safe-area-inset-bottom);
}
.action-bar a { display: flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 54px; background: var(--ink); color: var(--on-ink); text-decoration: none; font-weight: 700; font-size: var(--t-sm); }
.action-bar a.primary { background: var(--gold); color: var(--ink); }
.action-bar svg { width: 18px; height: 18px; }
body { padding-bottom: 54px; }
@media (min-width: 760px) { .action-bar { display: none; } body { padding-bottom: 0; } }

/* Photos */
.photo { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); }
.photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.photo figcaption { padding: var(--s3) var(--s4); font-size: var(--t-sm); font-weight: 600; color: var(--on-ink); background: linear-gradient(180deg, var(--ink-2), var(--ink)); }
.prose .photo { margin: var(--s5) 0; }
.photo-grid { display: grid; gap: var(--s4); }
@media (min-width: 640px) { .photo-grid { grid-template-columns: 1fr 1fr; } .photo-grid .photo:first-child { grid-column: 1 / -1; } }
@media (min-width: 1040px) { .photo-grid { grid-template-columns: repeat(6, 1fr); } .photo-grid .photo { grid-column: span 2; } .photo-grid .photo:nth-child(-n+2) { grid-column: span 3; } }

/* 404 */
.notfound { min-height: 50vh; }

@media print {
  .site-header, .action-bar, .cta-band, .nav-toggle, .wa-dock { display: none !important; }
  body { background: #fff; padding: 0; }
}
.wrap--wide { max-width: 78rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.btn { white-space: nowrap; }
@media (max-width: 420px) { .btn { white-space: normal; } }
.prose .eyebrow + h2 { margin-top: 0; }

/* WhatsApp buttons (green only here, not as a site accent) */
.btn-whatsapp {
  background: #128C7E;
  color: #fff;
  border-color: #128C7E;
}
.btn-whatsapp:hover { background: #075E54; color: #fff; border-color: #075E54; }
.site-nav a.btn-whatsapp { background: #128C7E; color: #fff; }

.wa-dock {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  pointer-events: none;
}
.wa-float {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(7, 94, 84, .35);
  font-weight: 700;
  font-size: .75rem;
}
.wa-float:hover { background: #128C7E; color: #fff; }
.wa-float svg { width: 28px; height: 28px; }
.wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wa-bubble {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: min(16.5rem, calc(100vw - 96px));
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 10px 10px 12px;
  box-shadow: var(--shadow);
  font-size: var(--t-sm);
  font-weight: 600;
  line-height: 1.35;
}
.wa-bubble[hidden] { display: none !important; }
.wa-bubble a { color: var(--ink); text-decoration: none; flex: 1; }
.wa-bubble a:hover { color: #075E54; }
.wa-bubble button {
  flex: none;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 6px;
}
.wa-bubble button:hover { color: var(--ink); background: var(--paper-2); }

/* Keep the float above the mobile action bar and off the page content */
@media (max-width: 759.98px) {
  .wa-dock {
    bottom: calc(54px + 12px + env(safe-area-inset-bottom, 0px));
    right: 12px;
  }
  /* Clear the action bar + 56px float + gaps so content is not covered */
  body { padding-bottom: calc(54px + 12px + 56px + 16px + env(safe-area-inset-bottom, 0px)); }
  .hero, .page-hero { padding-bottom: calc(var(--s7) + 72px); }
  .site-footer { padding-bottom: calc(var(--s8) + 72px); }
  /* Keep copy from sitting under the 56px floating button on the right */
  .hero-note { display: none; } /* same message as the lead; avoids sitting under the action bar */
  .footer-grid, .footer-bottom, .cta-band .wrap { padding-right: 4.5rem; }
}
@media (min-width: 760px) {
  .site-footer { padding-bottom: 5.5rem; }
}

/* Mobile typography and overflow safety */
img, svg, video { max-width: 100%; }
.hero-grid, .split, .items, .photo-grid { min-width: 0; }
.sheet { max-width: 100%; }
@media (max-width: 767.98px) {
  body { overflow-x: hidden; }
  .hero h1 { word-break: break-word; }
  .btn-row { width: 100%; }
  .btn-row .btn { flex: 1 1 100%; min-height: 48px; }
  @media (min-width: 420px) {
    .btn-row .btn { flex: 1 1 calc(50% - var(--s3)); }
  }
}

@media print {
  .wa-dock, .wa-float, .wa-bubble { display: none !important; }
}
