/* ==========================================================================
   Gotell & Associates - Stylesheet
   ========================================================================== */

:root {
  --teal: #008080;
  --teal-dark: #0b4f4f;
  --teal-deep: #083838;
  --teal-light: #9fd8d3;
  --teal-soft: #e9f2f1;
  --ink: #14201f;
  --mut: #5c6f6e;
  --bg: #f7f9f9;
  --card: #ffffff;
  --line: #e1e9e8;
  --gold: #c9a35c;
  --white: #ffffff;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --serif: "Crimson Text", Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  line-height: 1.65;
  background: var(--bg);
  overflow-x: hidden;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  line-height: 1.15;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

section {
  scroll-margin-top: 96px;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(58px, 7vw, 84px) 24px;
}

.kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 14px;
  color: var(--teal-deep);
}

.section-sub {
  color: var(--mut);
  max-width: 660px;
  margin: 0 auto;
  font-size: 1.02rem;
}

.center {
  text-align: center;
}

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .35s var(--ease), background .35s var(--ease);
}

#navbar.scrolled {
  box-shadow: 0 4px 24px rgba(8, 56, 56, .12);
  background: rgba(255, 255, 255, 0.98);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.logo {
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 2px;
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: 0 0 auto;
}

.logo img {
  flex: none;
  width: 38px;
  height: 46px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: clamp(12px, 1.6vw, 22px);
  align-items: center;
  min-width: 0;
}

.nav-menu a {
  text-decoration: none;
  color: var(--ink);
  font-size: clamp(.8rem, .9vw, .9rem);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color .25s;
}

.nav-menu a:not(.btn-nav)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width .3s var(--ease);
}

.nav-menu a:not(.btn-nav):hover {
  color: var(--teal);
}

.nav-menu a:not(.btn-nav):hover::after {
  width: 100%;
}

.btn-nav {
  background: var(--teal);
  color: #fff !important;
  padding: 9px 16px !important;
  border-radius: 6px;
  transition: background .25s, transform .25s;
  white-space: nowrap;
}

@media(max-width: 1080px) and (min-width: 901px) {
  .logo span { max-width: 160px; line-height: 1.15; }
  .nav-container { padding-inline: 18px; gap: 14px; }
  .nav-menu { gap: 10px; }
  .nav-menu a { font-size: .78rem; }
  .btn-nav { padding: 8px 12px !important; }
}

.btn-nav:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}

#hamb {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--teal);
}

@media(max-width: 900px) {
  #hamb {
    display: block;
  }
  .nav-menu {
    position: fixed;
    inset: 64px 0 auto 0;
    background: #fff;
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    box-shadow: 0 20px 30px rgba(0, 0, 0, .12);
    transform: translateY(-140%);
    transition: transform .4s var(--ease);
  }
  .nav-menu.open {
    transform: translateY(0);
  }
}

/* ===== HERO ===== */
.hero {
  min-height: min(760px, 86vh);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: linear-gradient(rgba(8, 56, 56, .76), rgba(8, 56, 56, .84)), url('../img/hero-bg.jpg') center/cover fixed;
}

.hero-content {
  color: #fff;
  max-width: 800px;
  padding: 118px 24px 76px;
}

.hero .kicker {
  color: var(--teal-light);
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  margin-bottom: 20px;
  color: #fff;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero p {
  max-width: 620px;
  margin: 0 auto 36px;
  font-size: 1.12rem;
  font-weight: 300;
  color: #e6f2f1;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
}

.btn-primary {
  background: var(--teal);
  color: #fff;
  margin-right: 12px;
  box-shadow: 0 8px 24px rgba(0, 128, 128, .35);
  border: none;
}

.btn-primary:hover {
  background: #009999;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 128, 128, .45);
}

.btn-ghost {
  border: 2px solid rgba(255, 255, 255, .8);
  color: #fff;
}

.btn-ghost:hover {
  background: #fff;
  color: var(--teal-deep);
  transform: translateY(-3px);
}

.scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, .55);
  border-radius: 14px;
}

.scroll-hint::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: #fff;
  animation: wheel 1.8s infinite;
}

@keyframes wheel {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; }
}

/* ===== STATS ===== */
.stats {
  background: var(--teal);
  color: #fff;
  position: relative;
  z-index: 2;
}

