/* =====================================================
   JUTEX Slovakia – Modern Website
   ===================================================== */

/* ─── Custom Properties ─── */
:root {
  --red:       #FF0000;
  --red-dark:  #CC0000;
  --dark:      #0d0d0d;
  --dark-2:    #181818;
  --dark-3:    #252525;
  --mid:       #555;
  --muted:     #888;
  --border:    #e8e8e8;
  --light:     #f6f6f6;
  --white:     #ffffff;

  --font: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --max:  1240px;
  --r:    12px;
  --r-lg: 20px;

  --shadow:    0 2px 12px rgba(0,0,0,.06);
  --shadow-md: 0 6px 32px rgba(0,0,0,.09);
  --shadow-lg: 0 20px 64px rgba(0,0,0,.12);

  --ease: cubic-bezier(.25,.46,.45,.94);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); }

/* ─── Container ─── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .01em;
  border: 2px solid transparent;
  transition: background .18s var(--ease), border-color .18s var(--ease),
              color .18s var(--ease), transform .15s var(--ease);
  white-space: nowrap;
  user-select: none;
}
.btn--lg { padding: .85rem 2rem; font-size: 1rem; }
.btn--sm { padding: .45rem 1rem; font-size: .8rem; }
.btn--full { width: 100%; justify-content: center; }

/* ── Hover: len pohyb nahor, bez tieňa a tmavnutia ── */
/* ── Click: stlačenie nadol (press efekt)          ── */
.btn:active {
  transform: translateY(2px) scale(.97) !important;
  transition-duration: .08s !important;
}

.btn--primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn--primary:hover {
  transform: translateY(-2px);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn--outline {
  background: #f4f4f4;
  color: var(--dark);
  border-color: #ddd;
}
.btn--outline:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
  font-weight: 700;
}
.btn--white:hover {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border-color: rgba(255,255,255,.7);
  transform: translateY(-2px);
}

/* ─── Eyebrow ─── */
.eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .875rem;
}

/* ─── Section Head ─── */
.section { padding: 7rem 0; }

.section__head {
  text-align: left;
  max-width: 620px;
  margin: 0 0 4.5rem;
}
.section__head h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.15;
  margin-bottom: 1.1rem;
  color: var(--dark);
}
.section__head p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

/* ─── Scroll Reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s var(--ease) var(--delay, 0s),
              transform .65s var(--ease) var(--delay, 0s);
}
.reveal.in { opacity: 1; transform: none; }


/* ═══════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 1.4rem 0;
  transition: background .3s var(--ease), padding .3s var(--ease),
              box-shadow .3s var(--ease), backdrop-filter .3s;
}
.nav--scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  padding: .85rem 0;
  border-bottom: 1.5px solid #e0e0e0;
}

.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.nav__logo-img {
  height: 56px;
  width: auto;
  display: block;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-left: auto;
}

.nav__link {
  padding: .45rem .9rem;
  font-size: .875rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  border-radius: 6px;
  border: 1.5px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
}
.nav__link:hover {
  background: rgba(255,255,255,.14);
  color: var(--white);
}
.nav--scrolled .nav__link {
  color: var(--dark);
}
.nav--scrolled .nav__link:hover {
  background: #f4f4f4;
  border-color: #e0e0e0;
  color: var(--red);
}

.nav__cta { margin-left: .5rem; }

/* Burger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: .5rem;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .25s;
}
.nav--scrolled .nav__burger span { background: var(--dark); }
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


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

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero/hotel_aphrodite_palace_hero.jpg');
  background-size: cover;
  background-position: center 40%;
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0,0,0,.68) 0%,
    rgba(0,0,0,.45) 50%,
    rgba(0,0,0,.20) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 9rem 2rem 6rem;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fadeUp .8s .3s var(--ease) forwards;
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
  border-radius: 2px;
}

.hero__title {
  font-size: clamp(2.6rem, 6.5vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.0;
  color: var(--white);
  text-shadow: 0 2px 16px rgba(0,0,0,.45);
  max-width: 760px;
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fadeUp .8s .5s var(--ease) forwards;
}
.hero__title em {
  font-style: normal;
  color: var(--red);
  text-shadow: 0 2px 24px rgba(0,0,0,.65), 0 0 40px rgba(0,0,0,.4);
}

.hero__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.82);
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
  margin-bottom: 2.75rem;
  line-height: 1.75;
  max-width: 500px;
  opacity: 0;
  animation: fadeUp .8s .7s var(--ease) forwards;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp .8s .9s var(--ease) forwards;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
}
.hero__scroll-bar {
  width: 1px;
  height: 64px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: .3; transform: scaleY(.8); }
  50%      { opacity: 1;  transform: scaleY(1);  }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ═══════════════════════════════════════════════
   STATS
═══════════════════════════════════════════════ */
.stats {
  background: #f4f4f4;
  border-top: 1.5px solid #e0e0e0;
  border-bottom: 1.5px solid #e0e0e0;
  padding: 3rem 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat__num {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 900;
  letter-spacing: -.04em;
  color: var(--red);
  line-height: 1;
  margin-bottom: .3rem;
}
.stat__label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: .1em;
}


