/* =========================
   Decoraty Home | Light Brand Theme
   based on logo palette: sage green + gray + clean white
   ========================= */

:root{
  --font: "Cairo", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  /* ✅ Brand colors extracted from logo style */
  --brand:  #9FC292;  /* Sage Green */
  --brand2: #8EBB7A;  /* Deeper Green */
  --brand3: #2f3a33;  /* Charcoal (for headings/contrast) */

  /* Light UI */
  --bg:   #F6FAF6;
  --bg2:  #FFFFFF;
  --surface:  rgba(255,255,255,.92);
  --surface2: rgba(246,250,246,.92);
  --stroke: rgba(47,58,51,.12);

  --text:  #141a16;
  --muted: rgba(20,26,22,.70);

  --shadow: 0 18px 50px rgba(18, 26, 20, .12);
  --shadow2: 0 12px 26px rgba(18, 26, 20, .10);

  --r-xl: 26px;
  --r-lg: 18px;
  --r-md: 14px;

  --container: 1200px;
}

/* Base */
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background:
    radial-gradient(900px 520px at 82% 0%, rgba(159,194,146,.28), transparent 60%),
    radial-gradient(900px 520px at 8% 18%, rgba(142,187,122,.18), transparent 62%),
    linear-gradient(180deg, var(--bg), var(--bg2) 60%, var(--bg));
  overflow-x:hidden;
}
body.no-scroll{ overflow:hidden; }

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

.container{
  width: min(var(--container), calc(100% - 2rem));
  margin-inline:auto;
}

.section{
  position:relative;
  padding: clamp(56px, 6vw, 100px) 0;
}

.muted{ color: var(--muted); }

/* Top progress bar */
.progress{
  position:fixed;
  top:0; inset-inline:0;
  height:4px;
  background: rgba(47,58,51,.06);
  z-index: 9999;
}
.progress span{
  display:block;
  height:100%;
  transform-origin: right;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--brand2), var(--brand));
  filter: drop-shadow(0 0 10px rgba(159,194,146,.25));
}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index: 5000;
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,.75);
  border-bottom: 1px solid rgba(47,58,51,.10);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 1rem;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:.7rem;
  min-width: 220px;
}
.brand-logo{
  width: 55px; height: 55px;
  border-radius: 14px;
  object-fit: contain;
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(47,58,51,.12);
  padding: 6px;
  box-shadow: var(--shadow2);
}
.brand-fallback{
  font-weight:900;
  letter-spacing:.2px;
  color: var(--brand3);
}
.brand-fallback small{
  display:block;
  font-weight:800;
  opacity:.75;
  margin-top:2px;
}
.brand-text{
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  font-weight: 900;
  color: var(--brand3);
}
.brand-text small{
  font-weight: 800;
  opacity: .75;
  margin-top: 4px;
}

/* Nav pill */
.nav{
  display:flex;
  align-items:center;
  gap: .35rem;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(47,58,51,.12);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow2);
}
.nav a{
  padding: .6rem .9rem;
  border-radius: 999px;
  color: rgba(47,58,51,.88);
  transition: transform .18s ease, background .18s ease, color .18s ease;
  font-weight: 800;
  font-size: .95rem;
}
.nav a:hover{
  background: rgba(159,194,146,.18);
  transform: translateY(-1px);
}
.nav .nav-cta{
  background: linear-gradient(135deg, rgba(159,194,146,.32), rgba(142,187,122,.22));
  border: 1px solid rgba(159,194,146,.35);
}
.nav .nav-cta:hover{ background: rgba(159,194,146,.22); }

/* Mobile button */
.nav-toggle{
  display:none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(47,58,51,.12);
  background: rgba(255,255,255,.75);
  cursor:pointer;
  box-shadow: var(--shadow2);
}
.nav-toggle span{
  display:block;
  width: 18px;
  height:2px;
  background: rgba(47,58,51,.85);
  margin: 5px auto;
  border-radius: 999px;
}

