/* ACUACOR — diseño público */
:root {
  --green: #5dbb63;
  --green-deep: #3f9a4a;
  --water: #90ccd0;
  --cyan: #00bfd1;
  --cyan-deep: #0099a8;
  --ink: #0f2a31;
  --ink-soft: #4a6570;
  --paper: #f3fafb;
  --white: #ffffff;
  --line: rgba(15, 42, 49, 0.10);
  --line-strong: rgba(15, 42, 49, 0.16);
  --shadow: 0 20px 50px rgba(15, 42, 49, 0.08);
  --shadow-soft: 0 8px 24px rgba(15, 42, 49, 0.06);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --radius: 18px;
  --radius-sm: 12px;
  --shell: min(1140px, calc(100% - 2rem));
  --header-h: 4.75rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1000px 520px at 8% -8%, rgba(0, 191, 209, 0.14), transparent 55%),
    radial-gradient(800px 420px at 100% 0%, rgba(93, 187, 99, 0.12), transparent 50%),
    linear-gradient(180deg, #eef7f8 0%, var(--paper) 28%, #ffffff 70%);
  background-attachment: fixed;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; display: block; height: auto; }

a {
  color: var(--cyan-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.2s ease;
}
a:hover { color: var(--green-deep); }

h1, h2, h3, .brand-text strong, .footer-logo {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 700;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.shell { width: var(--shell); margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--ink); color: #fff; padding: 0.65rem 1rem; border-radius: 10px;
}
.skip-link:focus { top: 1rem; }

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  background: rgba(247, 252, 252, 0.88);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
  z-index: 2;
}
.brand:hover { color: inherit; }

.brand-badge {
  flex: 0 0 auto;
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0.28rem;
}
.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
}
.brand-text strong {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.brand-text small {
  font-size: 0.72rem;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 0.35rem;
}

.nav-mobile-head { display: none; }

.nav-link {
  appearance: none;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
  padding: 0.55rem 0.7rem;
  border-radius: 999px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-link::after { display: none; }
.nav-link:hover {
  background: rgba(144, 204, 208, 0.22);
  color: var(--ink);
}
.nav-link.is-active {
  background: rgba(93, 187, 99, 0.16);
  color: var(--green-deep);
}

.nav-caret { transition: transform 0.25s var(--ease); opacity: 0.7; }
.nav-dropdown.is-open .nav-caret { transform: rotate(180deg); }

.nav-dropdown { position: relative; }
.nav-drop-panel {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  min-width: 13rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.4rem;
  display: none;
  box-shadow: var(--shadow);
  z-index: 20;
}
.nav-dropdown.is-open .nav-drop-panel { display: grid; gap: 0.15rem; }
.nav-drop-panel a {
  text-decoration: none;
  color: var(--ink);
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.94rem;
}
.nav-drop-panel a:hover {
  background: rgba(144, 204, 208, 0.22);
  color: var(--ink);
}

.btn-nav {
  margin-left: 0.45rem;
  padding: 0.62rem 1.15rem;
  font-size: 0.92rem;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  place-items: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: var(--shadow-soft);
}
.nav-toggle-bars {
  width: 1.15rem;
  height: 0.85rem;
  display: grid;
  align-content: space-between;
}
.nav-toggle-bars i {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 30, 36, 0.45);
  backdrop-filter: blur(2px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nav-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.nav-close {
  appearance: none;
  border: 0;
  background: rgba(15, 42, 49, 0.06);
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 10px;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 1.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.96rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary {
  background: linear-gradient(180deg, #6bc870, var(--green));
  color: #fff;
  box-shadow: 0 10px 24px rgba(93, 187, 99, 0.28);
}
.btn-primary:hover {
  background: var(--green-deep);
  color: #fff;
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  background: #fff;
  color: var(--ink);
}
.btn-outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan-deep);
  background: rgba(0, 191, 209, 0.06);
}
.btn-sm { padding: 0.58rem 1.05rem; font-size: 0.9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}
.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8, 32, 38, 0.78) 0%, rgba(8, 32, 38, 0.45) 48%, rgba(8, 32, 38, 0.55) 100%),
    linear-gradient(180deg, rgba(8, 32, 38, 0.15) 0%, rgba(8, 32, 38, 0.72) 100%),
    url("../img/hero-default.svg") center / cover no-repeat;
  transform: scale(1.03);
  animation: heroDrift 20s ease-in-out infinite alternate;
}
.hero-media.has-photo {
  background:
    linear-gradient(105deg, rgba(8, 32, 38, 0.78) 0%, rgba(8, 32, 38, 0.42) 50%, rgba(8, 32, 38, 0.58) 100%),
    linear-gradient(180deg, rgba(8, 32, 38, 0.12) 0%, rgba(8, 32, 38, 0.75) 100%),
    var(--hero-image) center / cover no-repeat;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(3.5rem, 10vh, 7rem) 0 clamp(3rem, 7vh, 4.5rem);
  max-width: 38rem;
  opacity: 0;
  transform: translateY(22px);
  animation: riseIn 0.95s var(--ease) forwards 0.12s;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}
