/* ===========================================================
   Gul Marble and Granite, stylesheet
   =========================================================== */

:root{
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* light theme (default) */
  --bg: #eef0ee;
  --surface: #ffffff;
  --surface-2: #e6e9e5;
  --text: #1b1f1d;
  --text-muted: #565f5a;
  --border: #d8dcd7;
  --accent: #1f6f52;
  --accent-strong: #17573f;
  --accent-soft: #e3f0ea;
  --accent-contrast: #ffffff;
  --shadow: 0 20px 50px -25px rgba(20, 30, 25, 0.35);
  --overlay-scrim: linear-gradient(180deg, rgba(10,14,12,0.15) 0%, rgba(10,14,12,0.55) 65%, rgba(8,11,10,0.85) 100%);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --ease-out: cubic-bezier(.16,.8,.32,1);
  --ease-in-out: cubic-bezier(.65,0,.35,1);
  --dur-fast: 160ms;
  --dur-med: 420ms;
  --dur-slow: 760ms;

  color-scheme: light;
}

:root:not([data-theme="light"]){
  @media (prefers-color-scheme: dark){
    --bg: #141715;
    --surface: #1b1f1c;
    --surface-2: #232824;
    --text: #eef1ee;
    --text-muted: #a7ada7;
    --border: #2c322d;
    --accent: #3fae82;
    --accent-strong: #57c093;
    --accent-soft: #1c2b23;
    --accent-contrast: #0c1210;
    --shadow: 0 20px 60px -20px rgba(0,0,0,0.6);
    --overlay-scrim: linear-gradient(180deg, rgba(6,9,7,0.25) 0%, rgba(6,9,7,0.65) 65%, rgba(4,6,5,0.92) 100%);
    color-scheme: dark;
  }
}

:root[data-theme="dark"]{
  --bg: #141715;
  --surface: #1b1f1c;
  --surface-2: #232824;
  --text: #eef1ee;
  --text-muted: #a7ada7;
  --border: #2c322d;
  --accent: #3fae82;
  --accent-strong: #57c093;
  --accent-soft: #1c2b23;
  --accent-contrast: #0c1210;
  --shadow: 0 20px 60px -20px rgba(0,0,0,0.6);
  --overlay-scrim: linear-gradient(180deg, rgba(6,9,7,0.25) 0%, rgba(6,9,7,0.65) 65%, rgba(4,6,5,0.92) 100%);
  color-scheme: dark;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
}

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3{
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 .5em;
  color: var(--text);
}

p{ margin: 0 0 1em; color: var(--text-muted); }

a{ color: inherit; text-decoration: none; }

button{ font-family: inherit; cursor: pointer; }

