:root {
  --ink: #e8eef4;
  --ink-soft: #c5d1dc;
  --muted: #8b9aab;
  --line: rgba(232, 238, 244, 0.12);
  --paper: #0b1219;
  --card: #14202c;
  --surface: rgba(20, 32, 44, 0.88);
  --teal: #2dd4bf;
  --teal-deep: #5eead4;
  --amber: #14b8a6;
  --amber-deep: #0d9488;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.25);
  --radius: 14px;
  --radius-sm: 10px;
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
  --container: 1140px;
  --header-h: 78px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 0% -5%, rgba(45, 212, 191, 0.12), transparent 55%),
    radial-gradient(700px 380px at 100% 0%, rgba(20, 184, 166, 0.08), transparent 50%),
    linear-gradient(180deg, #0e1720 0%, var(--paper) 45%, #070d13 100%);
  background-attachment: fixed;
  line-height: 1.65;
  min-height: 100vh;
}

img,
iframe {
  max-width: 100%;
  display: block;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--teal-deep);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 0.6rem;
}

p {
  margin: 0 0 1rem;
}

.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: 100;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px) saturate(1.2);
  background: rgba(11, 18, 25, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(11, 18, 25, 0.94);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--teal), #0f766e);
  color: #0b1219;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(13, 148, 136, 0.25);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.brand-name span {
  color: var(--teal-deep);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.site-nav > a:not(.nav-btn) {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--ink-soft);
  padding: 0.35rem 0.2rem;
  position: relative;
}

.site-nav > a:not(.nav-btn).is-active,
.site-nav > a:not(.nav-btn):hover {
  color: var(--teal-deep);
}

.nav-divider {
  width: 1px;
  height: 1.4rem;
  background: var(--line);
  margin: 0 0.25rem;
}

.nav-user {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  max-width: 10rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none !important;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nav-btn:hover {
  transform: translateY(-1px);
}

.nav-btn-ghost {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink) !important;
}

.nav-btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal-deep) !important;
}

.nav-btn-solid {
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: var(--white) !important;
  box-shadow: 0 10px 22px rgba(13, 148, 136, 0.28);
}

.nav-btn-solid:hover {
  color: var(--white) !important;
  filter: brightness(1.05);
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 0.55rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 0.35rem 0;
  transition: transform 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.flash-banner {
  background: linear-gradient(90deg, rgba(13, 148, 136, 0.16), rgba(45, 212, 191, 0.12));
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
  font-weight: 600;
  color: var(--teal-deep);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: hero-zoom 16s ease-out forwards;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 27, 42, 0.28) 0%, rgba(13, 27, 42, 0.68) 48%, rgba(13, 27, 42, 0.92) 100%),
    linear-gradient(115deg, rgba(13, 148, 136, 0.35), transparent 50%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  opacity: 0.35;
  animation: grid-drift 18s linear infinite;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 5rem 0 4.25rem;
  margin-left: max(1rem, calc((100% - var(--container)) / 2));
  width: min(100% - 2rem, 42rem);
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 9vw, 5.6rem);
  letter-spacing: -0.05em;
  line-height: 0.92;
  margin: 0 0 0.85rem;
  background: linear-gradient(120deg, #fff 15%, #99f6e4 65%, #2dd4bf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-eyebrow {
  margin: 0 0 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.hero-title {
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  font-weight: 700;
  max-width: 16ch;
  margin-bottom: 1rem;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  max-width: 38ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.35rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background 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(135deg, var(--teal), #0f766e);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(13, 148, 136, 0.28);
}

.btn-primary:hover {
  color: var(--white);
  filter: brightness(1.05);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.btn-block {
  width: 100%;
}

.contact-aside .btn-ghost,
.contact-wa .btn-ghost,
.cta-band .btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.contact-aside .btn-ghost,
.contact-wa .btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: var(--card);
}

.contact-aside .btn-ghost:hover,
.contact-wa .btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
}

/* Sections */
.section {
  padding: 5.5rem 0;
}

.section-tint {
  background: rgba(255, 255, 255, 0.03);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.75rem;
}

.section-head h2,
.page-hero h1,
.auth-card h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
}

