﻿/*
Theme Name:  Ziemianscy V3
Theme URI:   https://ziemianscy.pl
Author:      Roland Ziemiański
Author URI:  https://ziemianscy.pl
Description: Enterprise Light Mode – Bento, Sharp Edges, Cyan Accent. Zero layout plugins.
Version:     3.1.0
License:     GNU General Public License v2 or later
Text Domain: ziemianscy-v3
Tags:        custom-menu, featured-images, portfolio, business, light
*/

/* ─── Reset & Base ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #173c80;
  --navy-dark:   #0f2d61;
  --navy-light:  #EEF2FB;
  --slate-50:    #F8FAFC;
  --slate-100:   #F1F5F9;
  --slate-200:   #E2E8F0;
  --slate-300:   #CBD5E1;
  --slate-400:   #94A3B8;
  --slate-500:   #64748B;
  --slate-600:   #475569;
  --slate-700:   #334155;
  --slate-800:   #1E293B;
  --slate-900:   #0F172A;
  --white:       #FFFFFF;
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --shadow-card: 0 1px 3px 0 rgba(0,0,0,.06), 0 1px 2px -1px rgba(0,0,0,.06);
  --shadow-lg:   0 10px 40px -4px rgba(0,0,0,.10);
  --shadow-navy: 0 8px 32px -4px rgba(23,60,128,.18);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--slate-50);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--slate-800);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }

/* ─── Custom Cursor ──────────────────────────────────── */
#cursor-dot {
  width: 8px; height: 8px;
  background: var(--navy);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 99999;
  transform: translate(-50%,-50%);
  transition: width .15s, height .15s;
}
#cursor-ring {
  width: 32px; height: 32px;
  border: 2px solid var(--navy);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 99998;
  transform: translate(-50%,-50%);
  transition: width .2s, height .2s;
}
body.cursor-hover #cursor-dot  { width: 12px; height: 12px; }
body.cursor-hover #cursor-ring { width: 48px; height: 48px; }

/* ─── Header ─────────────────────────────────────────── */
#site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 900;
  height: 68px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  transition: box-shadow .25s;
}
#site-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.08); }

#header-inner {
  max-width: 1280px; margin: 0 auto; height: 100%;
  padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}

/* Logo */
.site-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 18px; color: var(--slate-900);
  letter-spacing: -.02em;
}
.site-logo-icon {
  width: 34px; height: 34px; border-radius: 0;
  background: var(--navy); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.site-logo-accent { color: var(--navy); }

/* Desktop nav */
.desktop-nav { display: flex; align-items: center; gap: 32px; }
.desktop-nav a {
  font-size: 14px; font-weight: 500; color: var(--slate-600);
  transition: color .2s;
  position: relative;
}
.desktop-nav a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--navy); border-radius: 0;
  transform: scaleX(0); transition: transform .25s;
}
.desktop-nav a:hover      { color: var(--navy); }
.desktop-nav a:hover::after { transform: scaleX(1); }

/* Header CTA */
.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: #fff;
  font-size: 13px; font-weight: 700;
  padding: 9px 20px; border-radius: 0;
  transition: background .2s, box-shadow .2s;
  flex-shrink: 0;
}
.header-cta:hover { background: var(--navy-dark); box-shadow: var(--shadow-navy); }

/* Hamburger */
.ham-btn {
  display: none; flex-direction: column; justify-content: center;
  align-items: center; gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
}
.ham-line {
  display: block; width: 22px; height: 2px;
  background: var(--slate-800); border-radius: 0;
  transition: transform .3s, opacity .3s;
}
.ham-btn.open .ham-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ham-btn.open .ham-line:nth-child(2) { opacity: 0; }
.ham-btn.open .ham-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
  background: #fff; z-index: 850;
  padding: 24px 32px; display: flex; flex-direction: column; gap: 4px;
  opacity: 0; pointer-events: none; transform: translateY(-8px);
  transition: opacity .25s, transform .25s;
  border-top: 1px solid var(--slate-200);
}
.mobile-menu.open { opacity: 1; pointer-events: all; transform: translateY(0); }
.mobile-menu a {
  display: block; padding: 14px 0;
  font-size: 18px; font-weight: 600; color: var(--slate-800);
  border-bottom: 1px solid var(--slate-100);
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--navy); }
.mobile-menu .mob-cta {
  margin-top: 16px;
  background: var(--navy); color: #fff; border-radius: 0;
  text-align: center; padding: 14px; font-weight: 700; border: none;
}
.mobile-menu .mob-cta:hover { background: var(--navy-dark); }

