/* Casadio Colombia — replicates casadio.com visual system:
   light #f4f4f4 background, #1d1d1b text, SecularOne display headings,
   Open Sans body, brand yellow #fdc400, Cimbali sliding-fill buttons. */

@font-face {
  font-family: "SecularOne";
  src: url("assets/SecularOne-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "OpenSans";
  src: url("assets/OpenSans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "OpenSans";
  src: url("assets/OpenSans-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "OpenSans";
  src: url("assets/OpenSans-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "OpenSans";
  src: url("assets/OpenSans-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "OpenSans";
  src: url("assets/OpenSans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f4f4f4;
  --text: #1d1d1b;
  --text-dim: #55534e;
  --yellow: #fdc400;
  --border: #bebeb8;
  --white: #ffffff;
  --black: #000000;
  --whatsapp: #25d366;
  --max: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "OpenSans", "Open Sans", system-ui, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h5 {
  font-family: "SecularOne", sans-serif;
  font-weight: 400;
  line-height: 1.15;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); margin-bottom: 1rem; }
h3 { font-size: 1.35rem; }

.center { text-align: center; }

.kicker {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}

.kicker.center { text-align: center; }

/* ---------- Cimbali buttons (sliding fill, like casadio.com) ---------- */
.cimbali-button {
  display: inline-block;
  position: relative;
  border: 2px solid var(--black);
  padding: 15px 60px;
  font-family: "OpenSans", sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  text-align: center;
  transition: 0.4s ease-in-out;
  background: linear-gradient(to left, transparent 50%, #000000 50%) right;
  background-size: 200%;
  color: var(--black);
}

.cimbali-button:hover {
  background-position: left;
  color: var(--yellow);
}

/* white-inverse: starts black w/ yellow text (for photo hero), hover to transparent/white text */
.white-inverse-btn {
  background: linear-gradient(to left, #000000 50%, transparent 50%) right;
  background-size: 200%;
  border-color: var(--black);
  color: var(--yellow);
}

.white-inverse-btn:hover {
  background-position: left;
  color: #ffffff;
  border-color: #ffffff;
}

/* solid black variant */
.black-btn {
  background: linear-gradient(to left, #000000 50%, transparent 50%) right;
  background-size: 200%;
  color: var(--yellow);
}

.black-btn:hover {
  background-position: left;
  color: var(--black);
}

.btn-nav { padding: 9px 24px; font-size: 0.8rem; }

.angle { font-weight: 800; margin-left: 6px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.9rem clamp(1rem, 4vw, 3rem);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  text-decoration: none;
}

.nav-logo { height: 26px; width: auto; }

.nav-country {
  font-family: "SecularOne", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--text);
  border-left: 2px solid var(--yellow);
  padding-left: 0.6rem;
}

.nav-links {
  display: flex;
  gap: 1.6rem;
  margin-left: auto;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.nav-links a:hover { border-bottom-color: var(--yellow); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0.05) 100%);
}

.hero-content {
  position: relative;
  padding: 0 clamp(1rem, 5vw, 4rem);
  max-width: 760px;
  color: #fff;
}

.hero-kicker {
  font-weight: 700;
  letter-spacing: 0.3em;
  font-size: 0.8rem;
  color: var(--yellow);
  margin-bottom: 1rem;
}

.hero-sub {
  margin-top: 1.2rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
}

.hero-actions { margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Intro ---------- */
.intro {
  background: var(--white);
  text-align: center;
  padding: clamp(3rem, 8vh, 5.5rem) clamp(1rem, 4vw, 2rem) 0;
}

.intro > p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-dim);
}

.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max);
  margin: 3rem auto 0;
  border-top: 1px solid var(--border);
}

.strip-item {
  padding: 1.8rem 1rem;
  text-align: center;
  border-left: 1px solid var(--border);
}

.strip-item:first-child { border-left: none; }

.strip-num {
  display: block;
  font-family: "SecularOne", sans-serif;
  font-size: 1.6rem;
  color: var(--text);
}

.strip-num::after {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  background: var(--yellow);
  margin: 0.4rem auto 0.5rem;
}

.strip-label { font-size: 0.85rem; color: var(--text-dim); }

/* ---------- Feature (Nettuno) ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 8vh, 6rem) clamp(1rem, 4vw, 2rem);
}

.feature-media img { background: var(--white); }

.lead {
  font-size: 1.1rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

.feature-list { list-style: none; margin-bottom: 1.5rem; }

.feature-list li {
  padding: 0.7rem 0 0.7rem 1.4rem;
  border-left: 3px solid var(--yellow);
  margin-bottom: 0.8rem;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.feature-list strong { color: var(--text); }

.feature-configs {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 1.8rem;
}

/* ---------- Products ---------- */
.products {
  background: var(--white);
  padding: clamp(3rem, 8vh, 6rem) clamp(1rem, 4vw, 2rem);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: var(--max);
  margin: 2.5rem auto 0;
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.card-img {
  background: var(--white);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 3px solid var(--yellow);
}

.card-img img { width: 100%; height: 100%; object-fit: contain; }

.card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }

.card-tag {
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0.3rem 0 0.8rem;
}

.card-body p:not(.card-tag) { color: var(--text-dim); font-size: 0.92rem; }

.card-link {
  margin-top: auto;
  padding-top: 1rem;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
  text-decoration: none;
  border-bottom: 2px solid var(--yellow);
  align-self: flex-start;
  transition: color 0.2s;
}

.card-link:hover { color: #a37e00; }

/* ---------- Story ---------- */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 8vh, 6rem) clamp(1rem, 4vw, 2rem);
}

.story-body p { color: var(--text-dim); margin-bottom: 1rem; }

.story-body strong { color: var(--text); }

/* ---------- Distributor / Contact ---------- */
.distributor {
  background: var(--white);
  padding: clamp(3rem, 8vh, 6rem) clamp(1rem, 4vw, 2rem);
  text-align: center;
}

.distributor-lead {
  max-width: 640px;
  margin: 0 auto 2rem;
  color: var(--text-dim);
}

.distributor-lead strong { color: var(--text); }

.distributor-logo { display: inline-block; margin-bottom: 2.5rem; }

/* logo art is white/orange — needs a dark plate to read on white bg */
.distributor-logo img {
  height: 56px;
  width: auto;
  background: #1d1d1b;
  padding: 12px 20px;
  box-sizing: content-box;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 980px;
  margin: 0 auto;
}

.contact-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 1.4rem 0.6rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  align-items: center;
  transition: transform 0.2s, box-shadow 0.2s;
  border-top: 3px solid var(--yellow);
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.contact-label {
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--text-dim);
}

/* break-all split the address mid-word; anywhere only breaks when it must.
   Size is tuned so the longest value (the email) fits one line per column. */
.contact-value {
  color: var(--text);
  font-size: 0.8rem;
  overflow-wrap: anywhere;
  font-weight: 700;
  line-height: 1.4;
}

/* ---------- FAQ (must stay visible: Google ignores hidden FAQPage schema) ---------- */
.faq {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(2.5rem, 7vh, 5rem) clamp(1rem, 4vw, 2rem);
}

.faq h2 { margin-bottom: 2rem; }

.faq details {
  border-top: 1px solid var(--border);
  padding: 0;
}

.faq details:last-of-type { border-bottom: 1px solid var(--border); }

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.25rem 2.5rem 1.25rem 0;
  position: relative;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text);
  transition: color 0.2s;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary:hover { color: #8a6a00; }

/* chevron rotates when the item opens */
.faq summary::after {
  content: "›";
  position: absolute;
  right: 0.4rem;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--yellow);
  transition: transform 0.25s;
}

.faq details[open] summary::after { transform: translateY(-50%) rotate(-90deg); }

.faq details p {
  padding: 0 2.5rem 1.4rem 0;
  margin: 0;
  color: var(--text-dim);
  font-weight: 300;
}

/* ---------- Zigzag divider above the footer ---------- */
/* white strip stays clean: it is a border, so the zigzag fill never reaches it */
.zigzag {
  height: clamp(70px, 8vw, 110px);
  border-top: clamp(28px, 3.5vw, 50px) solid var(--white);
  background-color: var(--yellow);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='48' viewBox='0 0 64 48'%3E%3Cpath d='M0 0 L32 48 L64 0' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 64px 48px;
  background-position: top left;
}

/* ---------- Footer (black, like casadio.com) ---------- */
.footer {
  position: relative;
  background: #000;
  color: #fff;
  padding: 3.5rem clamp(1rem, 4vw, 3.5rem) 2rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2.5rem 3rem;
}

.footer-logo { height: 46px; width: auto; margin-bottom: 1rem; }

.footer-brand { max-width: 300px; }

.footer-brand p { font-size: 0.9rem; color: #cfcdc7; }

.footer-brand a { color: var(--yellow); text-decoration: none; }

/* heading rule spans the column, which is sized by its widest link */
.footer-col h5 {
  color: #fff;
  font-family: "SecularOne", sans-serif;
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  text-transform: none;
  white-space: nowrap;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #fff;
  margin-bottom: 1.4rem;
}

.footer-col a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 0.875rem;
  margin-bottom: 0.7rem;
  transition: opacity 0.2s;
}

.footer-col a:hover { opacity: 0.65; }

/* ---------- Back to top ---------- */
.to-top {
  position: absolute;
  top: 2.4rem;
  right: clamp(1rem, 4vw, 3.5rem);
  width: 46px;
  height: 46px;
  border: 1px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  transition: background-color 0.2s, color 0.2s;
}

.to-top:hover { background: #fff; color: #000; }

@media (max-width: 700px) {
  .to-top { display: none; }
}

.footer-legal {
  max-width: var(--max);
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid #2a2a28;
  color: #7a786f;
  font-size: 0.78rem;
  text-align: center;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s;
}

.wa-float:hover { transform: scale(1.08); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .feature, .story { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; max-width: 480px; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .strip-item:nth-child(3) { border-left: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    padding: 1.2rem clamp(1rem, 4vw, 3rem);
    gap: 1rem;
    display: none;
    border-bottom: 1px solid var(--border);
    margin-left: 0;
  }

  .nav-links.open { display: flex; }
  .nav-toggle { display: block; margin-left: auto; }
  .btn-nav { margin-left: auto; }

  .cimbali-button { padding: 13px 30px; }
}

@media (max-width: 480px) {
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero { min-height: 72vh; }
  .btn-nav { display: none; }
}

/* ==========================================================================
   Product detail page — mirrors casadio.com's PDP:
   full-bleed product hero, breadcrumb, gallery + summary split,
   alternating "wow" bands, spec table, yellow wave CTA.
   ========================================================================== */

/* ---------- PDP hero ---------- */
.pdp-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  background: var(--white);
  overflow: hidden;
}

.pdp-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 72% center;
}

.pdp-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(1rem, 5vw, 4rem);
  max-width: 620px;
}