.section-head p,
.page-lead,
.auth-lead {
  color: var(--muted);
  font-size: 1.05rem;
}

.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--teal-deep);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-hero {
  padding: 3.75rem 0 1rem;
}

.section-cta {
  margin-top: 2rem;
}

.text-link {
  font-weight: 700;
  color: var(--teal-deep);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.text-link:hover {
  color: var(--teal);
}

/* Bento services */
.bento-services {
  display: grid;
  gap: 1rem;
}

.bento-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.bento-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(13, 148, 136, 0.35);
}

.bento-item h3 {
  font-size: 1.2rem;
}

.bento-item p {
  margin: 0;
  color: var(--muted);
}

.service-index {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--teal);
  font-size: 1rem;
  display: inline-block;
  margin-bottom: 0.6rem;
}

.service-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.service-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.service-panel:hover {
  transform: translateY(-3px);
  border-color: rgba(13, 148, 136, 0.3);
}

.service-panel h2 {
  font-size: 1.2rem;
}

.service-panel p {
  color: var(--muted);
}

/* Projects */
.project-list {
  display: grid;
  gap: 1rem;
}

.project-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease;
}

.project-card:hover {
  transform: translateY(-3px);
}

.project-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.chip {
  display: inline-flex;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  background: rgba(13, 148, 136, 0.12);
  color: var(--teal-deep);
  font-size: 0.78rem;
}

.project-card h3 {
  font-size: 1.2rem;
}

.project-card p {
  margin: 0;
  color: var(--muted);
}