.stats .wrap {
  padding: 42px 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item .num {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  display: block;
  line-height: 1;
}

.stat-item p {
  font-size: .88rem;
  opacity: .9;
  margin-top: 6px;
}

@media(max-width: 640px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

/* ===== SERVICIOS GENERALES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 38px;
  align-items: stretch;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  min-height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(8, 56, 56, .14);
}

.card-img {
  aspect-ratio: 16 / 9;
  height: auto;
  overflow: hidden;
  background: var(--teal-soft);
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}

.service-card:hover .card-img img {
  transform: scale(1.07);
}

.card-body {
  padding: 24px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  color: var(--teal-dark);
  font-size: 1.45rem;
  margin-bottom: 10px;
}

.card-body > p {
  color: var(--mut);
  font-size: .94rem;
}

.card-body ul {
  margin-top: 16px;
  list-style: none;
  font-size: .9rem;
  color: var(--ink);
  flex: 1;
}

.card-body li {
  padding: 7px 0 7px 24px;
  position: relative;
  border-top: 1px dashed var(--line);
}

.card-body li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 15px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

/* ===== CATÁLOGO / SOLUCIONES INTERACTIVAS ===== */
.catalog-section {
  background: #f1f6f6;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.catalog-section .wrap {
  padding-top: clamp(54px, 6vw, 72px);
}

/* Nav pestañas */
.catalog-nav-wrap {
  position: sticky;
  top: 68px;
  z-index: 90;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  margin-top: 28px;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 4px 16px rgba(8, 56, 56, .04);
}

.catalog-nav {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 6px 16px;
  scrollbar-width: thin;
}

.catalog-nav button {
  flex: none;
  border: 0;
  border-bottom: 3px solid transparent;
  background: none;
  color: var(--mut);
  padding: 14px 16px;
  font-family: inherit;
  font-size: 14.5px;
  cursor: pointer;
  white-space: nowrap;
  font-weight: 500;
  transition: color .25s, border-color .25s, background .25s;
  border-radius: 6px 6px 0 0;
}

.catalog-nav button:hover {
  color: var(--teal-dark);
  background: var(--teal-soft);
}

.catalog-nav button.on {
  color: var(--teal-dark);
  border-color: var(--teal);
  font-weight: 600;
  background: #ffffff;
}

.catalog-tab-content {
  display: none;
  padding: 30px 0 10px;
}

.catalog-tab-content.on {
  display: block;
}

.catalog-tab-content h3 {
  font-size: 28px;
  margin-bottom: 8px;
  color: var(--teal-deep);
}

.catalog-tab-content .sub {
  color: var(--mut);
  margin: 0 0 28px;
  max-width: 660px;
  font-size: 15px;
}

/* Grid de tarjetas de catálogo */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 22px;
}

.c-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}

.c-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 44px rgba(8, 56, 56, .13);
}

.c-card.featured {
  border-color: var(--teal);
  box-shadow: 0 14px 34px rgba(0, 128, 128, .14);
}

.c-card.featured::before {
  content: "Recomendado";
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--teal);
  color: #fff;
  font-size: 10.5px;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: 4px 12px;
  font-weight: 600;
  border-radius: 4px;
}

.tag {
  font-size: 11.5px;
  color: var(--mut);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.c-card h4 {
  font-size: 25px;
  margin: 6px 0 12px;
  color: var(--teal-deep);
}

.price {
  font-size: 32px;
  font-weight: 700;
  font-family: var(--serif);
  color: var(--teal-dark);
  transition: opacity .3s;
}

.price small {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--mut);
  font-family: var(--sans);
}

.c-card ul {
  margin: 16px 0 22px;
  padding: 0;
  list-style: none;
  flex: 1;
}

.c-card li {
  padding: 9px 0 9px 16px;
  position: relative;
  font-size: 14px;
  border-top: 1px dashed var(--line);
}

.c-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.nt {
  font-size: 13px;
  color: var(--mut);
  margin: 0 0 14px;
}

.c-btn {
  display: block;
  text-align: center;
  background: transparent;
  border: 1.5px solid var(--teal);
  color: var(--teal-dark);
  text-decoration: none;
  padding: 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  transition: background .3s, color .3s;
}

.c-btn:hover {
  background: var(--teal-soft);
}

.c-card.featured .c-btn, .c-btn.solid {
  background: var(--teal);
  color: #fff;
}

.c-card.featured .c-btn:hover, .c-btn.solid:hover {
  background: var(--teal-dark);
}

/* Toggle pólizas */
.tg {
  display: inline-flex;
  gap: 6px;
  background: var(--teal-soft);
  border: 1px solid var(--line);
  border-radius: 40px;
  padding: 5px;
  margin-bottom: 26px;
}