/* ═══════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════ */
.services { background: var(--light); }

/* Process steps */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 4rem;
}
.process__step {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.055);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.process__step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.process__num {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -.06em;
  color: var(--red);
  opacity: .12;
  line-height: 1;
  margin-bottom: 1rem;
}
.process__step h3 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: .75rem;
  color: var(--dark);
}
.process__step ul { display: flex; flex-direction: column; gap: .35rem; }
.process__step li {
  font-size: .83rem;
  color: var(--muted);
  padding-left: 1rem;
  position: relative;
  line-height: 1.45;
}
.process__step li::before {
  content: '';
  position: absolute;
  left: 0; top: .55em;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--red);
}

/* Product cards */
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.product-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.055);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }

.product-card__img {
  height: 200px;
  overflow: hidden;
}
.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .5s var(--ease);
}
.product-card:hover .product-card__img img { transform: scale(1.06); }

.product-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
  background: var(--white);
}
.product-card__body h3 { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; }
.product-card__body p { font-size: .84rem; color: var(--muted); line-height: 1.6; }


/* ═══════════════════════════════════════════════
   PORTFOLIO
═══════════════════════════════════════════════ */
.portfolio__filters {
  display: flex;
  justify-content: flex-start;
  gap: .6rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.filter-btn {
  padding: .45rem 1.25rem;
  border-radius: 100px;
  border: 1.5px solid #e0e0e0;
  background: #f4f4f4;
  font-size: .82rem;
  font-weight: 600;
  color: #555;
  transition: background .18s, border-color .18s, color .18s, transform .15s;
  user-select: none;
}
.filter-btn:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}
.filter-btn:active {
  transform: translateY(2px) scale(.97);
  transition-duration: .08s;
}
.filter-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* ─── Portfolio grid: explicitné pozície, žiadne diery ─── */
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 0.875rem;
}

/*
  Rozloženie (3 stĺpce × 3 riadky = 9 buniek, presne zaplnené):

  [ item-01  TALL  ] [ item-02         ] [ item-03         ]
  [ item-01 cont.  ] [ item-04     WIDE              ]
  [ item-05        ] [ item-06     WIDE              ]
*/
.portfolio__grid .port-item:nth-child(1) { grid-area: 1 / 1 / 3 / 2; } /* tall */
.portfolio__grid .port-item:nth-child(2) { grid-area: 1 / 2 / 2 / 3; }
.portfolio__grid .port-item:nth-child(3) { grid-area: 1 / 3 / 2 / 4; }
.portfolio__grid .port-item:nth-child(4) { grid-area: 2 / 2 / 3 / 4; } /* wide */
.portfolio__grid .port-item:nth-child(5) { grid-area: 3 / 1 / 4 / 2; }
.portfolio__grid .port-item:nth-child(6) { grid-area: 3 / 2 / 4 / 4; } /* wide */

/* Pri filtrovaní: auto-placement, uniformná mriežka */
.portfolio__grid--filtered .port-item {
  grid-area: auto !important;
}

.port-item {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
}

.port-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .55s var(--ease);
}
.port-item:hover .port-img { transform: scale(1.06); }

.port-label {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.8) 0%, rgba(0,0,0,0) 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.port-item:hover .port-label { opacity: 1; }

.port-label__cat {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--red);
  margin-bottom: .3rem;
}
.port-label h4 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.port-item--hidden { display: none !important; }


/* ═══════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════ */
.about { background: var(--white); }

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about__img-wrap {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.about__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about__badge {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  background: var(--red);
  color: var(--white);
  padding: 1.75rem 2rem;
  border-radius: var(--r-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.about__badge strong {
  display: block;
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: 1;
}
.about__badge span {
  font-size: .75rem;
  font-weight: 600;
  opacity: .8;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.about__text h2 {
  font-size: clamp(1.7rem, 2.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.about__text p {
  color: var(--muted);
  margin-bottom: 1.2rem;
  line-height: 1.75;
  font-size: .95rem;
}

.about__feats {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin: 1.75rem 0 2rem;
}
.about__feat {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--dark);
}
.about__feat-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: .7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}


/* ═══════════════════════════════════════════════
   CTA STRIP
═══════════════════════════════════════════════ */
.cta-strip {
  background: #f4f4f4;
  border-top: 1.5px solid #e0e0e0;
  border-bottom: 1.5px solid #e0e0e0;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: none;
}
.cta-strip__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}
.cta-strip__text h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -.03em;
  margin-bottom: .6rem;
  line-height: 1.2;
}
.cta-strip__text p {
  color: #666;
  font-size: .95rem;
  max-width: 500px;
}


/* ═══════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════ */
.contact { background: var(--light); }

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}

.contact-block {
  margin-bottom: 2.5rem;
}
.contact-block h4 {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--red);
  margin-bottom: .875rem;
}
.contact-block p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: .5rem;
}
.contact-ids {
  font-size: .83rem !important;
  font-family: monospace;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: .35rem;
  transition: color .2s;
}
.contact-link:hover { color: var(--red); }
.contact-link svg { flex-shrink: 0; color: var(--red); }