/* Why */
.why-grid {
  display: grid;
  gap: 2.5rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.check-list li {
  position: relative;
  padding-left: 1.7rem;
  font-weight: 600;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
}

.check-list-wide {
  max-width: 40rem;
}

.why-features {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

.feature-tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.feature-tile h3 {
  font-size: 1.05rem;
}

.feature-tile p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Quotes */
.quote-list {
  display: grid;
  gap: 1rem;
}

.quote-card {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
}

.quote-card p {
  font-size: 1.08rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.quote-card footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  color: var(--muted);
  font-size: 0.92rem;
}

/* CTA */
.cta-band {
  padding: 4rem 0;
  background:
    radial-gradient(600px 240px at 20% 0%, rgba(13, 148, 136, 0.35), transparent 60%),
    linear-gradient(125deg, var(--ink), #16324a 55%, var(--teal-deep));
  color: var(--white);
}

.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-band h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  max-width: 40ch;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* About / contact leftovers */
.split {
  display: grid;
  gap: 2.5rem;
}

.value-stack {
  display: grid;
  gap: 1rem;
}

.value-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.value-item p {
  margin: 0;
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

.contact-layout {
  display: grid;
  gap: 2rem;
}

.contact-aside h2 {
  font-size: 1.4rem;
}

.contact-phones {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: grid;
  gap: 0.4rem;
}

.contact-wa {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.6rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.contact-map-link {
  display: inline-block;
  margin-top: 1.25rem;
}

.contact-map-section {
  padding-top: 3.5rem;
}

.map-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.map-frame {
  display: block;
  width: 100%;
  height: min(420px, 55vh);
  border: 0;
  filter: saturate(0.95) contrast(1.02);
}

.map-card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-top: 1px solid var(--line);
  background: rgba(11, 18, 25, 0.92);
}

.map-card-footer p {
  margin: 0;
  font-weight: 600;
  color: var(--ink-soft);
}

.map-card-footer .btn-primary {
  color: var(--white);
}

.contact-form,
.auth-form {
  display: grid;
  gap: 1rem;
}

.field-row {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-weight: 700;
  font-size: 0.9rem;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #0f1822;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font: inherit;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.15);
}

.alert {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-weight: 600;
}

.alert p {
  margin: 0.2rem 0;
}

.alert-ok {
  background: rgba(13, 148, 136, 0.12);
  color: var(--teal-deep);
}

.alert-error {
  background: rgba(248, 113, 113, 0.14);
  color: #fca5a5;
}

/* Auth */
.page-auth .site-footer {
  display: none;
}

.auth-shell {
  display: grid;
  min-height: calc(100vh - var(--header-h));
}

.auth-visual {
  display: none;
  background:
    radial-gradient(500px 280px at 30% 20%, rgba(13, 148, 136, 0.45), transparent 60%),
    linear-gradient(160deg, #0d1b2a, #134e4a 70%, #0f766e);
  color: var(--white);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.auth-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.4;
}

.auth-visual-inner {
  position: relative;
  z-index: 1;
  max-width: 26rem;
  margin-top: auto;
  margin-bottom: auto;
}

.auth-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
  background: linear-gradient(120deg, #fff, #99f6e4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.auth-visual h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 0.85rem;
}

.auth-visual p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.auth-panel {
  display: grid;
  place-items: center;
  padding: 2.5rem 1.25rem;
}

.auth-card {
  width: min(100%, 440px);
  background: rgba(20, 32, 44, 0.92);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  animation: auth-in 0.55s ease both;
}

.auth-switch {
  margin: 1.25rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.auth-switch a {
  color: var(--teal-deep);
  font-weight: 700;
  text-decoration: none;
}

.auth-switch a:hover {
  color: var(--teal);
}

.auth-forgot {
  margin: -0.35rem 0 0.25rem;
  text-align: right;
  font-size: 0.9rem;
}

.auth-forgot a {
  color: var(--teal-deep);
  font-weight: 600;
  text-decoration: none;
}

.auth-forgot a:hover {
  color: var(--teal);
}

.auth-section-title {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.1rem;
}

.auth-card-wide {
  width: min(100%, 520px);
}

@media (min-width: 900px) {
  .auth-shell-wide {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  padding: 3.5rem 0 1.5rem;
  background: #070d13;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer .brand-name,
.site-footer .brand {
  color: var(--white);
}

.site-footer .brand-name span {
  color: #5eead4;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand p {
  margin-top: 1rem;
  max-width: 32ch;
  color: rgba(255, 255, 255, 0.68);
}

.footer-title {
  font-size: 1rem;
  margin-bottom: 0.9rem;
  color: var(--white);
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-list a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.72);
}

.footer-list a:hover {
  color: #5eead4;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-social a {
  color: #5eead4;
  text-decoration: none;
  font-weight: 600;
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: calc(var(--i, 0) * 80ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes hero-zoom {
  from { transform: scale(1.1); }
  to { transform: scale(1); }
}

@keyframes grid-drift {
  from { background-position: 0 0; }
  to { background-position: 64px 64px; }
}

@keyframes auth-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 900px) {
  .auth-shell {
    grid-template-columns: 1.05fr 1fr;
  }

  .auth-visual {
    display: grid;
  }

  .bento-services {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-grid,
  .split,
  .contact-layout {
    grid-template-columns: 1.1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .quote-list,
  .project-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 899px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 0.85rem 1rem 1.25rem;
    background: rgba(11, 18, 25, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav > a:not(.nav-btn) {
    padding: 0.8rem 0.25rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-divider {
    display: none;
  }

  .nav-user {
    max-width: none;
    padding: 0.5rem 0;
  }

  .nav-btn {
    width: 100%;
    margin-top: 0.25rem;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-content {
    width: min(100% - 2rem, 40rem);
    margin-left: 1rem;
    margin-right: 1rem;
    padding: 3rem 0 2.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section {
    padding: 3rem 0;
  }

  .why-features,
  .bento-services,
  .project-list,
  .quote-list,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .cta-band-inner,
  .cta-actions,
  .map-card-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-band .btn,
  .map-card-footer .btn {
    width: 100%;
  }

  .map-frame {
    height: 260px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .contact-wa {
    flex-direction: column;
  }

  .contact-wa .btn {
    width: 100%;
  }
}