/* Mobile drawer */
.nav-drawer{
  display:none;
  position:fixed;
  inset: 76px 0 0 0;
  background: rgba(20,26,22,.30);
  backdrop-filter: blur(10px);
}
.nav-drawer.open{ display:block; }
.nav-drawer-inner{
  width:min(520px, calc(100% - 2rem));
  margin: 16px auto 0;
  border-radius: var(--r-xl);
  border: 1px solid rgba(47,58,51,.12);
  background: rgba(255,255,255,.92);
  padding: 14px;
  box-shadow: var(--shadow);
  display:grid;
  gap: 8px;
}
.nav-drawer-inner a{
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(47,58,51,.10);
  background: rgba(246,250,246,.92);
  font-weight: 900;
  color: var(--brand3);
}
.nav-drawer-inner a:hover{
  background: rgba(159,194,146,.18);
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  border-radius: 999px;
  padding: 14px 18px;
  border: 1px solid rgba(47,58,51,.14);
  background: rgba(255,255,255,.78);
  color: var(--brand3);
  font-weight: 900;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
  box-shadow: var(--shadow2);
}
.btn:hover{ transform: translateY(-2px); background: rgba(255,255,255,.92); }
.btn.primary{
  border-color: rgba(159,194,146,.40);
  background: linear-gradient(135deg, rgba(159,194,146,.42), rgba(142,187,122,.26));
}
.btn.ghost{
  background: transparent;
}
.btn.small{ padding: 12px 14px; font-size: .95rem; }

/* Hero */
.hero{
  padding-top: clamp(30px, 3vw, 60px);
  min-height: 92vh;
  display:flex;
  align-items:center;
  overflow:hidden;
}
.hero-bg{ position:absolute; inset:0; pointer-events:none; }

.gridlines{
  position:absolute; inset:0;
  background:
    linear-gradient(to bottom, rgba(47,58,51,.08) 1px, transparent 1px),
    linear-gradient(to right, rgba(47,58,51,.08) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(55% 60% at 50% 40%, #000 40%, transparent 75%);
  opacity:.22;
}

/* Soft brand orbs */
.orb{
  position:absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  filter: blur(38px);
  opacity:.45;
  animation: float 7.5s ease-in-out infinite;
}
.orb-1{ top:-160px; right:-160px; background: rgba(159,194,146,.75); }
.orb-2{ bottom:-180px; left:-180px; background: rgba(142,187,122,.55); animation-duration: 9.5s; }
.orb-3{ top: 28%; left: 50%; transform: translateX(-50%); width: 420px; height: 420px; background: rgba(47,58,51,.10); animation-duration: 10.5s; }

@keyframes float{
  0%,100%{ transform: translate(0,0) scale(1); }
  50%{ transform: translate(0,-18px) scale(1.03); }
}

.hero-inner{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(18px, 3vw, 40px);
  align-items:center;
  position:relative;
}

.kicker{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  font-weight: 900;
  color: rgba(47,58,51,.85);
  letter-spacing:.2px;
  margin: 0 0 12px 0;
}

.hero h1{
  font-size: clamp(2.1rem, 3.6vw, 3.2rem);
  line-height: 1.18;
  margin: 0 0 14px 0;
  color: var(--brand3);
}
.lead{
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.95;
  margin: 0 0 22px 0;
  color: rgba(20,26,22,.78);
}
.lead strong{
  color: rgba(47,58,51,.92);
}

.hero-actions{ display:flex; gap: 12px; flex-wrap:wrap; }

.pill{
  margin-top: 18px;
  display:flex;
  align-items:center;
  gap:10px;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(47,58,51,.12);
  background: rgba(255,255,255,.78);
  width: fit-content;
  box-shadow: var(--shadow2);
}
.dot{
  width: 10px; height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, var(--brand));
  box-shadow: 0 0 14px rgba(159,194,146,.35);
}

/* Hero cards */
.hero-cards{
  display:grid;
  gap: 14px;
}
.media-card{
  border-radius: var(--r-xl);
  border: 1px solid rgba(47,58,51,.12);
  overflow:hidden;
  background: rgba(255,255,255,.84);
  box-shadow: var(--shadow);
  transform: translateZ(0);
}
.media-card img{
  height: 150px;
  width: 100%;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.02);
}
.media-card:nth-child(2) img{ height: 220px; }
.media-card:nth-child(3) img{ height: 180px; }