.visually-hidden{
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container{
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 24px;
}

.eyebrow{
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9em;
}

.section{
  padding: clamp(64px, 9vw, 128px) 0;
}
.section-head{
  max-width: 640px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head h2{
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
}
.section-head--center{
  margin-inline: auto;
  text-align: center;
}

.surface-alt{ background: var(--surface); }

/* buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.9em 1.6em;
  min-height: 48px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease-out),
              background-color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.btn:active{ transform: scale(0.97); }
.btn-primary{
  background: var(--accent);
  color: var(--accent-contrast);
}
.btn-primary:hover{ background: var(--accent-strong); box-shadow: var(--shadow); }
.btn-ghost{
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover{ border-color: var(--accent); color: var(--accent); }
.btn-block{ width: 100%; }
.btn svg{ width: 1.1em; height: 1.1em; flex: none; }

/* ===================== Header ===================== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px) saturate(1.1);
  border-bottom: 1px solid var(--border);
}
.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 76px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  flex: 1 1 auto;
  min-width: 0;
}
.brand-mark{ width: 38px; height: 38px; flex: none; color: var(--accent); }
.brand-name{
  line-height: 1.1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.brand-name small{
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 480px){
  .brand{ font-size: 1.05rem; gap: 0.5rem; }
  .brand-mark{ width: 30px; height: 30px; }
  .brand-name small{ display: none; }
}

.nav-links{
  display: flex;
  align-items: center;
  gap: 1.1rem;
  list-style: none;
  margin: 0; padding: 0;
  font-weight: 500;
  white-space: nowrap;
  font-size: 0.92rem;
}
.nav-links a{
  color: var(--text-muted);
  position: relative;
  padding: 0.3em 0;
  transition: color var(--dur-fast) var(--ease-out);
}
.nav-links a:hover{ color: var(--text); }
.nav-links a::after{
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--accent);
  transition: right var(--dur-med) var(--ease-out);
}
.nav-links a:hover::after{ right: 0; }

.nav-actions{ display: flex; align-items: center; gap: 0.6rem; flex: none; }

.icon-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  transition: border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.icon-btn:hover{ border-color: var(--accent); color: var(--accent); }
.icon-btn:active{ transform: scale(0.94); }
.icon-btn svg{ width: 20px; height: 20px; }

.theme-toggle .sun{ display: none; }
:root[data-theme="dark"] .theme-toggle .sun{ display: block; }
:root[data-theme="dark"] .theme-toggle .moon{ display: none; }
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .theme-toggle .sun{ display: block; }
  :root:not([data-theme="light"]) .theme-toggle .moon{ display: none; }
}

.nav-toggle{ display: none; }

.mobile-panel{
  position: fixed;
  inset: 76px 0 0 0;
  background: var(--bg);
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out), visibility 0s linear var(--dur-med);
  z-index: 90;
  overflow-y: auto;
}
.mobile-panel.is-open{
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}
.mobile-panel ul{
  list-style: none;
  margin: 0; padding: 32px 24px;
  display: flex; flex-direction: column; gap: 4px;
}
.mobile-panel a{
  display: block;
  padding: 16px 4px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  min-height: 44px;
}
.mobile-panel .nav-actions{ padding: 8px 24px 32px; }

@media (max-width: 900px){
  .nav-links{ display: none; }
  .nav-call-desktop{ display: none; }
  .nav-toggle{
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
  }
  .nav-toggle svg{ width: 22px; height: 22px; }
}

/* ===================== Hero ===================== */
.hero{
  position: relative;
  min-height: 92vh;
  min-height: 92dvh;
  display: flex;
  align-items: flex-end;
  padding-top: clamp(48px, 6vw, 96px);
  padding-bottom: clamp(48px, 6vw, 88px);
  color: #f4f6f4;
  overflow: hidden;
}
.hero-media{
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-media img{
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-media::after{
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay-scrim);
}
.hero-inner{ max-width: 800px; }
.hero .eyebrow{ color: #bfe9d5; }
.hero h1{
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
  color: #ffffff;
  text-wrap: balance;
}
.hero p{
  color: #e5e9e6;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  max-width: 46ch;
}
.hero-ctas{
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}
.hero-ctas .btn-ghost{
  border-color: rgba(255,255,255,0.45);
  color: #fff;
}
.hero-ctas .btn-ghost:hover{ border-color: #fff; color: #fff; background: rgba(255,255,255,0.08); }

/* ===================== Stats strip ===================== */
.stats{
  position: relative;
  z-index: 2;
  margin-top: -64px;
}
.stats-grid{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  overflow: hidden;
}
.stat{
  padding: 1.8rem 1.4rem;
  text-align: center;
  border-left: 1px solid var(--border);
}
.stat:first-child{ border-left: none; }
.stat-num{
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.35em;
}
.stat-label{
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.35;
}
@media (max-width: 760px){
  .stats{ margin-top: -40px; }
  .stats-grid{ grid-template-columns: repeat(2, 1fr); }
  .stat{ border-left: none; border-top: 1px solid var(--border); padding: 1.4rem 1rem; }
  .stat:nth-child(1), .stat:nth-child(2){ border-top: none; }
}

/* ===================== About (split) ===================== */
.about{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.about-copy p{ font-size: 1.05rem; max-width: 52ch; }
.about-tags{
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin-top: 1.4rem; list-style: none; padding: 0;
}
.about-tags li{
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5em 1em;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}
.about-media{
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow);
}
.about-media img{ width: 100%; height: 100%; object-fit: cover; }
.about-badge{
  position: absolute;
  left: 1.2rem; bottom: 1.2rem;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.2rem;
  max-width: 220px;
}
.about-badge strong{
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent);
}
.about-badge span{ font-size: 0.8rem; color: var(--text-muted); }

@media (max-width: 860px){
  .about{ grid-template-columns: 1fr; }
  .about-media{ order: -1; aspect-ratio: 16/11; }
}

/* ===================== Products (bento) ===================== */
.bento{
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-rows: repeat(2, minmax(200px, auto));
  gap: 20px;
}
.bento-card{
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 260px;
  isolation: isolate;
}
.bento-card.is-tall{ grid-row: span 2; min-height: 540px; }
.bento-card img{
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.bento-card::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,14,12,0.05) 0%, rgba(8,11,10,0.82) 100%);
  z-index: 1;
}
.bento-card:hover img{ transform: scale(1.06); }
.bento-content{
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.6rem;
  color: #fff;
}
.bento-content h3{ color: #fff; font-size: 1.6rem; margin-bottom: 0.3em; }
.bento-content p{ color: #dfe6e2; font-size: 0.92rem; max-width: 34ch; margin-bottom: 0; }
.bento-tag{
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: color-mix(in srgb, var(--accent) 85%, black 0%);
  color: #fff;
  padding: 0.35em 0.8em;
  border-radius: 999px;
  margin-bottom: 0.8em;
}

@media (max-width: 760px){
  .bento{ grid-template-columns: 1fr; grid-template-rows: none; }
  .bento-card.is-tall{ grid-row: auto; min-height: 320px; }
}

/* ===================== Why us (feature row) ===================== */
.feature-row{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature{
  background: var(--surface);
  padding: 2rem 1.6rem;
}
.feature-icon{
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.feature-icon svg{ width: 22px; height: 22px; }
.feature h3{ font-size: 1.15rem; font-family: var(--font-body); font-weight: 600; margin-bottom: 0.4em; }
.feature p{ font-size: 0.92rem; margin-bottom: 0; }

@media (max-width: 900px){
  .feature-row{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .feature-row{ grid-template-columns: 1fr; }
}

/* ===================== Gallery ===================== */
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 130px;
  gap: 14px;
}
.gallery-item{
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  grid-column: span 3;
  grid-row: span 2;
}
.gallery-item:nth-child(1){ grid-column: span 4; grid-row: span 3; }
.gallery-item:nth-child(2){ grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(3){ grid-column: span 2; grid-row: span 3; }
.gallery-item:nth-child(4){ grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(5){ grid-column: span 3; grid-row: span 2; }
.gallery-item:nth-child(6){ grid-column: span 3; grid-row: span 2; }

.gallery-item img{
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(85%) contrast(1.02);
  transform: scale(1.01);
  transition: filter var(--dur-med) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.gallery-item:hover img, .gallery-item:focus-within img{
  filter: grayscale(0%) contrast(1.02);
  transform: scale(1.07);
}

@media (max-width: 760px){
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery-item, .gallery-item:nth-child(1), .gallery-item:nth-child(2),
  .gallery-item:nth-child(3), .gallery-item:nth-child(4),
  .gallery-item:nth-child(5), .gallery-item:nth-child(6){
    grid-column: span 1; grid-row: span 2;
  }
}

/* ===================== Contact ===================== */
.contact-grid{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
  min-width: 0;
}
.contact-grid > div{ min-width: 0; }
.contact-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px);
  min-width: 0;
}
.contact-list{ list-style: none; margin: 0 0 1.6rem; padding: 0; display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.contact-list li{ min-width: 0; }
.contact-list a, .contact-list span{
  display: flex; align-items: center; gap: 0.9rem;
  font-size: 0.98rem;
  min-height: 44px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.contact-list a{ transition: color var(--dur-fast) var(--ease-out); }
.contact-list a:hover{ color: var(--accent); }
.contact-list .ico{
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
}
.contact-list .ico svg{ width: 19px; height: 19px; }

.map-frame{
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16/10;
}
.map-frame iframe{ width: 100%; height: 100%; border: 0; }

.form-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px);
}
.field{ margin-bottom: 1.2rem; }
.field label{
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5em;
}
.field .req{ color: var(--accent); }
.field input, .field textarea{
  width: 100%;
  padding: 0.85em 1em;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  min-height: 48px;
  transition: border-color var(--dur-fast) var(--ease-out);
}
.field textarea{ min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus{ border-color: var(--accent); outline: none; }
.form-note{
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.8rem;
  margin-bottom: 0;
  min-height: 1.2em;
}
.form-note[data-state="sent"]{ color: var(--accent); font-weight: 600; }

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

/* ===================== Footer ===================== */
.site-footer{
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  padding: clamp(48px, 6vw, 72px) 0 24px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}
.footer-brand .brand{ margin-bottom: 0.8rem; }
.footer-brand p{ max-width: 34ch; font-size: 0.92rem; }
.footer-social{
  display: flex; gap: 0.6rem; margin-top: 1rem;
}
.footer-col h4{
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.footer-col ul{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a{ color: var(--text); font-size: 0.95rem; overflow-wrap: anywhere; }
.footer-col a:hover{ color: var(--accent); }
.footer-bottom{
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.6rem;
  padding-top: 1.4rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

@media (max-width: 760px){
  .footer-grid{ grid-template-columns: 1fr; gap: 2rem; }
}

/* ===================== Floating WhatsApp ===================== */
.fab-whatsapp{
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 80;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,0.45);
  transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out), opacity var(--dur-med) var(--ease-out);
}
.fab-whatsapp:hover{ background: var(--accent-strong); transform: translateY(-3px); }
.fab-whatsapp:active{ transform: scale(0.95); }
.fab-whatsapp.is-hidden{
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}
@media (prefers-reduced-motion: reduce){
  .fab-whatsapp.is-hidden{ transform: none; }
}
.fab-whatsapp svg{ width: 27px; height: 27px; }

/* ===================== Reveal-on-scroll ===================== */
.reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

/* ===================== Grid/flex blowout safety net ===================== */
.about, .bento, .feature-row, .footer-grid, .stats-grid, .gallery-grid, .contact-grid,
.nav, .hero-inner{
  min-width: 0;
}
.about > *, .bento > *, .feature-row > *, .footer-grid > *, .contact-grid > *{
  min-width: 0;
}

@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; transition: none; }
  .bento-card img, .gallery-item img, .btn, .icon-btn, .fab-whatsapp{ transition: none !important; }
}

/* ===================== Blog: page hero ===================== */
.page-hero{
  padding: clamp(56px, 8vw, 96px) 0 clamp(36px, 6vw, 60px);
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.page-hero h1{ font-size: clamp(2rem, 4vw, 3rem); max-width: 22ch; }
.page-hero p{ max-width: 58ch; font-size: 1.05rem; margin-bottom: 0; }

.back-link{
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
  min-height: 44px;
}
.back-link svg{ width: 16px; height: 16px; }
.back-link:hover{ color: var(--accent); }

.tag-pill{
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent-soft);
  color: var(--accent-strong);
  padding: 0.35em 0.8em;
  border-radius: 999px;
}

/* ===================== Blog: listing grid ===================== */
.blog-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.blog-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-card-media{ aspect-ratio: 16/10; overflow: hidden; }
.blog-card-media img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.blog-card:hover .blog-card-media img{ transform: scale(1.06); }
.blog-card-body{ padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.blog-meta{
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0.8rem 0 0.5rem;
}
.blog-card h3{ font-size: 1.3rem; margin-bottom: 0.5rem; }
.blog-card h3 a{ color: inherit; }
.blog-card h3 a:hover{ color: var(--accent); }
.blog-card p{ font-size: 0.92rem; flex: 1; }
.blog-card-link{
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
  min-height: 44px;
}
.blog-card-link svg{ width: 16px; height: 16px; transition: transform var(--dur-fast) var(--ease-out); }
.blog-card:hover .blog-card-link svg{ transform: translateX(3px); }

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

/* ===================== Blog: article ===================== */
.article{ padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 96px); }
.article-header{ max-width: 720px; margin: 0 auto clamp(24px, 4vw, 40px); }
.article-header h1{ font-size: clamp(1.9rem, 4vw, 2.8rem); }
.article-cover{
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0 auto clamp(28px, 4vw, 48px);
  max-width: 900px;
  aspect-ratio: 21/9;
}
.article-cover img{ width: 100%; height: 100%; object-fit: cover; }

.prose{ max-width: 680px; margin: 0 auto; font-size: 1.05rem; line-height: 1.75; color: var(--text); }
.prose h2{ font-size: 1.6rem; margin-top: 1.6em; }
.prose p{ color: var(--text); margin-bottom: 1.3em; }
.prose ul{ padding-left: 1.2em; margin-bottom: 1.3em; color: var(--text); }
.prose li{ margin-bottom: 0.5em; }

.callout{
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.4rem;
  margin: 1.8em 0;
  font-size: 0.98rem;
}
.callout p:last-child{ margin-bottom: 0; }
.callout strong{ color: var(--accent-strong); }

.article-cta{
  margin-top: 2.4em;
  padding: 1.8rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
}
.article-cta h3{ margin-bottom: 0.4em; }
.article-cta .hero-ctas{ justify-content: center; margin-top: 1rem; }

.more-posts{
  max-width: 680px;
  margin: clamp(40px, 6vw, 64px) auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.more-posts h4{
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.more-posts ul{ list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.more-posts a{ font-weight: 600; display: flex; align-items: center; gap: 0.5rem; min-height: 44px; }
.more-posts a:hover{ color: var(--accent); }