/* Header spacer */
.header-spacer { height: 68px; }

/* ─── Section Base ───────────────────────────────────── */
.section { padding: 96px 0; }
.section--white  { background: var(--white); }
.section--slate  { background: var(--slate-50); }
.section--light  { background: var(--slate-100); }

.container {
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
}

/* Section header */
.sec-eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--navy);
  margin-bottom: 12px;
}
.sec-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900; color: var(--slate-900);
  line-height: 1.1; letter-spacing: -.03em;
  margin-bottom: 16px;
}
.sec-desc {
  font-size: 16px; color: var(--slate-500);
  max-width: 560px; line-height: 1.7;
}
.sec-header { margin-bottom: 56px; }
.sec-header--center { text-align: center; }
.sec-header--center .sec-desc { margin: 0 auto; }

/* ─── Hero ───────────────────────────────────────────── */
#hero {
  background: var(--white);
  padding: 80px 0 96px;
  position: relative; overflow: hidden;
}
.hero-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy-light); color: var(--navy);
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 0; margin-bottom: 24px;
}
.hero-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--navy); animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; } 50% { opacity: .4; }
}
.hero-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900; color: var(--slate-900);
  line-height: 1.05; letter-spacing: -.04em; margin-bottom: 20px;
}
.hero-title em { font-style: normal; color: var(--navy); }
.hero-desc {
  font-size: 17px; color: var(--slate-500);
  line-height: 1.75; margin-bottom: 40px; max-width: 480px;
}
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 56px; }

/* CTA buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: #fff;
  font-size: 14px; font-weight: 700;
  padding: 13px 28px; border-radius: 0;
  border: 2px solid transparent;
  transition: background .2s, box-shadow .2s, transform .15s;
  cursor: pointer;
}
.btn-primary:hover { background: var(--navy-dark); box-shadow: var(--shadow-navy); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--slate-700);
  font-size: 14px; font-weight: 600;
  padding: 13px 28px; border-radius: 0;
  border: 1.5px solid var(--slate-300);
  transition: border-color .2s, color .2s;
  cursor: pointer;
}
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }

/* Hero stats */
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; padding-top: 32px; border-top: 1px solid var(--slate-200); }
.hero-stat-val { font-size: 26px; font-weight: 900; color: var(--slate-900); }
.hero-stat-lbl { font-size: 12px; color: var(--slate-400); font-weight: 500; margin-top: 2px; }