.media-cap{
  padding: 12px 14px;
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap: 10px;
}
.media-cap span{ font-weight: 900; color: var(--brand3); }
.media-cap small{ color: rgba(20,26,22,.62); font-weight: 800; }

.tilt{ transition: transform .22s ease; }
.tilt:hover{ transform: translateY(-3px) rotate(-.15deg); }

/* Scroll hint */
.scroll-hint{
  position:absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(47,58,51,.12);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow2);
}
.scroll-hint span{ font-weight: 900; color: rgba(47,58,51,.78); }
.chev{
  width: 10px; height: 10px;
  border-right: 2px solid rgba(47,58,51,.72);
  border-bottom: 2px solid rgba(47,58,51,.72);
  transform: rotate(45deg);
  animation: bounce 1.2s ease-in-out infinite;
}
@keyframes bounce{
  0%,100%{ transform: rotate(45deg) translate(0,0); }
  50%{ transform: rotate(45deg) translate(-2px, -2px); }
}

/* Alternating section styles */
.alt-a{
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.00));
}
.alt-b{
  background:
    radial-gradient(900px 420px at 20% 0%, rgba(159,194,146,.20), transparent 62%),
    radial-gradient(900px 420px at 80% 10%, rgba(142,187,122,.14), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.00));
}
.alt-c{
  background: linear-gradient(135deg, rgba(159,194,146,.14), rgba(255,255,255,.30));
}

/* Split section */
.split{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(18px, 3vw, 40px);
  align-items:center;
}

.panel{
  padding: 22px;
  border-radius: var(--r-xl);
  border: 1px solid rgba(47,58,51,.12);
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow2);
}
.panel h2{
  margin:0 0 12px 0;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  color: var(--brand3);
}
.panel p{ margin:0; line-height: 2.0; color: rgba(20,26,22,.80); }

.chips{ margin-top: 16px; display:flex; gap: 10px; flex-wrap:wrap; }
.chip{
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(47,58,51,.12);
  background: rgba(246,250,246,.95);
  font-weight: 900;
  color: rgba(47,58,51,.78);
}

.mosaic{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.mosaic img{
  border-radius: 18px;
  border: 1px solid rgba(47,58,51,.12);
  height: 170px;
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow2);
  transition: transform .18s ease;
}
.mosaic img:hover{ transform: translateY(-2px); }

/* Section head */
.section-head{
  max-width: 860px;
  margin: 0 auto 22px auto;
  text-align: center;
}
.section-head h2{
  margin: 0 0 8px 0;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  color: var(--brand3);
}
.section-head p{ margin:0; line-height: 1.9; color: rgba(20,26,22,.72); }

/* Cards */
.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.card{
  padding: 18px 18px 16px;
  border-radius: var(--r-xl);
  border: 1px solid rgba(47,58,51,.12);
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow2);
  position:relative;
  overflow:hidden;
}
.card::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(420px 140px at 30% 0%, rgba(159,194,146,.32), transparent 62%),
    radial-gradient(420px 140px at 80% 10%, rgba(142,187,122,.22), transparent 62%);
  opacity:.70;
  pointer-events:none;
}
.card > *{ position:relative; }
.card h3{ margin: 8px 0 10px; font-size: 1.15rem; color: var(--brand3); }
.card p{ margin:0; line-height: 1.95; color: rgba(20,26,22,.78); }

.icon{
  width: 44px; height: 44px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  background: rgba(159,194,146,.16);
  border: 1px solid rgba(47,58,51,.12);
}
.icon svg{ width: 22px; height: 22px; color: rgba(47,58,51,.85); }

/* Band */
.band{
  margin-top: 18px;
  border-radius: var(--r-xl);
  border: 1px solid rgba(47,58,51,.12);
  background: rgba(255,255,255,.84);
  box-shadow: var(--shadow2);
  overflow:hidden;
}
.band-inner{
  padding: 16px 18px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 12px;
  flex-wrap:wrap;
}
.band-inner p{ margin:0; font-weight: 900; color: rgba(47,58,51,.80); }

