/* ============================================================
   The Office Duquesa — theofficeduquesa.com
   White / black / red · Archivo + Inter
   ============================================================ */

:root {
  --paper: #ffffff;
  --ink: #101012;
  --red: #e8181f;
  --red-dark: #c11318;
  --grey: #5d5d60;
  --tint: #f6f5f3;
  --line: #e8e7e5;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(16, 16, 18, 0.08);
  --shadow-lg: 0 18px 50px rgba(16, 16, 18, 0.14);
  --container: 1140px;
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; color: #fff; }

/* ---------- Type ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
}

h1 { font-size: clamp(2.3rem, 6.5vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 4.5vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.45rem); }

.lead {
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: var(--grey);
  max-width: 46ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--ink);
  flex: none;
}
.eyebrow .es {
  color: var(--grey);
  font-weight: 600;
}

/* ---------- Layout ---------- */

.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section.tint { background: var(--tint); }

.section-head { max-width: 620px; margin-bottom: clamp(2rem, 5vw, 3.2rem); }
.section-head p { color: var(--grey); margin-top: 0.8rem; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  border: 2px solid var(--ink);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}
.btn-primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn-light { background: #fff; border-color: #fff; color: var(--ink); }
.btn-light:hover { background: var(--tint); border-color: var(--tint); color: var(--ink); transform: translateY(-2px); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(16, 16, 18, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand img { height: 46px; width: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.9rem;
  list-style: none;
}
.nav-list a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  position: relative;
  padding: 0.3rem 0;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}
.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-list .nav-cta { margin-left: 0.4rem; }
.nav-list .nav-cta::after { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 7vw, 5rem); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-copy .lead { margin: 1.3rem 0 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
}
.hero-badge {
  position: absolute;
  left: -14px;
  bottom: 26px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 0.8rem 1.1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.35;
  box-shadow: var(--shadow);
}
.hero-badge .red { color: var(--red); display: block; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- Contact strip ---------- */

.strip {
  background: var(--ink);
  color: #fff;
  padding: 1.4rem 0;
}
.strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.strip-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.97rem;
}
.strip-item svg { flex: none; color: var(--red); }
.strip-item a { color: #fff; font-weight: 600; }
.strip-item a:hover { color: var(--red); }

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--red);
}
.card p { color: var(--grey); font-size: 0.96rem; }
.card .card-link {
  margin-top: auto;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
}

.chip {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  transition: background 0.22s ease;
}
.card:hover .chip { background: var(--red); }

/* ---------- Split feature rows ---------- */

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(2.2rem, 5vw, 3.5rem) 0;
  border-bottom: 1px solid var(--line);
}
.feature:last-of-type { border-bottom: 0; }
.feature img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow);
}
/* Square promotional graphics: show whole poster, never crop the baked-in text */
.feature-media.poster {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--tint);
}
.feature-media.poster img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}
.feature.reverse .feature-media { order: 2; }
.feature-copy p { color: var(--grey); margin-top: 0.9rem; }
.feature-copy ul {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}
.feature-copy li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  color: var(--ink);
  font-size: 0.97rem;
}
.feature-copy li::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--red);
  margin-top: 0.5rem;
}

/* ---------- Trust section ---------- */

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
}
.trust-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  border: 1px solid var(--line);
}
.trust-item h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.trust-item p { color: var(--grey); font-size: 0.95rem; }
.trust-item .num {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--red);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.7rem;
}

/* ---------- Extras grid (in-store) ---------- */

.extras-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.4rem;
}
.extra {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.extra:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.extra img { aspect-ratio: 1 / 1; object-fit: contain; width: 100%; background: var(--tint); }
.extra-body { padding: 1.2rem 1.3rem 1.4rem; }
.extra-body h3 { font-size: 1.08rem; margin-bottom: 0.35rem; }
.extra-body p { color: var(--grey); font-size: 0.93rem; }

/* ---------- Partners ---------- */

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.6rem;
}
.partner {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.partner:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--red);
}
.partner-logo {
  display: grid;
  place-items: center;
  background: var(--tint);
  border-bottom: 1px solid var(--line);
  padding: 1.8rem;
  min-height: 150px;
}
.partner-logo img { max-height: 96px; width: auto; }
.partner-body { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.partner-body h3 { font-size: 1.25rem; }
.partner-body p { color: var(--grey); font-size: 0.96rem; }
.partner-promo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
}
.partner-promo .code { color: var(--red); letter-spacing: 0.04em; }
.partner-link {
  margin-top: auto;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
}
.partner-note {
  background: var(--tint);
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  margin-bottom: clamp(2rem, 5vw, 2.8rem);
}
.partner-note h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.partner-note p { color: var(--grey); }

/* ---------- CTA banner ---------- */

.cta-banner {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  border-radius: var(--radius);
  color: #fff;
  padding: clamp(2.2rem, 5vw, 3.4rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.cta-banner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--red);
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255, 255, 255, 0.72); margin-top: 0.5rem; max-width: 46ch; }
.cta-banner .btn-primary { border-color: var(--red); }

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  background: var(--tint);
  padding: clamp(3rem, 7vw, 4.5rem) 0;
  border-bottom: 1px solid var(--line);
}
.page-hero .lead { margin-top: 1rem; }

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--red); }
.contact-card h3 { font-size: 1.05rem; margin: 0.9rem 0 0.4rem; }
.contact-card p, .contact-card a { font-size: 0.97rem; }
.contact-card p { color: var(--grey); }
.contact-card a { font-weight: 600; }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin-top: 2.5rem;
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.hours {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
}
.hours table { width: 100%; border-collapse: collapse; }
.hours td {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}
.hours tr:last-child td { border-bottom: 0; }
.hours td:last-child { text-align: right; font-weight: 600; }
.hours .note { color: var(--grey); font-size: 0.88rem; margin-top: 1rem; }

.contact-cols {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.6rem, 4vw, 2.5rem);
  align-items: start;
  margin-top: 2.5rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: clamp(2.8rem, 6vw, 4rem) 0 1.6rem;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.4rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.footer-brand img { height: 44px; width: auto; background: #fff; padding: 6px 10px; border-radius: 10px; }
.footer-brand p { margin-top: 1rem; font-size: 0.93rem; max-width: 34ch; }
.site-footer h4 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; display: grid; gap: 0.55rem; }
.site-footer a { color: rgba(255, 255, 255, 0.78); font-size: 0.95rem; }
.site-footer a:hover { color: var(--red); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  padding-top: 1.4rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .extra, .contact-card { transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-grid, .feature, .contact-cols { grid-template-columns: 1fr; }
  .feature.reverse .feature-media { order: 0; }
  .hero-media img { aspect-ratio: 4 / 3; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.6rem 4% 1.2rem;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px rgba(16, 16, 18, 0.08);
    display: none;
  }
  .nav-list.open { display: flex; }
  .nav-list li { width: 100%; }
  .nav-list a { display: block; padding: 0.85rem 0; font-size: 1.05rem; }
  .nav-list a::after { display: none; }
  .nav-list .nav-cta { margin: 0.8rem 0 0; display: inline-flex; width: auto; }
  .hero-badge { left: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
}