/* Hero mockup */
.hero-visual {
  background: var(--white); border-radius: 0;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mock-bar {
  background: var(--slate-50); border-bottom: 1px solid var(--slate-200);
  padding: 12px 16px; display: flex; align-items: center; gap: 6px;
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-body { padding: 24px; }
.mock-line  { height: 10px; background: var(--slate-200); border-radius: 0; margin-bottom: 10px; }
.mock-line--short   { width: 60%; }
.mock-line--shorter { width: 40%; }
.mock-tiles { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 20px 0; }
.mock-tile {
  height: 64px; border-radius: 0;
  background: linear-gradient(135deg, var(--navy-light), rgba(23,60,128,.04));
  display: flex; align-items: center; justify-content: center;
}
.mock-btn { height: 32px; width: 120px; border-radius: 0; background: var(--navy); opacity: .85; }

/* ─── Services Grid ──────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--slate-200); }
.service-card {
  background: var(--white); padding: 36px 28px;
  transition: background .25s;
}
.service-card:hover { background: var(--slate-50); }
.svc-icon {
  width: 48px; height: 48px; border-radius: 0;
  background: var(--navy-light); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: background .25s, color .25s;
}
.service-card:hover .svc-icon { background: var(--navy); color: #fff; }
.svc-title {
  font-size: 16px; font-weight: 800; color: var(--slate-900);
  margin-bottom: 10px; line-height: 1.3;
}
.svc-desc { font-size: 14px; color: var(--slate-500); line-height: 1.65; margin-bottom: 20px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.svc-tag {
  font-size: 11px; font-weight: 600; color: var(--slate-500);
  background: var(--slate-100); padding: 3px 10px; border-radius: 0;
}

/* ─── Pricing ────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--slate-200); }
.pricing-card {
  background: var(--white); padding: 40px 32px;
  position: relative; overflow: hidden;
}
.pricing-card--featured { background: var(--slate-900); }
.pricing-featured-badge {
  position: absolute; top: 0; right: 32px;
  background: var(--navy); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.pricing-plan {
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 8px;
}
.pricing-price {
  display: flex; align-items: flex-end; gap: 4px; margin-bottom: 4px;
}
.pricing-amount {
  font-size: 44px; font-weight: 900; line-height: 1;
  color: var(--slate-900);
}
.pricing-card--featured .pricing-amount { color: #fff; }
.pricing-currency {
  font-size: 18px; font-weight: 700; color: var(--slate-400);
  margin-bottom: 6px;
}
.pricing-card--featured .pricing-currency { color: rgba(255,255,255,.5); }
.pricing-period {
  font-size: 12px; color: var(--slate-400); margin-bottom: 16px;
}
.pricing-card--featured .pricing-period { color: rgba(255,255,255,.4); }
.pricing-desc {
  font-size: 14px; color: var(--slate-500); line-height: 1.65;
  margin-bottom: 28px; min-height: 48px;
}
.pricing-card--featured .pricing-desc { color: rgba(255,255,255,.6); }
.pricing-divider { border: none; border-top: 1px solid var(--slate-200); margin-bottom: 24px; }
.pricing-card--featured .pricing-divider { border-color: rgba(255,255,255,.1); }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.pricing-feature {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--slate-700);
}
.pricing-card--featured .pricing-feature { color: rgba(255,255,255,.85); }
.pricing-check {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--navy-light); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.pricing-card--featured .pricing-check { background: rgba(23,60,128,.25); color: var(--navy); }

/* ─── Portfolio ──────────────────────────────────────── */
.portfolio-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--slate-200); }
.portfolio-card { background: var(--white); overflow: hidden; position: relative; }
.portfolio-thumb-wrap { overflow: hidden; height: 220px; }
.portfolio-thumb {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  transition: transform .5s cubic-bezier(.25,.46,.45,.94);
}
.portfolio-card:hover .portfolio-thumb { transform: scale(1.04); }
.portfolio-meta { padding: 24px; }
.portfolio-cat {
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 8px;
}
.portfolio-title {
  font-size: 16px; font-weight: 800; color: var(--slate-900);
  line-height: 1.3; margin-bottom: 12px;
}
.portfolio-title a:hover { color: var(--navy); }
.portfolio-excerpt { font-size: 13px; color: var(--slate-500); margin-bottom: 16px; line-height: 1.6; }
.portfolio-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; border-top: 1px solid var(--slate-100);
}
.portfolio-link {
  font-size: 13px; font-weight: 700; color: var(--slate-700);
  display: flex; align-items: center; gap: 5px;
  transition: color .2s;
}
.portfolio-link:hover { color: var(--navy); }
.portfolio-ext {
  font-size: 11px; color: var(--slate-400);
  display: flex; align-items: center; gap: 4px;
  transition: color .2s;
}
.portfolio-ext:hover { color: var(--navy); }

/* Portfolio empty state */
.portfolio-empty { padding: 80px 0; text-align: center; color: var(--slate-400); }
.portfolio-empty-title { font-size: 18px; font-weight: 700; margin: 16px 0 8px; color: var(--slate-600); }
.portfolio-empty-desc { font-size: 14px; }

/* ─── Contact ────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 2fr 3fr; gap: 0; background: var(--slate-200); }
.contact-sidebar { background: var(--white); padding: 48px; }
.contact-form-wrap { background: var(--slate-50); padding: 48px; }

.contact-person-card {
  padding: 20px; border: 1px solid var(--slate-200);
  border-radius: 0; background: var(--slate-50);
  margin-bottom: 12px;
}
.contact-role {
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 10px;
}
.contact-person-row { display: flex; align-items: center; gap: 12px; }
.contact-avatar {
  width: 44px; height: 44px; border-radius: 0;
  background: var(--navy-light); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 900; flex-shrink: 0;
}
.contact-name { font-size: 14px; font-weight: 700; color: var(--slate-900); margin-bottom: 2px; }
.contact-phone {
  font-size: 14px; font-weight: 600; color: var(--navy);
  transition: color .2s;
}
.contact-phone:hover { color: var(--navy-dark); }

.contact-email-card {
  padding: 20px; border: 1px solid var(--slate-200);
  border-radius: 0; background: var(--slate-50);
  margin-bottom: 12px;
}
.contact-email-label {
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--slate-400); margin-bottom: 6px;
}
.contact-email-val {
  font-size: 14px; font-weight: 600; color: var(--navy);
  word-break: break-all; transition: color .2s;
}
.contact-email-val:hover { color: var(--navy-dark); }

.contact-avail {
  padding: 16px 20px; border: 1px solid rgba(23,60,128,.2);
  border-radius: 0; background: var(--navy-light);
  font-size: 13px; color: var(--slate-700);
}

/* Form */
.form-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-row .form-group { margin-bottom: 0; }