.pdp-hero-content h1 { margin-bottom: 0.4rem; }

.pdp-hero-tag {
  font-weight: 700;
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.pdp-hero-sub {
  font-size: 1.05rem;
  color: var(--text-dim);
  margin: 1rem 0 2rem;
  font-weight: 300;
}

/* image sits behind text on wide screens, drops below on narrow */
@media (max-width: 900px) {
  .pdp-hero {
    min-height: 0;
    flex-direction: column-reverse;
    padding: 2rem 0 3rem;
  }

  .pdp-hero-img {
    position: static;
    height: 46vh;
    object-position: center;
  }

  .pdp-hero-content {
    max-width: none;
    text-align: center;
    padding-top: 1.5rem;
  }
}

/* ---------- Breadcrumb ---------- */
.crumb {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.9rem clamp(1rem, 4vw, 2rem);
  font-size: 0.8rem;
  color: var(--text-dim);
}

.crumb-inner { max-width: var(--max); margin: 0 auto; }

.crumb a { color: var(--text-dim); text-decoration: none; }

.crumb a:hover { color: var(--text); }

.crumb span[aria-current] { color: var(--text); font-weight: 700; }

/* ---------- Gallery + summary split ---------- */
.pdp-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 7vh, 5rem) clamp(1rem, 4vw, 2rem);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.gallery-main { display: block; }