/* Form */
.contact__form {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,.06);
}

.form-row { margin-bottom: 1.25rem; }
.form-row--2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.form-row label {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .4rem;
  letter-spacing: .01em;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--r);
  font-family: var(--font);
  font-size: .92rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  -webkit-appearance: none;
}
.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(196,16,32,.1);
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: #bbb; }
.form-row textarea { resize: vertical; min-height: 120px; }

.form-status {
  padding: .875rem 1.25rem;
  border-radius: var(--r);
  margin-bottom: 1.25rem;
  font-size: .875rem;
  font-weight: 600;
}
.form-status.success { background: #f0faf4; color: #1a7a3c; }
.form-status.error   { background: #fff0f0; color: var(--red); }


/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.footer {
  background: rgb(10, 10, 10);
  padding: 5rem 0 2rem;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 4rem;
  padding-bottom: 3.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.footer__logo-img {
  height: 56px;
  width: auto;
  display: block;
  margin-bottom: 1.25rem;
}

.footer__brand p {
  color: rgba(255,255,255,.42);
  font-size: .875rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  max-width: 300px;
}
.footer__site-link {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  border: 1px solid rgba(255,255,255,.15);
  padding: .4rem .9rem;
  border-radius: 6px;
  transition: color .2s, border-color .2s;
}
.footer__site-link:hover { color: var(--white); border-color: rgba(255,255,255,.4); }

.footer__nav h5,
.footer__contact-col h5 {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: rgba(255,255,255,.3);
  margin-bottom: 1.25rem;
}
.footer__nav ul { display: flex; flex-direction: column; gap: .6rem; }
.footer__nav a {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  transition: color .2s;
}
.footer__nav a:hover { color: var(--white); }

.footer__contact-col p,
.footer__contact-col a {
  display: block;
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  line-height: 1.65;
  margin-bottom: .2rem;
  transition: color .2s;
}
.footer__contact-col a:hover { color: var(--white); }

.footer__bottom {
  text-align: center;
}
.footer__bottom p {
  font-size: .78rem;
  color: rgba(255,255,255,.22);
}


/* ═══════════════════════════════════════════════
   RESPONSIVE – tablet
═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .stats__grid   { grid-template-columns: repeat(2,1fr); gap: 1.5rem 2rem; }
  .process       { grid-template-columns: repeat(2,1fr); }
  .products      { grid-template-columns: repeat(2,1fr); }
  .about__grid   { grid-template-columns: 1fr; gap: 4rem; }
  .about__text   { order: -1; }
  .about__badge  { bottom: -1.5rem; right: -1rem; }
  .contact__grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer__top   { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
  .cta-strip__inner { flex-direction: column; text-align: center; }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE – mobile
═══════════════════════════════════════════════ */
@media (max-width: 768px) {
  .section { padding: 4.5rem 0; }
  .section__head { margin-bottom: 3rem; }

  /* Nav mobile */
  .nav__menu {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    z-index: 899;
  }
  .nav__menu.open { display: flex; }
  .nav__menu .nav__link {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    padding: .5rem 1.5rem;
  }
  .nav__menu .nav__link:hover { background: rgba(255,255,255,.08); }
  .nav__cta { display: none; }
  .nav__burger { display: flex; z-index: 901; }

  /* Hero */
  .hero__content { padding: 7rem 1.5rem 4.5rem; }
  .hero__title { font-size: clamp(2.2rem, 9vw, 3.5rem); }
  .hero__sub { font-size: .95rem; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: 100%; justify-content: center; text-align: center; }

  /* About */
  .about__img-wrap { height: 340px; }

  /* Portfolio */
  .portfolio__grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 200px;
  }
  .portfolio__grid .port-item:nth-child(n) { grid-area: auto; }

  .form-row--2col { grid-template-columns: 1fr; }

  .footer__top { grid-template-columns: 1fr; }
  .footer__brand { grid-column: span 1; }
}

@media (max-width: 520px) {
  .container { padding: 0 1.25rem; }
  .section { padding: 3.5rem 0; }
  .section__head { margin-bottom: 2rem; }

  /* Hero */
  .hero__content { padding: 5.5rem 1.25rem 3rem; }
  .hero__title { font-size: clamp(1.9rem, 10vw, 2.6rem); }
  .hero__sub { font-size: .88rem; }
  .hero__eyebrow { font-size: .65rem; }

  /* Grids */
  .stats__grid { grid-template-columns: repeat(2,1fr); }
  .process { grid-template-columns: 1fr; }
  .products { grid-template-columns: 1fr; }
  .portfolio__grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .portfolio__grid .port-item:nth-child(n) { grid-area: auto; }

  /* About */
  .about__img-wrap { height: 260px; }

  /* Contact form — iOS zoom prevention: inputs must be min 16px */
  .form-row input,
  .form-row textarea { font-size: 16px; }
  .contact__form { padding: 1.75rem 1.25rem; }

  /* Portfolio labels */
  .port-label h4 { font-size: .82rem; }

  /* CTA strip */
  .cta-strip__inner { gap: 1.5rem; }
  .cta-strip__text h2 { font-size: 1.35rem; }
}