.form-label {
  display: block; font-size: 12px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--slate-600); margin-bottom: 6px;
}
.form-input,
.form-textarea,
.form-select {
  width: 100%; background: var(--white);
  border: 1px solid var(--slate-300);
  border-radius: 0;
  padding: 11px 14px;
  font-size: 14px; color: var(--slate-800);
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--slate-400); }
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(23,60,128,.1);
}
.form-textarea { resize: vertical; min-height: 140px; }
.form-select { appearance: none; cursor: pointer; }

.form-status {
  display: none; font-size: 14px; font-weight: 600;
  padding: 12px 16px; border-radius: 0; margin-bottom: 16px;
}
.form-status--success { display: block; background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.form-status--error   { display: block; background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }

.form-submit {
  width: 100%; background: var(--navy); color: #fff;
  font-size: 14px; font-weight: 700; letter-spacing: .03em;
  padding: 14px; border: none; border-radius: 0;
  cursor: pointer; transition: background .2s, box-shadow .2s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.form-submit:hover { background: var(--navy-dark); box-shadow: var(--shadow-navy); }
.form-submit:disabled { opacity: .65; cursor: not-allowed; }

/* ─── Footer ─────────────────────────────────────────── */
#site-footer { background: var(--slate-900); color: var(--slate-400); }
.footer-inner {
  max-width: 1280px; margin: 0 auto; padding: 64px 32px;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
}
.footer-brand-name {
  font-size: 18px; font-weight: 800; color: #fff;
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.footer-brand-desc { font-size: 14px; line-height: 1.7; max-width: 280px; }
.footer-head { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 16px; }
.footer-nav { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 14px; color: var(--slate-400); transition: color .2s; }
.footer-nav a:hover { color: var(--navy); }
.footer-contact-item { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 10px; }
.footer-contact-item a { color: var(--slate-400); transition: color .2s; }
.footer-contact-item a:hover { color: var(--navy); }
.footer-contact-icon { color: var(--navy); flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 24px 32px;
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px;
}
.footer-credit { color: var(--navy); }

/* ─── Single Project ─────────────────────────────────── */
.project-hero-img {
  width: 100%; max-height: 540px;
  object-fit: cover; object-position: top;
  display: block;
}
.gallery-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1px; background: var(--slate-200);
  margin-top: 1px;
}
.gallery-item { overflow: hidden; height: 200px; background: var(--white); }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  transition: transform .4s;
}
.gallery-item:hover img { transform: scale(1.05); }

/* ─── GLightbox tweaks ───────────────────────────────── */
.glightbox-open body { overflow: hidden; }
.goverlay { background: rgba(0,0,0,.92) !important; backdrop-filter: blur(6px); }

/* ─── Reveal (GSAP base) ─────────────────────────────── */
.reveal { opacity: 0; transform: translateY(36px); }

/* ─── Pagination ─────────────────────────────────────── */
.pagination { display: flex; gap: 8px; justify-content: center; padding-top: 48px; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 0;
  font-size: 14px; font-weight: 600;
  border: 1px solid var(--slate-200); color: var(--slate-600);
  transition: all .2s;
}
.pagination a:hover, .pagination .current {
  background: var(--navy); border-color: var(--navy); color: #fff;
}

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid  { grid-template-columns: repeat(2,1fr); }
  .pricing-grid   { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2,1fr); }
  .contact-grid   { grid-template-columns: 1fr; }
  .footer-inner   { grid-template-columns: 1fr 1fr; }
  .hero-inner     { grid-template-columns: 1fr; }
  .hero-visual    { display: none; }
}

@media (max-width: 768px) {
  .desktop-nav, .header-cta { display: none !important; }
  .ham-btn { display: flex; }
  .services-grid  { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .gallery-grid   { grid-template-columns: repeat(2,1fr); }
  .footer-inner   { grid-template-columns: 1fr; }
  .footer-bottom  { flex-direction: column; gap: 8px; text-align: center; }
  .form-row       { grid-template-columns: 1fr; }
  .container      { padding: 0 20px; }
  .section        { padding: 64px 0; }
  #hero           { padding: 48px 0 64px; }
  .contact-sidebar, .contact-form-wrap { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ─── Utility ────────────────────────────────────────── */
.magnetic { display: inline-block; transition: transform .3s cubic-bezier(.23,1,.32,1); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}