/* Feature grid */
.feature-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.feature{
  padding: 18px;
  border-radius: var(--r-xl);
  border: 1px solid rgba(47,58,51,.12);
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow2);
}
.feature-num{
  width: 42px; height: 42px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  border: 1px solid rgba(47,58,51,.12);
  background: linear-gradient(135deg, rgba(159,194,146,.45), rgba(142,187,122,.26));
  font-weight: 1000;
  color: var(--brand3);
}
.feature h3{ margin: 10px 0 8px; color: var(--brand3); }
.feature p{ margin:0; line-height: 1.85; color: rgba(20,26,22,.70); }

/* Styling strip */
.styling-strip{
  margin-top: 18px;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 14px;
  align-items:stretch;
}
.strip-img img{
  border-radius: var(--r-xl);
  border: 1px solid rgba(47,58,51,.12);
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.strip-copy{
  border-radius: var(--r-xl);
  border: 1px solid rgba(47,58,51,.12);
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow2);
  padding: 18px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.strip-copy h3{ margin:0 0 10px 0; color: var(--brand3); }
.strip-copy p{ margin:0 0 14px 0; line-height: 1.9; }

/* Why */
.why-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.why-item{
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(47,58,51,.12);
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow2);
}
.why-item h3{ margin:0 0 8px 0; font-size: 1.05rem; color: var(--brand3); }
.why-item p{ margin:0; color: rgba(20,26,22,.78); line-height: 1.85; }

/* Gallery */
.gallery-grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.g-item{
  position:relative;
  border-radius: 20px;
  overflow:hidden;
  border: 1px solid rgba(47,58,51,.12);
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow2);
  transform: translateZ(0);
}
.g-item img{
  width:100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  transition: transform .25s ease, filter .25s ease;
  filter: saturate(1.02) contrast(1.02);
}
.g-item:hover img{
  transform: scale(1.03);
  filter: saturate(1.08) contrast(1.03);
}
.g-badge{
  position:absolute;
  top: 12px; right: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  font-weight: 1000;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(47,58,51,.12);
  backdrop-filter: blur(10px);
  color: var(--brand3);
}

/* Layout positions */
.gallery-grid a:nth-child(1){ grid-column: span 4; }
.gallery-grid a:nth-child(2){ grid-column: span 4; }
.gallery-grid a:nth-child(3){ grid-column: span 4; }
.gallery-grid a:nth-child(4){ grid-column: span 5; }
.gallery-grid a:nth-child(5){ grid-column: span 4; }
.gallery-grid a:nth-child(6){ grid-column: span 3; }
.gallery-grid a.wide{ grid-column: span 8; }
.gallery-grid a:nth-child(8){ grid-column: span 4; }

.gallery-note{ margin-top: 14px; text-align:center; }

/* CSS Lightbox */
.lightbox{
  position:fixed;
  inset:0;
  background: rgba(20,26,22,.70);
  display:none;
  align-items:center;
  justify-content:center;
  padding: 18px;
  z-index: 9000;
}
.lightbox:target{ display:flex; }
.lightbox img{
  width: min(1100px, 92vw);
  max-height: 82vh;
  object-fit: cover;
  border-radius: var(--r-xl);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: var(--shadow);
}
.lb-close{ position:absolute; inset:0; }

/* Official data */
.data-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.data-card{
  padding: 18px;
  border-radius: var(--r-xl);
  border: 1px solid rgba(47,58,51,.12);
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow2);
}
.data-card .label{
  display:block;
  color: rgba(20,26,22,.66);
  font-weight: 900;
  margin-bottom: 6px;
}
.data-card strong{
  font-size: 1.25rem;
  letter-spacing: .4px;
  color: var(--brand3);
}

/* Contact */
.contact-inner{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 14px;
  align-items:start;
}
.contact-card{
  padding: 22px;
  border-radius: var(--r-xl);
  border: 1px solid rgba(47,58,51,.12);
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow);
}
.contact-card h2{ margin:0 0 12px 0; color: var(--brand3); }

.contact-lines{
  margin-top: 12px;
  display:grid;
  gap: 10px;
}
.contact-line{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(47,58,51,.12);
  background: rgba(246,250,246,.92);
}
.c-ico{
  width: 34px; height: 34px;
  display:grid;
  place-items:center;
  border-radius: 12px;
  border: 1px solid rgba(47,58,51,.12);
  background: rgba(159,194,146,.16);
  font-weight: 1000;
  color: var(--brand3);
}