.tg button {
  border: 0;
  border-radius: 30px;
  background: none;
  color: var(--mut);
  padding: 9px 20px;
  font-family: inherit;
  font-size: 13.5px;
  cursor: pointer;
  transition: background .3s, color .3s;
  font-weight: 500;
}

.tg button.on {
  background: var(--teal);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 128, 128, .3);
}

/* Tablas */
.tw {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  box-shadow: 0 10px 26px rgba(8, 56, 56, .06);
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13.5px;
  min-width: 620px;
}

th, td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  background: var(--teal-deep);
  color: #fff;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-weight: 600;
}

tbody tr {
  transition: background .25s;
}

tbody tr:hover {
  background: var(--teal-soft);
}

tbody tr:last-child td {
  border: 0;
}

/* Calculadora interactiva */
.calc {
  background: linear-gradient(135deg, #0c2b2b, #0b4f4f);
  border-radius: 14px;
  padding: 30px 28px;
  color: #fff;
  box-shadow: 0 16px 36px rgba(8, 56, 56, .2);
}

.calc label {
  font-weight: 600;
  font-size: 16px;
}

.calc small {
  color: #9fc4c1;
  display: block;
  margin-top: 4px;
}

.calc input {
  font-family: inherit;
  font-size: 18px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  width: 100%;
  max-width: 260px;
  margin: 12px 0 20px;
  display: block;
  outline: none;
  transition: background .3s, border-color .3s;
}

.calc input:focus {
  background: rgba(255, 255, 255, .18);
  border-color: var(--gold);
}

.calc input::placeholder {
  color: #7ba8a5;
}

.calc-results {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.calc-results div span {
  display: block;
  font-size: 11px;
  color: #9fc4c1;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.calc-results div b {
  font-size: 24px;
  font-family: var(--serif);
  color: #fff;
  transition: color .2s;
}

.calc .nt {
  color: #8fb5b2;
  margin-top: 18px;
}

.calc .nt b {
  color: #fff;
}

.av {
  margin: 28px 0 10px;
  padding: 18px 22px;
  border-left: 3px solid var(--gold);
  background: var(--card);
  border-radius: 0 10px 10px 0;
  font-size: 13.5px;
  color: var(--mut);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.av b {
  color: var(--ink);
}

/* ===== NOSOTROS ===== */
.bg-dark {
  background: linear-gradient(135deg, #0c2b2b, #081f1f);
  color: #eef4f3;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}

.bg-dark h2 {
  color: #fff;
}

.bg-dark p {
  color: #bcd4d1;
  margin-top: 14px;
}

.values {
  display: flex;
  gap: 12px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.values span {
  border: 1px solid rgba(255, 255, 255, .35);
  padding: 7px 16px;
  font-size: .82rem;
  border-radius: 22px;
  letter-spacing: .05em;
  transition: background .3s, border-color .3s;
}

.values span:hover {
  background: var(--teal);
  border-color: var(--teal);
}

.image-frame {
  position: relative;
}

.image-frame::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid var(--gold);
  border-radius: 14px;
  z-index: 0;
  transition: inset .5s var(--ease);
}

.image-frame:hover::before {
  inset: 10px -10px -10px 10px;
}

.image-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .4);
}

@media(max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

/* ===== METODOLOGÍA ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 56px;
  position: relative;
}

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 36px 28px;
  position: relative;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(8, 56, 56, .12);
}

.step .n {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--teal);
  opacity: .28;
  line-height: 1;
}

.step h3 {
  margin: 14px 0 10px;
  font-size: 1.3rem;
  color: var(--teal-dark);
}

.step p {
  color: var(--mut);
  font-size: .93rem;
}

.step::after {
  content: "";
  position: absolute;
  top: 52px;
  right: -22px;
  width: 16px;
  height: 2px;
  background: var(--line);
}

.step:last-child::after {
  display: none;
}

@media(max-width: 960px) {
  .step::after {
    display: none;
  }
}

/* ===== FAQ ===== */
.faq {
  max-width: 820px;
  margin: 52px auto 0;
}

.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow .3s, border-color .3s;
}

.faq details[open] {
  box-shadow: 0 12px 28px rgba(8, 56, 56, .1);
  border-color: var(--teal);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-weight: 600;
  font-size: .98rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--teal);
  transition: transform .3s var(--ease);
  line-height: 1;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq .ans {
  padding: 0 24px 20px;
  color: var(--mut);
  font-size: .94rem;
  line-height: 1.6;
}

/* ===== CTA / CONTACTO ===== */
.cta-band {
  background: linear-gradient(rgba(8, 56, 56, .9), rgba(11, 79, 79, .92)), url('../img/cta-bg.jpg') center/cover;
  color: #fff;
  text-align: center;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
}

.cta-band p {
  color: #cfe4e2;
  max-width: 600px;
  margin: 14px auto 32px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  max-width: 920px;
  margin: 56px auto 0;
  text-align: left;
}

.contact-item {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  padding: 22px;
  transition: background .3s, transform .3s var(--ease);
}

.contact-item:hover {
  background: rgba(255, 255, 255, .13);
  transform: translateY(-4px);
}

.contact-item .ic {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.contact-item b {
  display: block;
  font-size: .95rem;
  color: #fff;
}

.contact-item a, .contact-item span {
  color: #bcd4d1;
  font-size: .9rem;
  text-decoration: none;
}

.contact-item a:hover {
  color: #fff;
}

/* ===== FOOTER ===== */
footer {
  background: var(--teal-deep);
  color: #9fc4c1;
  text-align: center;
  padding: 38px 20px;
  font-size: .85rem;
}

footer .word {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 6px;
}

.footer-logo {
  width: 150px;
  max-width: 55vw;
  margin: 0 auto 14px;
  opacity: .88;
  filter: brightness(0) invert(1);
}

/* ===== WHATSAPP FLOTANTE ===== */
.wa-float {
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, .38);
  transition: transform .3s var(--ease);
  text-decoration: none;
}

.wa-float:hover {
  transform: translateY(-2px) scale(1.06);
}

.wa-float svg {
  width: 34px;
  height: 34px;
  fill: #fff;
}


@media(max-width: 760px) {
  html { scroll-padding-top: 78px; }
  section { scroll-margin-top: 78px; }
  .wrap { padding: clamp(44px, 8svh, 60px) 18px; }
  .hero { min-height: 82vh; min-height: 82svh; }
  .hero-content { width: 100%; padding: max(96px, calc(env(safe-area-inset-top) + 84px)) 18px 76px; }
  .hero h1 { font-size: clamp(2.1rem, 9vw, 3.2rem); }
  .hero p { font-size: 1rem; margin-bottom: 26px; }
  .btn { display: block; width: 100%; max-width: 320px; margin: 0 auto 12px; }
  .btn-primary { margin-right: auto; }
  .services-grid, .catalog-grid, .steps { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .card-img { aspect-ratio: 16 / 9; }
  .catalog-nav-wrap { top: 64px; margin-inline: -18px; border-radius: 0; }
  .catalog-nav { padding: 6px 10px; }
  .catalog-nav button { padding: 12px 13px; font-size: 13px; }
  .catalog-tab-content { padding-top: 24px; }
  .catalog-tab-content h3 { font-size: clamp(24px, 7vw, 28px); }
  .calc { padding: 24px 20px; }
  .calc-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .split { gap: 30px; }
  .image-frame { margin-right: 8px; }
  .image-frame::before { inset: 10px -8px -10px 10px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); margin-top: 38px; }
  .wa-float { width: 56px; height: 56px; right: 16px; bottom: 16px; }
  .wa-float svg { width: 31px; height: 31px; }
}

@media(max-width: 900px) { .nav-menu { inset: calc(64px + env(safe-area-inset-top)) 0 auto 0; max-height: calc(100dvh - 64px - env(safe-area-inset-top)); overflow-y: auto; padding-bottom: max(24px, env(safe-area-inset-bottom)); } .nav-menu.open { transform: translateY(0); } .nav-menu:not(.open) { pointer-events: none; } }
@media(min-width: 761px) and (max-width: 1050px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .service-card:last-child { grid-column: 1 / -1; } .service-card:last-child .card-img { aspect-ratio: 2.2 / 1; } }
@media(min-width: 1200px) { .wrap { max-width: 1280px; } .hero-content { max-width: 900px; } .service-card { box-shadow: 0 8px 24px rgba(8, 56, 56, .04); } }
@media(max-height: 620px) and (orientation: landscape) { .hero { min-height: 560px; } .hero-content { padding-top: 92px; padding-bottom: 72px; } .hero h1 { font-size: clamp(2rem, 6vh, 3.2rem); } }
@media(prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