.gallery-main img { width: 100%; height: auto; display: block; }

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.gallery-thumbs button {
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  display: block;
  position: relative;
  opacity: 0.55;
  transition: opacity 0.2s;
}

.gallery-thumbs button img { width: 100%; height: auto; display: block; }

.gallery-thumbs button:hover { opacity: 0.85; }

/* selected state drawn as an inset outline so it never adds layout width */
.gallery-thumbs button[aria-current="true"] { opacity: 1; }

.gallery-thumbs button[aria-current="true"]::after {
  content: "";
  position: absolute;
  inset: 0;
  outline: 2px solid var(--yellow);
  outline-offset: -2px;
}

.summary-sku {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.2rem;
}

.summary-sku strong { color: var(--text); }

.summary-lead {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.pdp-summary-body p { color: var(--text-dim); font-weight: 300; margin-bottom: 1rem; }

.summary-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

@media (max-width: 900px) {
  .pdp-summary { grid-template-columns: 1fr; }
}

/* ---------- Alternating feature bands ---------- */
.wow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 7vh, 5rem) clamp(1rem, 4vw, 2rem);
}

/* explicit class, not :nth-of-type — bands sit at differing DOM depths
   (some wrapped in .wow-band) so type-counting is unreliable here */
.wow--flip .wow-media { order: 2; }

/* no fixed aspect-ratio and no border: the product shots carry their own
   studio backdrop, so a box larger than the image left a visible gap */
.wow-media { display: block; }

.wow-media img { width: 100%; height: auto; display: block; }

.wow-body h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  margin-bottom: 0.8rem;
}

.wow-body p { color: var(--text-dim); font-weight: 300; }

.wow-band { background: var(--white); }