.hero-kicker img {
  width: 1.6rem;
  height: 1.6rem;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}
.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 9vw, 5.6rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.05em;
  line-height: 0.95;
}
.hero-brand span { color: var(--water); }
.hero h1 {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 700;
  margin: 0 0 0.9rem;
  max-width: 18ch;
  color: #fff;
}
.hero > .shell > p,
.hero-content > p {
  margin: 0 0 1.65rem;
  font-size: clamp(1rem, 2vw, 1.12rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 34ch;
  line-height: 1.55;
}

@keyframes heroDrift {
  from { transform: scale(1.03) translate3d(0, 0, 0); }
  to { transform: scale(1.07) translate3d(-1.2%, 0.8%, 0); }
}
@keyframes riseIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ========== Sections ========== */
.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}
.section-head {
  max-width: 38rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}
.section-head h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.55rem);
  margin: 0 0 0.75rem;
}
.section-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-deep);
  margin-bottom: 0.7rem;
}

.band-water {
  background:
    linear-gradient(135deg, rgba(144, 204, 208, 0.28), rgba(0, 191, 209, 0.08)),
    #e8f5f6;
}
.band-green {
  background: linear-gradient(160deg, rgba(93, 187, 99, 0.12), rgba(144, 204, 208, 0.18));
}

.prose { max-width: 46rem; font-size: 1.02rem; }
.prose p { margin: 0 0 1.1rem; color: var(--ink-soft); }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); }
.prose ul { padding-left: 1.15rem; color: var(--ink-soft); }
.prose li { margin-bottom: 0.5rem; }

.split {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  grid-template-columns: 1.15fr 0.85fr;
  align-items: start;
}

.panel-soft {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.35rem, 3vw, 1.85rem);
  box-shadow: var(--shadow-soft);
}
.meta-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.1rem;
}
.meta-list strong {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan-deep);
  margin-bottom: 0.25rem;
  font-family: var(--font-body);
  font-weight: 700;
}

.project-list { display: grid; gap: 0; }
.project-item {
  padding: 1.45rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 0.35rem;
  transition: padding 0.25s ease;
}
.project-item:first-child { border-top: 1px solid var(--line); }
.project-item:hover { padding-left: 0.35rem; }
.project-item h3 {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.28rem);
}
.project-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.service-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}
.service-link {
  display: block;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(144, 204, 208, 0.2));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease), border-color 0.25s ease, box-shadow 0.3s ease;
}
.service-link:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 191, 209, 0.45);
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
}
.service-link h3 { margin: 0 0 0.5rem; font-size: 1.25rem; }
.service-link p { margin: 0; color: var(--ink-soft); }
.service-link img {
  margin-top: 1.15rem;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 1.75rem 0 2rem;
}
.gallery-item {
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 191, 209, 0.2), rgba(93, 187, 99, 0.25));
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  font-size: 0.85rem;
  text-align: center;
  padding: 0.75rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.gallery-item:hover img { transform: scale(1.05); }

.doc-grid { display: grid; gap: 0; }
.doc-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}
.doc-row:first-child { border-top: 1px solid var(--line); }
.doc-row strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}
.news-item a {
  color: inherit;
  text-decoration: none;
  display: block;
  height: 100%;
  transition: transform 0.25s var(--ease);
}
.news-item a:hover { transform: translateY(-3px); color: inherit; }
.news-item h3 { margin: 0.75rem 0 0.4rem; font-size: 1.15rem; }
.news-item p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.news-thumb {
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--water), rgba(93, 187, 99, 0.4));
  border: 1px solid var(--line);
}
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-date {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan-deep);
}

