/*
  Editorial Single Page — minimal, clean, responsive
  Fonts: Playfair Display (titles), Inter (body)
*/

:root {
  --bg: #ffffff;
  --bg-soft: #f4f4f2;
  --text: #151515;
  --muted: #6b6b73;
  --accent: #1a1a1a;
  --brand: #111111;
  --line: rgba(0,0,0,.08);
  --grid-gap: 2rem;
  --container: min(1240px, 94vw);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,.10);

  /* WP preset variables (excerpt) */
  --wp--preset--aspect-ratio--square: 1;
  --wp--preset--aspect-ratio--4-3: 4/3;
  --wp--preset--aspect-ratio--3-4: 3/4;
  --wp--preset--aspect-ratio--3-2: 3/2;
  --wp--preset--aspect-ratio--2-3: 2/3;
  --wp--preset--aspect-ratio--16-9: 16/9;
  --wp--preset--aspect-ratio--9-16: 9/16;
  --wp--preset--color--black: #000000;
  --wp--preset--color--cyan-bluish-gray: #abb8c3;
  --wp--preset--color--white: #ffffff;
  --wp--preset--color--pale-pink: #f78da7;
  --wp--preset--color--vivid-red: #cf2e2e;
  --wp--preset--color--luminous-vivid-orange: #ff6900;
  --wp--preset--color--luminous-vivid-amber: #fcb900;
  --wp--preset--color--light-green-cyan: #7bdcb5;
  --wp--preset--color--vivid-green-cyan: #00d084;
  --wp--preset--color--pale-cyan-blue: #8ed1fc;
  --wp--preset--color--vivid-cyan-blue: #0693e3;
  --wp--preset--color--vivid-purple: #9b51e0;
  --wp--preset--gradient--vivid-cyan-blue-to-vivid-purple: linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%);
  --wp--preset--font-size--small: 13px;
  --wp--preset--font-size--medium: 20px;
  --wp--preset--font-size--large: 36px;
  --wp--preset--font-size--x-large: 42px;
}

/* Footer (rich 4-col) */
.site-footer { display: none !important; }
.footer-rich { background: #111; color: #fff; padding: 3rem 0; }
.footer-rich .footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--grid-gap); }
.footer-rich .footer-title { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; margin: 0 0 .8rem; letter-spacing: .02em; }
.footer-rich .footer-text { margin: 0; color: rgba(255,255,255,.85); }
.footer-rich .footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.footer-rich .footer-menu a { color: rgba(255,255,255,.9); text-decoration: none; }
.footer-rich a,
.footer-rich a:link,
.footer-rich a:visited { color: rgba(255,255,255,.9); text-decoration: none; }
.footer-rich a:hover { text-decoration: none; }
.footer-rich .footer-menu a:hover { text-decoration: underline; }
.footer-rich .socials a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; margin-right: 10px; }
.footer-rich .socials a:hover { background: rgba(255,255,255,.18); }
.footer-rich .socials i { font-size: 18px; }
.footer-rich .footer-bottom { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: space-between; color: rgba(255,255,255,.7); }
@media (max-width: 980px) { .footer-rich .footer-grid { grid-template-columns: repeat(2,1fr); } .footer-rich .footer-bottom { flex-direction: column; gap: .8rem; } }
@media (max-width: 640px) { .footer-rich .footer-grid { grid-template-columns: 1fr; } }

/* Base font: Jost for body text (allow headings to override) */

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Jost', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container { width: var(--container); margin-inline: auto; }