@media (max-width: 900px) {
  .wow { grid-template-columns: 1fr; }
  .wow--flip .wow-media { order: 0; }
}

/* ---------- Spec table ---------- */
.specs {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 7vh, 5rem) clamp(1rem, 4vw, 2rem);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  font-size: 0.92rem;
}

.spec-table caption {
  text-align: left;
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
}

.spec-table th,
.spec-table td {
  border: 1px solid var(--border);
  padding: 0.85rem 1rem;
  text-align: left;
}

.spec-table thead th {
  background: var(--text);
  color: var(--white);
  font-family: "SecularOne", sans-serif;
  font-weight: 400;
  letter-spacing: 0.06em;
}

.spec-table tbody th {
  background: var(--white);
  font-weight: 600;
  width: 34%;
}

.spec-table td { background: var(--white); color: var(--text-dim); }

.spec-scroll { overflow-x: auto; }

/* ==========================================================================
   Brand hero — the yellow wave splash used on casadio.com product pages.
   Wave is a tiling inline SVG rather than a raster, so it stays crisp at
   any viewport size and costs ~200 bytes.
   ========================================================================== */

.wave-yellow {
  background-color: var(--yellow);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='42' height='64' viewBox='0 0 42 64'%3E%3Cpath d='M21 0 C33 11 33 21 21 32 C9 43 9 53 21 64' fill='none' stroke='%23f4bc00' stroke-width='10' stroke-linecap='square'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 42px 64px;
}

.brand-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 clamp(1.25rem, 11vw, 14rem);
}

/* nudged below centre so the wordmark lands where casadio.com puts it */
.brand-hero-inner {
  position: relative;
  z-index: 2;
  margin-top: 16vh;
}

.brand-hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 3.4rem;
}

/* ---------- Overlay header (transparent, sits on top of the hero) ---------- */
.nav--overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  backdrop-filter: none;
  border-bottom: none;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem);
}

.nav--overlay .nav-links a { color: #fff; }

.nav--overlay .nav-links a:hover { border-bottom-color: #fff; }

.nav--overlay .nav-toggle { color: #fff; }

/* ---------- Logo lockup: roundel + wordmark ---------- */
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-lockup img { height: 68px; width: auto; }

.brand-lockup-text { display: flex; flex-direction: column; }

.brand-wordmark {
  font-family: "SecularOne", sans-serif;
  font-size: 2.15rem;
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: #fff;
}

/* thin rule flanked by the founding line, matching the roundel's lower arc */
.brand-sub {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.55rem;
  letter-spacing: 0.34em;
  color: #fff;
  margin-top: 0.22rem;
}

.brand-sub::before,
.brand-sub::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.85);
}

/* dark variant for use on light pages */
.brand-lockup--dark .brand-wordmark,
.brand-lockup--dark .brand-sub { color: var(--text); }

.brand-lockup--dark .brand-sub::before,
.brand-lockup--dark .brand-sub::after { background: rgba(0, 0, 0, 0.7); }

/* ---------- Button with the solid arrow block on the trailing edge ---------- */
/* same sliding-fill as .cimbali-button, with the solid arrow block kept on top */
.btn-arrow {
  display: inline-flex;
  align-items: stretch;
  border: 2px solid var(--black);
  text-decoration: none;
  font-family: "OpenSans", sans-serif;
  background: linear-gradient(to left, transparent 50%, #000000 50%) right;
  background-size: 200%;
  transition: 0.4s ease-in-out;
}

.btn-arrow:hover { background-position: left; }

.btn-arrow .btn-arrow-label {
  padding: 1.15rem 3.2rem;
  color: var(--black);
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  transition: color 0.4s ease-in-out;
}

.btn-arrow:hover .btn-arrow-label { color: var(--yellow); }

.btn-arrow .btn-arrow-tip {
  width: 44px;
  background: var(--black);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  line-height: 1;
}

@media (max-width: 700px) {
  .brand-lockup img { height: 44px; }
  .brand-wordmark { font-size: 1.6rem; }
  .brand-sub { font-size: 0.48rem; letter-spacing: 0.28em; }
  .btn-arrow .btn-arrow-label { padding: 1rem 1.8rem; font-size: 0.9rem; }
}

/* ---------- Yellow wave CTA ---------- */
/* pairs with .wave-yellow in the markup for the pattern itself */
.cta-wave {
  padding: clamp(3rem, 8vh, 5rem) clamp(1rem, 4vw, 2rem);
  text-align: center;
}

.cta-wave h2 { color: var(--text); }

.cta-wave p {
  max-width: 620px;
  margin: 0 auto 2rem;
  color: #5a4600;
  font-weight: 600;
}

.cta-wave .cimbali-button { border-color: var(--black); }