.note{
  margin-top: 14px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(159,194,146,.45);
  background: rgba(159,194,146,.18);
}
.note p{ margin:0; line-height: 1.95; color: rgba(20,26,22,.78); }

.contact-actions{
  display:flex;
  gap: 12px;
  flex-wrap:wrap;
  margin-top: 14px;
}

.side-card{
  padding: 18px;
  border-radius: var(--r-xl);
  border: 1px solid rgba(47,58,51,.12);
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow2);
}
.side-card h3{ margin:0 0 10px 0; color: var(--brand3); }

.side-gallery{
  margin-top: 12px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.side-gallery img{
  border-radius: 16px;
  border: 1px solid rgba(47,58,51,.12);
  height: 220px;
  width: 100%;
  object-fit: cover;
  transition: transform .18s ease;
}
.side-gallery img:hover{ transform: translateY(-2px); }

/* Footer */
.footer{
  margin-top: 26px;
  padding: 18px 0 6px;
  border-top: 1px solid rgba(47,58,51,.10);
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  color: rgba(20,26,22,.66);
  flex-wrap:wrap;
}
.footer a{ color: rgba(47,58,51,.86); font-weight: 900; }
.sep{ opacity:.45; }

/* Dividers */
.section-divider{
  position:absolute;
  left:0; right:0; bottom:-1px;
  height: 36px;
  background: linear-gradient(180deg, transparent, rgba(159,194,146,.12));
  clip-path: polygon(0 55%, 100% 0, 100% 100%, 0 100%);
  opacity:.75;
}
.section-divider.invert{
  clip-path: polygon(0 0, 100% 55%, 100% 100%, 0 100%);
}

/* Reveal */
.reveal{
  opacity:0;
  transform: translateY(16px);
  transition: opacity .55s ease, transform .55s ease;
  transition-delay: var(--delay, 0ms);
}
.reveal.in{
  opacity:1;
  transform: translateY(0);
}

/* Back to top */
.to-top{
  position:fixed;
  bottom: 18px;
  left: 18px;
  width: 46px; height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(47,58,51,.14);
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(12px);
  display:grid;
  place-items:center;
  box-shadow: var(--shadow2);
  opacity:0;
  pointer-events:none;
  transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease;
  z-index: 8000;
}
.to-top.show{
  opacity:1;
  pointer-events:auto;
  transform: translateY(0);
}
.to-top:hover{ background: rgba(255,255,255,.92); transform: translateY(-2px); }
.arrow{ font-weight: 1000; font-size: 18px; color: var(--brand3); }

/* Responsive */
@media (max-width: 980px){
  .nav{ display:none; }
  .nav-toggle{ display:block; }
  .hero-inner, .split, .styling-strip, .contact-inner{
    grid-template-columns: 1fr;
  }
  .hero{ min-height: auto; padding-bottom: 86px; }
  .media-card img{ height: 200px; }
  .cards{ grid-template-columns: 1fr; }
  .feature-grid{ grid-template-columns: 1fr; }
  .why-grid{ grid-template-columns: 1fr 1fr; }
  .data-grid{ grid-template-columns: 1fr 1fr; }
  .gallery-grid{ grid-template-columns: repeat(6, 1fr); }
  .gallery-grid a:nth-child(1),
  .gallery-grid a:nth-child(2),
  .gallery-grid a:nth-child(3),
  .gallery-grid a:nth-child(4),
  .gallery-grid a:nth-child(5),
  .gallery-grid a:nth-child(6),
  .gallery-grid a.wide,
  .gallery-grid a:nth-child(8){ grid-column: span 6; }
  .side-gallery img{ height: 110px; }
}
@media (max-width: 520px){
  .brand{ min-width: auto; }
  .brand-logo{ width: 42px; height: 42px; }
  .panel, .contact-card{ padding: 18px; }
  .why-grid{ grid-template-columns: 1fr; }
  .data-grid{ grid-template-columns: 1fr; }
  .scroll-hint{ display:none; }
}
.footer{
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  flex-wrap: wrap;


}

body{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main{
  flex: 1;
}
.contact.section{
  padding-bottom: 0;
}