/* Header */
.microbar { background:#000; color:#fff; font-size:.8rem; width:100%; left:0; right:0; }
.microbar .container{ display:flex; align-items:center; justify-content:space-between; padding:.45rem .6rem; width: 100%; max-width: none; margin: 0; }
.microbar .note{ font-weight:600; margin-right:.6rem; }
.microbar a{ color:#fff; opacity:.85; text-decoration:none; }
.microbar { position: relative; }
.microbar .micro-left{ display:flex; align-items:center; gap:.6rem; justify-content:flex-start; }
.microbar .micro-right{ display:flex; align-items:center; gap:.8rem; justify-content:flex-end; }

/* microbar spans full width; items sit near edges */
/* remove negative margin hacks and rely on full-width container */

.microbar .pll-switcher-select{
  background: rgba(255,255,255,.10);
  color:#fff;
  border:1px solid rgba(255,255,255,.35);
  border-radius:999px;
  padding:2px 12px;
  font-weight:600;
  appearance:none;
}
.microbar .pll-switcher-select:focus{
  outline:none;
  background:rgba(255,255,255,.18);
  border-color:rgba(255,255,255,.6);
}
.microbar .whatsapp{ color:#0dc143; text-decoration:none; font-weight:600; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(8px);
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header .container { padding: 1.1rem 0.6rem; }
.header-grid{ display:grid; grid-template-columns: 1fr auto 1fr; align-items:center; }
.brand { text-decoration: none; color: var(--brand); letter-spacing: .18em; font-weight: 700; font-size:1.35rem; text-transform: uppercase; }
.header-actions{ display:flex; align-items:center; justify-content:flex-end; gap:1rem; }
.header-actions .icon{ background:transparent; border:0; font-size:1rem; cursor:pointer; color:#444; text-decoration:none; display:none; }
.header-actions .icon .badge{ display:inline-block; min-width:14px; height:14px; line-height:14px; border-radius:0 !important; background:#111; color:#fff; font-size:.65rem; text-align:center; margin-left:.25rem; }

/* Primary nav bar */
.primary-nav{ border-bottom:1px solid var(--line); background:#fff; }
.primary-nav .container{ display:flex; align-items:center; justify-content:center; padding: 1rem 0; }
.nav a { color: #222; opacity:.95; text-decoration:none; margin: 0 1.3rem; font-size:.92rem; position:relative; padding:1.25rem 0; text-transform: uppercase; letter-spacing:.09em; }
.nav a.active { color: var(--accent); opacity:1; }
.nav a::after{ content:''; position:absolute; left:0; bottom:0; width:0; height:2px; background:#111; transition:width .2s ease; }
.nav a:hover::after, .nav a.active::after{ width:100%; }
.nav .caret{ display:inline-block; width:0; height:0; margin-left:.3rem; vertical-align:middle; border-left:4px solid transparent; border-right:4px solid transparent; border-top:5px solid currentColor; opacity:.6; }
.nav a.nav-cart { margin-left: 1.6rem; display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; }
.nav a.nav-cart i { font-size: 1rem; }
.nav a.nav-cart::after { display: none; }

/* Sections */
.section { padding: 6rem 0; }
.section h2 { font-family: 'Jost', system-ui, -apple-system, Segoe UI, Arial, sans-serif; font-weight: 600; font-size: clamp(1.8rem, 1.6rem + 1.2vw, 2.6rem); margin: 0 0 1rem; letter-spacing: .01em; }
.display {
  font-family: 'Jost', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-size: clamp(2.4rem, 1.8rem + 3.6vw, 5rem);
  line-height: 1.05; margin: 0 0 1rem;
}
.lead { color: #2a2a2a; opacity: .9; font-size: clamp(1rem, .95rem + .3vw, 1.2rem); }
.muted { color: var(--muted); }

/* Hero */
.hero { position: relative; min-height: 76vh; display: grid; place-items: center; padding: 0; }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(90%) contrast(105%); transform: scale(1.02); }
.hero-gradient { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.45) 55%, rgba(0,0,0,.6) 100%); }
.hero-content { position: relative; text-align: center; padding: 4rem 1rem; }
.hero .btn { margin-top: 1.5rem; }
/* Improve hero text contrast */
.hero .display, .hero .lead { color: #fff; }
.hero .display { text-shadow: 0 2px 14px rgba(0,0,0,.35); }
.hero .hero-tag.top { display:inline-block; margin-bottom:.6rem; color:#fff; opacity:.9; font-family: 'Playfair Display', Georgia, serif; font-size:1.1rem; text-decoration:none; }

/* H1 styles using Playfair Display */
h1 {
  font-family: "Playfair Display", serif;
  color: #000;
  font-weight: 400;
  font-size: 55px;
  line-height: 69px;
}

/* Ensure h1 inside specific blocks uses Playfair as well */
.bg_title h1, .split-block h1 {
  font-family: "Playfair Display", serif !important;
}

/* Split block layout (text + image) similar to provided HTML structure */
.split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--grid-gap);
  align-items: center;
}
.split-block .text-column { padding: 1rem; }
.split-block .text-column .bg_title h1 { margin: 0 0 1rem; }
.split-block .text-column p.text { margin: 0 0 1rem; color: #000; }
.split-block .image-column img { width: 100%; height: auto; display: block; }

@media (max-width: 980px) {
  .split-block { grid-template-columns: 1fr; }
  .split-block .text-column { text-align: center; }
}

/* Slider caption band (Grayson-like) */
.hero-band{ position:absolute; left:0; right:0; bottom:0; top:auto; transform:none; background: rgba(0,0,0,.35); padding: 1.6rem 0 2rem; z-index:2; }
.hero-caption{ width: clamp(300px, 36vw, 720px); margin: 0 auto; text-align:center; color:#fff; }
.hc-info{ font-size:.8rem; letter-spacing:.08em; text-transform:uppercase; opacity:.9; margin-bottom:.6rem; }
.hc-info a{ color:#fff; text-decoration:none; opacity:.9; }
.hc-info .sep{ margin: 0 .35rem; opacity:.6; }
.hc-title{ font-family:'Playfair Display', Georgia, serif; font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.6rem); margin:0 0 .4rem; }
.hc-title a{ color:#fff; text-decoration:none; }
.hc-excerpt{ color: rgba(255,255,255,.9); max-width: 50ch; margin: 0 auto; }

/* Slider */
[data-slider] { position: absolute; inset: 0; }
[data-slider] .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
[data-slider] .slide img, [data-slider] .slide video, [data-slider] .slide iframe { width: 100%; height: 100%; object-fit: cover; display:block; }
[data-slider] .slide.active { opacity: 1; }
.slider-dots { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); display: flex; gap: .5rem; z-index:3; }
.slider-dots button { width: 8px; height: 8px; border-radius: 0 !important; border: 0; background: rgba(255,255,255,.6); cursor: pointer; }
.slider-dots button.active { background: #fff; }

/* Slider arrows */
.slider-arrow{ position:absolute; top:50%; transform:translateY(-50%); color:#fff; background: rgba(0,0,0,.35); border:0; width:36px; height:36px; border-radius:0 !important; display:grid; place-items:center; cursor:pointer; font-size:1.4rem; line-height:1; }
.slider-arrow.prev{ left:22px; }
.slider-arrow.next{ right:22px; }

/* Split sections */
.split { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: var(--grid-gap); position: relative; }
.split--reverse { grid-template-columns: 1fr 1.1fr; }
.split-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 420px; }
.split-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split-content { padding: 1rem; }
.keypoints { margin: .5rem 0 1rem 1rem; }
.keypoints li { margin: .25rem 0; }

/* Grid / masonry */
.grid { background: var(--bg); }
.masonry { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--grid-gap); }
.card { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--bg-soft); box-shadow: var(--shadow); }
.card img { width: 100%; display: block; object-fit: cover; aspect-ratio: 4 / 3; }
.card figcaption { padding: .8rem 1rem; color: var(--muted); font-size: .95rem; }

/* Closing */
.closing { text-align: center; padding-bottom: 7rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 1.2rem 0; background: rgba(255,255,255,.8); backdrop-filter: blur(6px); color: var(--muted); }
.site-footer .container { display: flex; align-items: center; justify-content: space-between; }
.to-top { color: var(--text); text-decoration: none; opacity: .85; }

/* Buttons */
.btn { display: inline-block; padding: .8rem 1.1rem; border-radius: 0 !important; background: #111; border: 1px solid #111; color: #fff; text-decoration: none; transition: transform .2s ease, background .2s ease; font-size: .95rem; }
.btn:hover { transform: translateY(-2px); background: #000; }

/* Animations */
[data-animate] { opacity: 0; transform: translateY(12px); transition: opacity .7s ease, transform .7s ease; }
[data-animate].in { opacity: 1; transform: translateY(0); }

/* Skeleton shimmer for images/videos while loading */
.skeleton {
  position: relative;
  background: linear-gradient(90deg, #f3f3f3 25%, #e7e7e7 50%, #f3f3f3 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.6s ease-in-out infinite;
  color: transparent;
}
.skeleton img,
.skeleton video {
  opacity: 0;
  transition: opacity .4s ease;
}
.skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
}
@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Active nav indicator */
.nav a { position: relative; padding-bottom: .2rem; }
.nav a::after { content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--accent); transition: width .25s ease; }
.nav a.active::after { width: 100%; }

/* Parallax media */
[data-parallax] img { transform: translateY(0); transition: transform .2s ease-out; will-change: transform; }

/* Chapter marker (sticky index at left) */
.chapter { border-top: 1px solid var(--line); }
.chapter .marker { position: absolute; left: 0; top: 0; height: 100%; width: 72px; display: none; }
.chapter .marker span { position: sticky; top: calc(64px + 1rem); display: inline-block; color: var(--muted); letter-spacing: .18em; font-size: .75rem; opacity: .9; }
.chapter .container, .chapter .split-content { padding-left: 0; }

/* Scroll progress (right side) */
.scroll-progress { position: fixed; right: 22px; top: 80px; bottom: 22px; width: 2px; background: var(--line); z-index: 80; border-radius: 2px; overflow: hidden; }
.scroll-progress .bar { position: absolute; left: 0; bottom: 0; width: 100%; height: 0%; background: linear-gradient(180deg, #e9e9ea, #f0e4d7); box-shadow: 0 0 10px rgba(255,255,255,.25); }

/* Promo banner */
.promo { background: var(--bg-soft); }
.promo .promo-inner { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 21 / 9; }
.promo .promo-inner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.promo .overlay { position: absolute; inset: 0; background: rgba(0,0,0,.25); }
.promo .content { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.2rem 1rem; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 80% ); }

/* Tiles */
.tiles { background: var(--bg); }
.tiles .grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--grid-gap); }
.tile { background: var(--bg-soft); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.tile img { width: 100%; object-fit: cover; display: block; aspect-ratio: 4 / 3; }
.tile .caption { padding: .9rem 1rem; color: var(--text); font-weight: 600; }

/* Categories */
.categories .items { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--grid-gap); }
.cat { background: var(--bg-soft); border-radius: var(--radius); overflow: hidden; text-align: center; padding-bottom: .7rem; box-shadow: var(--shadow); }
.cat img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.cat .label { padding: .6rem; font-weight: 600; color: var(--text); }

/* Responsive */
@media (max-width: 980px) {
  .primary-nav{ display:none; }
  .hero-three .columns { grid-template-columns: 1fr; }
  .hero-three .panel { min-height: 52vh; }
  .hero-band{ padding:1.2rem 0; }
  .hero-caption{ width: clamp(260px, 70vw, 560px); }
  .split, .split--reverse { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
  .masonry { columns: 1; }
  .site-footer .container { flex-direction: column; gap: .6rem; }
  .chapter .marker { display: none; }
  .chapter .container, .chapter .split-content { padding-left: 0; }
  .scroll-progress { display: none; }
  .tiles .grid { grid-template-columns: 1fr; }
  .categories .items { grid-template-columns: 1fr 1fr; }

  /* Responsive header: show mobile menu button, center brand, stack nav under header */
  .header-grid { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
  .header-actions { order: 1; }
  .header-actions .icon { display: block; }
  .header-left { order: 2; flex: 1 1 auto; display: flex; justify-content: center; }
  .nav { order: 3; width: 100%; display: flex; flex-direction: column; align-items: flex-start; padding-top: .6rem; }
  /* hide nav by default on mobile; will be toggled open via JS with a smooth animation */
  /* overlay mobile nav: fixed panel that doesn't push page content */
  .nav {
    position: fixed; left: 0; right: 0; top: 64px; /* below header */
    background: #fff; z-index: 120; width: 100%;
    transform: translateY(-6px); opacity: 0; pointer-events: none;
    transition: transform .32s cubic-bezier(.2,.9,.2,1), opacity .22s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,.12); padding: 0 1rem; border-bottom: 1px solid var(--line);
  }
  .nav.open {
    transform: translateY(0); opacity: 1; pointer-events: auto; padding-top: .6rem; padding-bottom: .8rem;
  }
  /* explicit backdrop element (used to detect outside clicks) */
  .nav-backdrop {
    position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 115; background: rgba(0,0,0,.28); opacity: 0; pointer-events: none; transition: opacity .25s ease;
  }
  .nav-backdrop.visible { opacity: 1; pointer-events: auto; }
  /* backdrop when nav is open */
  .nav::before {
    display:none !important;
  }
  .nav.open::before { display:none !important; }
  .nav-backdrop { display:none !important; }
.nav a { margin: 0; padding: .6rem 0; width: 100%; text-align: left; border-top: 1px solid var(--line); }
.nav a:first-child { border-top: 0; }
.nav a.nav-cart { margin-left: 0; }
}
.nav-item { position: relative; display: inline-block; margin-right: 14px; }
.nav-item .nav-sub { display: none; position: absolute; left: 0; top: 100%; background: #fff; padding: 8px 12px; box-shadow: 0 6px 18px rgba(0,0,0,.08); border-radius: 8px; min-width: 180px; }
.nav-item:hover .nav-sub { display: block; }
.nav-item .nav-sub a { display: block; margin: 6px 0; padding: 0; text-align: left; border: 0; white-space: nowrap; }

@media (max-width: 700px) {
  .header-grid .nav { justify-content: flex-start; gap: 10px; }
  .nav-item { position: static; }
  .nav-item .nav-sub { display: block; position: static; background: transparent; box-shadow: none; padding: 4px 0 0 10px; min-width: auto; }
  .nav-item .nav-sub a { white-space: normal; font-size: .9rem; margin: 3px 0; }
}

@media (max-width: 640px) {
  .categories .items { grid-template-columns: 1fr; }
}

/* 12-col rows (WPBakery-like) */
.row { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); column-gap: var(--grid-gap); align-items: center; }
/* Two-col sections: use equal halves and tighter center gap */
.row.two-col { grid-template-columns: 1fr 1fr; column-gap: 10px; align-items: stretch; }
.row.two-col .spacer { display: none; }
/* Neutralize fixed grid spans inside two-col so items auto-place into the two halves */
.row.two-col > .col-4,
.row.two-col > .col-6,
.row.two-col > .col-7 { grid-column: auto !important; }
/* Center text content vertically inside grid cells */
.row.two-col .text-block.center {text-align: center; display: flex; flex-direction: column; justify-content: center; height: 100%; max-width: 600px; margin-left: auto; margin-right: auto; }
.two-col .spacer { min-width: 1px; }
.col-1{grid-column: span 1;} .col-2{grid-column: span 2;} .col-3{grid-column: span 3;} .col-4{grid-column: span 4;} .col-5{grid-column: span 5;}
.col-6{grid-column: span 6;} .col-7{grid-column: span 7;} .col-8{grid-column: span 8;} .col-9{grid-column: span 9;} .col-10{grid-column: span 10;}
.col-11{grid-column: span 11;} .col-12{grid-column: span 12;}
.frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display:block; }
.frame img { width: 100%; height: 100%; object-fit: cover; display:block; }
.portrait { aspect-ratio: 4 / 5; }
.square { aspect-ratio: 1 / 1; }
.text-block.center {  max-width: 1000px; margin-left: auto; margin-right: auto; width: 100%; }
.text-block.center h1 { font-family: 'Playfair Display', Georgia, serif; margin: 0 0 .6rem; color: #000; font-weight: 400; }
.text-block.center p { color: var(--text); }
.text-block.align-left { text-align: left !important; }
.text-block.align-center { text-align: center !important; }
.text-block.align-right { text-align: right !important; }
.text-block.align-justify { text-align: justify !important; }
.underline { text-decoration: underline; color: inherit; }

@media (max-width: 980px) {
  .row { grid-template-columns: 1fr; }
  [class^='col-']{ grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .site-header .container { padding-inline: .9rem; }
  .nav a { margin-left: .8rem; font-size: .9rem; }
  .hero-content { padding: 4rem 1rem; }
}
/* Hero: 3 tall portraits */
.hero-three { padding: 0; }
/* make the hero-three section full-bleed so columns fill the page */
.hero-three .container { width: 100%; max-width: 100%; padding: 0; margin: 0; }
.hero-three .columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.hero-three .panel { border-radius: 0; overflow: hidden; box-shadow: none; min-height: 70vh; }
.hero-three .panel img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 980px) {
  .hero-three .columns { grid-template-columns: 1fr; gap: var(--grid-gap); }
  .hero-three .panel { min-height: 40vh; }
}

/* Editorial left text, right 3x3 grid */
.bg-soft { background: var(--bg-soft); }
#social.section, #iconic.section, #brand.section, #ed-grid.section { padding: 10px 0; }
#social .container, #iconic .container, #brand .container, #ed-grid .container { width: 100%; max-width: 100%; padding: 0; margin: 0; }

/* --- WPBakery (VC) layout helpers: center text column and use equal halves --- */
/* Make VC rows flex containers and stretch columns equal-height */
.vc_row.vc_row-flex { display: flex; }
.vc_row.vc_row-flex.vc_row-o-equal-height.vc_row-o-content-middle { align-items: stretch; gap: 10px; }
/* Ensure columns themselves are flex to allow vertical centering of inner content */
.vc_row.vc_row-flex > .wpb_column { display: flex; }
.vc_row.vc_row-flex > .wpb_column > .vc_column-inner { display: flex; flex-direction: column; height: 100%; width: 100%; }
/* Remove 1-col spacer in these rows */
.vc_row.vc_row-flex.vc_row-o-equal-height.vc_row-o-content-middle .vc_col-sm-1 { display: none; }
/* Force halves: image (6) and text (4) become 50%/50% */
.vc_row.vc_row-flex.vc_row-o-equal-height.vc_row-o-content-middle .vc_col-sm-6,
.vc_row.vc_row-flex.vc_row-o-equal-height.vc_row-o-content-middle .padding-text.vc_col-sm-4 {
  flex: 1 1 50%;
  max-width: 50%;
}
/* Center text block content */
.padding-text .vc_column-inner { align-items: center; justify-content: center; text-align: center; }
.padding-text .vc_column-inner > .wpb_wrapper { margin-top: auto; margin-bottom: auto; width: 100%; max-width: 400px; margin-left: auto; margin-right: auto; }
/* Trim default VC element margins to reduce extra whitespace */
.wpb_single_image, .wpb_text_column { margin-bottom: 10px !important; }
.vc_btn3-container { margin-top: 10px !important; margin-bottom: 0 !important; }
.vc_single_image-wrapper, .vc_single_image-img { width: 100%; height: auto; display: block; }
.nine-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.nine-grid .thumb { position: relative; overflow: hidden; }
.nine-grid .thumb img, .nine-grid .thumb .media { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; border-radius: var(--radius); box-shadow: var(--shadow); }
.nine-grid .thumb-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: .35rem .6rem;
  background: rgba(0,0,0,.65);
  color: #fff;
  font-family: 'Jost', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-size: .85rem;
  text-align: center;
  pointer-events: none;
}

/* Override: remove rounded corners from images and their containers */
.frame, .card, .tile, .cat, .promo .promo-inner, .split-media, .hero-three .panel, .nine-grid .thumb {
  border-radius: 0 !important;
  overflow: visible !important;
}
.frame img, .card img, .tile img, .cat img, .promo .promo-inner img, .split-media img, .hero-three .panel img, .nine-grid .thumb img, img {
  border-radius: 0 !important;
}

/* Image margins: default 10px, but exclude full-bleed and framed images */
img { margin: 10px; }
.hero-media img,
[data-slider] .slide img,
.promo .promo-inner img,
.nine-grid .thumb img,
.frame img,
.hero-three .panel img,
.split-media img { margin: 0; }

/* Side block images (left/right large frames) spacing
   - Keep 10px away from outer page edges and corners
   - Do not cross midpoint (remain within their column)
*/
.row.two-col .col-6 .frame { margin-top: 10px; margin-bottom: 10px; }
.row.two-col:not(.reverse) .col-6 .frame { margin-left: 10px; margin-right: 0; }
.row.two-col.reverse .col-6 .frame { margin-right: 10px; margin-left: 0; }

/* Two-col: nine-grid block should also respect 10px edges */
.row.two-col:not(.reverse) .nine-grid { margin: 10px 10px 10px 0; }

/* WhatsApp B2B full-bleed section */
#whatsapp.section { padding: 0; }
#whatsapp .container { width: 100%; max-width: 100%; padding: 0; margin: 0; }
#whatsapp .promo-inner {
  border-radius: 0;
  aspect-ratio: auto;
  height: clamp(440px, 72vh, 820px);
  overflow: hidden !important;
  box-shadow: none;
}
#whatsapp .promo-inner .overlay { background: rgba(0,0,0,.2); }
#whatsapp .promo-inner .content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  text-align: center;
  padding: 1.1rem 1.4rem;
  width: min(90vw, 680px);
  background: rgba(255,255,255,.85);
  color: #000;
  border: 1px solid rgba(0,0,0,.06);
}
#whatsapp .promo-inner h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 5vw, 50px);
  color: #000;
  margin: 0 0 .4rem;
}
#whatsapp .promo-inner .muted { color: #000; opacity: .78; }
#whatsapp .promo-inner .btn { margin-top: .2rem; background: #111; color: #fff; border-color: #111; }
#whatsapp .promo-inner .btn:hover { background: #000; }
/* WhatsApp inline link (no button) */
#whatsapp .wa-inline { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; color: #000; text-decoration: none; }
#whatsapp .wa-inline:hover { text-decoration: underline; }
#whatsapp .wa-inline i { color: #25D366; font-size: 18px; }
.row.two-col.reverse .nine-grid { margin: 10px 0 10px 10px; }

@media (max-width: 980px) {
  .row.two-col .col-6 .frame { margin-left: 10px; margin-right: 10px; }
}
@media (max-width: 780px) {
  /* Stack two-col sections vertically on mobile */
  .row.two-col { display: block; }
  .row.two-col .col-6,
  .row.two-col .col-4,
  .row.two-col .col-7,
  .row.two-col .col-1.spacer {
    width: 100%;
    max-width: 100%;
    margin: 0 0 1.2rem 0;
  }
  .row.two-col .frame,
  .row.two-col .text-block { margin: 0; }
  .row.two-col .col-1.spacer { display: none; }
  .row.two-col.reverse .col-6,
  .row.two-col.reverse .col-4 { order: 0; }
  /* Reduce nine-grid margins on mobile */
  .nine-grid { margin: 0 0 1rem 0; }
}

/* Menu overlay fix on mobile: disable blocking backdrop */
.nav-backdrop { pointer-events: none; background: transparent; }
/* Cookie banner */
.cookie-banner{ position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 9999; }
.cookie-banner .cookie-inner{
  background: rgba(0,0,0,.9);
  color:#fff;
  padding: 1.25rem 1.4rem;
  border-radius: 14px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 1rem;
  box-shadow: 0 18px 40px rgba(0,0,0,.32);
}
.cookie-banner .cookie-text{
  line-height: 1.6;
  font-size: .95rem;
  max-width: 820px;
}
.cookie-banner .cookie-title{ font-size:1.05rem; font-weight:700; margin-bottom:.35rem; }
.cookie-banner .cookie-body{ margin-bottom:.35rem; }
.cookie-banner .cookie-prefs{ margin-top:.4rem; padding:.85rem .9rem; background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08); border-radius:12px; display:flex; flex-direction:column; gap:.75rem; }
.cookie-banner .pref-row{ display:flex; justify-content:space-between; gap:.75rem; align-items:center; }
.cookie-banner .pref-text{ max-width: 80%; }
.cookie-banner .pref-title{ font-weight:700; margin-bottom:.1rem; }
.cookie-banner .pref-desc{ color:rgba(255,255,255,.85); font-size:.9rem; }
.cookie-banner .pref-toggle{ position:relative; display:inline-block; width:46px; height:26px; }
.cookie-banner .pref-toggle input{ opacity:0; width:0; height:0; }
.cookie-banner .pref-toggle span{
  position:absolute; cursor:pointer; inset:0;
  background:rgba(255,255,255,.25);
  border-radius:20px; transition:background .25s;
}
.cookie-banner .pref-toggle span:before{
  position:absolute; content:\"\"; height:20px; width:20px; left:3px; top:3px;
  background:#fff; border-radius:50%; transition:transform .25s;
  box-shadow:0 3px 8px rgba(0,0,0,.35);
}
.cookie-banner .pref-toggle input:checked + span{ background:#4ade80; }
.cookie-banner .pref-toggle input:checked + span:before{ transform:translateX(20px); }
.cookie-banner .pref-toggle.disabled{ opacity:.5; cursor:not-allowed; }
.cookie-banner .pref-actions{ margin-top:.25rem; }
.cookie-banner .cookie-text .btn.ghost{
  background:transparent;
  color:#fff;
  border:1px solid rgba(255,255,255,.35);
  padding:.45rem .8rem;
  margin-top:.3rem;
}
.cookie-banner .cookie-text a{ color:#fff; text-decoration: underline; }
.cookie-banner .pref-actions{ display:flex; gap:.6rem; flex-wrap:wrap; align-items:center; }
.cookie-banner .pref-actions .btn{
  background:#fff;
  color:#000;
  border-color:#fff;
  padding:.65rem 1rem;
  border-radius: 10px;
  font-weight:600;
}
.cookie-banner .pref-actions .btn.ghost{
  background:transparent;
  color:#fff;
  border:1px solid rgba(255,255,255,.35);
}
.wa-fab{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:9998;
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  background:transparent;
  color:rgba(0,0,0,.8);
  padding:.65rem .75rem;
  border-radius:12px;
  box-shadow:none;
  font-weight:700;
  text-decoration: none;
}
.wa-fab svg{
  width:40px;
  height:40px;
  display:inline-block;
}
.wa-fab i{ font-size:1.6rem; }
.wa-fab span{ font-size:1rem; }
.wa-fab:hover{ color:#000; transform:translateY(-1px); }
.wa-fab, .wa-fab:link, .wa-fab:visited { text-decoration: none; }

/* Contact form section */
.contact-section { background: #fff; padding: 4rem 0; }
.contact-top { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--grid-gap); margin-bottom: 2rem; }
.contact-block h3 { margin: 0 0 .4rem; font-size: clamp(1.6rem, 1.4rem + .5vw, 2rem); font-weight: 500; }
.contact-block .data { color: #000; line-height: 1; white-space: pre-wrap; }
.contact-block .data a { color: #000; text-decoration: none; font-weight: 600; }
.contact-block .data a:hover { text-decoration: underline; }
.contact-block.right .rowline { margin: .25rem 0; }
.contact-block .rowline .icon { margin-right: .4rem; color: #000; }
.contact-form-card { background: #fff; padding: 1.5rem; border: 1px solid var(--line); box-shadow: none; border-radius: 6px; }
.contact-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.contact-row.three { grid-template-columns: repeat(3,1fr); }
.contact-form-card .form-row { display: flex; flex-direction: column; gap: .25rem; }
.contact-form-card label { font-weight: 500; font-size: .9rem; color: #7d7d7d; }
.contact-form-card input,
.contact-form-card textarea { width: 100%; padding: .65rem .6rem; border: none; border-bottom: 1px solid #000; border-radius: 0; font-size: .95rem; font-family: inherit; background: transparent; }
.contact-select { width: 100%; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 4px; background: #fff; font-size: .95rem; font-family: inherit; appearance: none; }
.contact-select:focus { outline: none; border-color: #c0c0c0; }
.contact-form-card textarea { resize: vertical; min-height: 110px; border: 1px solid var(--line); padding: .75rem .8rem; }
.contact-form-card .consent { display: flex; align-items: flex-start; gap: .6rem; font-size: .9rem; margin: .3rem 0 0; color: var(--muted); }
.contact-form-card .consent input { width: auto; margin-top: .25rem; }
.contact-row.consent-row { align-items: center; grid-template-columns: 1fr auto; }
.contact-btn { background: #555; border-color: #555; padding-inline: 1.8rem; }
.contact-btn:hover { background: #333; border-color: #333; }
.contact-alert { padding: .75rem 1rem; border-radius: 8px; margin-bottom: .9rem; font-weight: 600; }
.contact-alert.success { background: #ecfdf3; color: #166534; border: 1px solid #bbf7d0; }
.contact-alert.error { background: #fef2f2; color: #991b1b; border: 1px solid #fecdd3; }

/* Remove underlines and color shifts on footer + WhatsApp inline links */
.footer-rich a,
.footer-rich a:link,
.footer-rich a:visited,
.wa-inline,
.wa-inline:link,
.wa-inline:visited {
  color: inherit;
  text-decoration: none;
}
.footer-rich a:hover,
.wa-inline:hover {
  text-decoration: none;
  color: inherit;
}
@media (max-width:900px){
  .contact-grid{ grid-template-columns:1fr; }
}
@media (max-width:640px){
  .cookie-banner .cookie-inner{ flex-direction:column; align-items:flex-start; }
  .cookie-banner .cookie-actions .btn{ width:100%; text-align:center; }
  .cookie-banner .pref-row{ flex-direction:row; align-items:flex-start; }
  .cookie-banner .pref-text{ max-width:100%; }
}