/* ========== Interior pages ========== */
.page-hero {
  padding: clamp(3rem, 7vw, 4.75rem) 0 clamp(2rem, 4vw, 2.75rem);
  background:
    radial-gradient(700px 280px at 0% 0%, rgba(0, 191, 209, 0.16), transparent 60%),
    radial-gradient(600px 240px at 100% 0%, rgba(93, 187, 99, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(232, 245, 246, 0.9), rgba(255, 255, 255, 0));
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
}
.page-hero p {
  margin: 0;
  max-width: 42rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ========== Forms ========== */
.form-stack { display: grid; gap: 1.05rem; }
.form-stack label {
  display: grid;
  gap: 0.4rem;
  font-weight: 650;
  font-size: 0.92rem;
}
.form-stack input,
.form-stack select,
.form-stack textarea {
  font: inherit;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-stack textarea { min-height: 150px; resize: vertical; }
.form-stack input:focus,
.form-stack select:focus,
.form-stack textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0, 191, 209, 0.15);
}
.form-hint { font-weight: 400; color: var(--ink-soft); font-size: 0.84rem; }
.form-layout {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  grid-template-columns: 1.15fr 0.85fr;
  align-items: start;
}
.alert {
  padding: 0.95rem 1.1rem;
  border-radius: 12px;
  margin: 0 0 1rem;
  font-weight: 550;
}
.alert-ok { background: rgba(93, 187, 99, 0.16); color: #1f5d2a; }
.alert-error { background: rgba(200, 60, 60, 0.1); color: #8a1f1f; }

/* ========== Footer ========== */
.site-footer {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  background:
    radial-gradient(700px 300px at 10% 0%, rgba(0, 191, 209, 0.12), transparent 55%),
    #0c2228;
  color: rgba(255, 255, 255, 0.88);
  padding: clamp(3rem, 6vw, 4rem) 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.footer-logo-img {
  width: 4.25rem;
  height: 4.25rem;
  object-fit: contain;
  background: #fff;
  border-radius: 14px;
  padding: 0.35rem;
}
.footer-logo {
  font-size: 1.45rem;
  font-weight: 800;
  margin: 0 0 0.25rem;
}
.footer-tag { margin: 0; color: rgba(255, 255, 255, 0.62); font-size: 0.95rem; }
.footer-title {
  font-family: var(--font-body);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 0.85rem;
  color: var(--water);
  font-weight: 700;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--water); }
.social-row { display: flex; gap: 0.55rem; margin-top: 1rem; flex-wrap: wrap; }
.social-btn {
  display: inline-flex;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.social-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.35rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.58);
}
.arda-link { color: var(--water); font-weight: 700; }

/* ========== Admin ========== */
.page-admin-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
}
.admin-login-box {
  width: min(420px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.85rem;
  box-shadow: var(--shadow);
}
.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-aside { background: #0c2228; color: #fff; padding: 1.5rem 1rem; }
.admin-aside a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  display: block;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  margin-bottom: 0.2rem;
}
.admin-aside a:hover,
.admin-aside a.is-active { background: rgba(255, 255, 255, 0.1); color: #fff; }
.admin-main { padding: 1.5rem; background: #f3f7f8; }
.admin-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
table.data th,
table.data td {
  text-align: left;
  padding: 0.7rem 0.5rem;
  border-bottom: 1px solid var(--line);
}

/* ========== Motion ========== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hero-media { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-content { animation: none; opacity: 1; transform: none; }
}

/* ========== Responsive ========== */
@media (max-width: 980px) {
  .split,
  .form-layout,
  .footer-grid,
  .news-grid,
  .service-links { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-shell { grid-template-columns: 1fr; }

  .nav-toggle { display: grid; }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(22rem, 88vw);
    background: #f7fcfc;
    border-left: 1px solid var(--line);
    box-shadow: -20px 0 50px rgba(15, 42, 49, 0.12);
    padding: 1.1rem 1.15rem 1.75rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    transform: translateX(105%);
    transition: transform 0.35s var(--ease);
    z-index: 110;
    overflow-y: auto;
  }
  .site-nav.is-open { transform: translateX(0); }

  .nav-mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
  }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    border-radius: 12px;
    padding: 0.85rem 0.95rem;
  }
  .btn-nav {
    margin: 0.75rem 0 0;
    width: 100%;
    justify-content: center;
  }
  .nav-drop-panel {
    position: static;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0.15rem 0 0.35rem 0.65rem;
    min-width: 0;
  }
  .nav-dropdown.is-open .nav-drop-panel { display: grid; }
}

@media (max-width: 640px) {
  :root {
    --shell: min(100% - 1.35rem, 1140px);
    --header-h: 4.35rem;
  }
  .brand-badge {
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 12px;
  }
  .brand-text strong { font-size: 1.05rem; }
  .brand-text small { display: none; }
  .hero { min-height: 78vh; }
  .hero-brand { font-size: clamp(2.6rem, 14vw, 3.6rem); }
  .gallery { grid-template-columns: 1fr 1fr; gap: 0.65rem; }
  .footer-brand-row { align-items: flex-start; }
  .page-hero { padding-top: 2.5rem; }
}

@media (min-width: 981px) {
  .nav-backdrop { display: none !important; }
}
