/* ===================================================================
   AGENCIA CUETO - ESTILOS OFICIALES
   =================================================================== */

:root {
  --color-topbar: #082847;
  --color-primary: #0A2F56;
  --color-amber: #E29B38;
  --color-amber-hover: #C98223;
  --color-gold-tag: #EAA84F;
  --color-whatsapp: #25D366;
  --color-whatsapp-hover: #20BA5A;
  --color-text-dark: #1E293B;
  --color-border: #E2E8F0;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  --transition: 0.25s ease;
  --header-height: 100px;
}

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

html {
  overflow-x: hidden;
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  overflow-x: clip;
  font-family: var(--font-sans);
  color: var(--color-text-dark);
  background-color: #FFFFFF;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition);
}

ul {
  list-style: none;
}

/* ==================== TOPBAR ==================== */
.topbar {
  background-color: var(--color-topbar);
  color: #FFFFFF;
  font-size: 0.8rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2.2rem;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.9);
}

.topbar-link:hover {
  color: #FFFFFF;
}

.topbar-icon {
  width: 14px;
  height: 14px;
  stroke: rgba(255, 255, 255, 0.8);
  flex-shrink: 0;
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.topbar-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.9);
}

.topbar-social-link svg {
  width: 15px;
  height: 15px;
}

.topbar-social-link:hover {
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* ==================== HEADER ==================== */
.site-header {
  position: sticky;
  top: 0;
  background-color: #FFFFFF;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header-container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

.brand-main {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-icon {
  height: 52px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.brand-agency {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.brand-agency::before,
.brand-agency::after {
  content: '';
  width: 14px;
  height: 1px;
  background: var(--color-amber);
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-primary);
}

.brand-tagline {
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  white-space: nowrap;
}

@media (min-width: 641px) {
  .brand-main { gap: 0.5rem; }
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-link {
  font-size: 0.84rem;
  font-weight: 500;
  color: #334155;
  padding: 0.4rem 0;
  position: relative;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--color-amber);
}

.nav-link.active {
  color: var(--color-amber);
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-amber);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.btn-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-amber);
  color: #FFFFFF;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.68rem 1.4rem;
  border-radius: 22px;
  box-shadow: 0 4px 10px rgba(226, 155, 56, 0.3);
  white-space: nowrap;
}

.btn-quote:hover {
  background: var(--color-amber-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(226, 155, 56, 0.4);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger-bar {
  width: 100%;
  height: 2.2px;
  background-color: var(--color-primary);
  border-radius: 2px;
}

/* ==================== HERO SECTION (REHECHA LIMPIA) ==================== */
.hero-section {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background-color: #1c2a3a;
  overflow: hidden;
}

/* Foto de fondo del hero (desktop); en móvil se sustituye abajo */
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/catedral.jpg') center / cover no-repeat;
}

/* Gradiente de sombra a la izquierda para contraste */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(10, 30, 60, 0.78) 0%,
    rgba(10, 30, 60, 0.62) 30%,
    rgba(10, 30, 60, 0.04) 42%,
    rgba(10, 30, 60, 0) 50%
  );
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 4.5rem 2rem;
}

.hero-content {
  max-width: 600px;
  color: #FFFFFF;
}

.hero-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--color-gold-tag);
  text-transform: uppercase;
  margin-bottom: 1.15rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  font-weight: 700;
  line-height: 1.12;
  color: #FFFFFF;
  margin-bottom: 1.3rem;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: clamp(0.92rem, 1.25vw, 1.05rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2.2rem;
  font-weight: 400;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.hero-action {
  display: flex;
  align-items: center;
}

.btn-hero-quote {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--color-amber);
  color: #FFFFFF;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.82rem 1.75rem;
  border-radius: 25px;
  box-shadow: 0 6px 18px rgba(226, 155, 56, 0.4);
  transition: all var(--transition);
}

.btn-hero-quote:hover {
  background: var(--color-amber-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(226, 155, 56, 0.5);
}

.btn-arrow {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

.btn-hero-quote:hover .btn-arrow {
  transform: translateX(4px);
}

/* Texto caligráfico 'Oviedo es nuestro lugar' sobre el botón de WhatsApp */
.hero-oviedo-badge {
  position: absolute;
  right: 2.5rem;
  bottom: 5.5rem;
  z-index: 10;
  font-family: 'Caveat', cursive;
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.05;
  color: #FFFFFF;
  text-align: left;
  transform: rotate(-12deg);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.hero-oviedo-badge::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 0.2rem;
  background: var(--color-amber);
  border-radius: 2px;
}

/* Botón flotante WhatsApp */
.whatsapp-btn {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: var(--color-whatsapp);
  color: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.whatsapp-btn:hover {
  background-color: var(--color-whatsapp-hover);
  transform: scale(1.08);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
}

.whatsapp-btn svg {
  width: 32px;
  height: 32px;
}

/* ==================== BASE DE SECCIONES ==================== */
.svg-sprite { display: none; }

.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 2rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-amber);
  margin-bottom: 0.9rem;
}

.eyebrow-gold { color: var(--color-gold-tag); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-primary);
  margin-bottom: 1.1rem;
}

.section-title-light { color: #FFFFFF; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-amber);
}

.link-more svg,
.btn-primary svg,
.btn-outline svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--transition);
}

.link-more:hover svg,
.btn-primary:hover svg,
.btn-outline:hover svg { transform: translateX(4px); }

.link-gold { color: var(--color-gold-tag); }

.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.8rem 1.6rem;
  border-radius: 25px;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-amber);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 6px 16px rgba(226, 155, 56, 0.35);
}

.btn-primary:hover { background: var(--color-amber-hover); }

.btn-outline {
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #FFFFFF;
}

/* ==================== NUESTROS SERVICIOS ==================== */
.services {
  background: #FFFFFF;
  padding: 4.5rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 2.6fr;
  gap: 3rem;
  align-items: center;
}

.services-intro .eyebrow { display: none; }

.services-intro p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.7;
}

.services-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.6rem 1.3rem;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(10, 47, 86, 0.1);
}

.service-card.is-featured { background: #EEF3F9; }

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1.25;
  color: var(--color-primary);
}

.service-card p {
  flex: 1;
  font-size: 0.85rem;
  color: #475569;
}

.service-icon {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ==================== ADMINISTRACIÓN DE FINCAS ==================== */
.admin {
  background:
    linear-gradient(90deg, rgba(8, 40, 71, 0.3) 0%, rgba(8, 40, 71, 0.05) 100%),
    #082847 url('images/fondo-una-gestion-cercana.jpg') center / cover no-repeat;
  color: #FFFFFF;
  padding: 4.5rem 0;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.admin-info p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  line-height: 1.7;
}

.admin-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem 1.5rem;
  margin-top: 2rem;
  max-width: 520px;
}

.admin-features li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.admin-features svg {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  padding: 8px;
  fill: none;
  stroke: var(--color-gold-tag);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  border: 1px solid rgba(234, 168, 79, 0.45);
  border-radius: 50%;
}

.quote-form {
  scroll-margin-top: calc(var(--header-height) + 1rem);
  background: #FFFFFF;
  color: var(--color-text-dark);
  padding: 2rem;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.quote-form h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--color-primary);
}

.quote-form-sub {
  font-size: 0.82rem;
  color: #64748B;
  margin-bottom: 1.2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.field { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.field-full { grid-column: 1 / -1; }

.field span {
  font-size: 0.72rem;
  font-weight: 600;
  color: #475569;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.85rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  background: #F8FAFC;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--color-amber);
  outline-offset: 1px;
  background: #FFFFFF;
}

.check {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin: 1rem 0;
  font-size: 0.78rem;
  color: #64748B;
}

.check a { text-decoration: underline; }

/* ==================== CAMBIAR DE ADMINISTRADOR ==================== */
.switch {
  position: relative;
  margin-top: 3rem;
  padding: 4rem 0;
  color: #FFFFFF;
  background: #1c2a3a url('images/fondo-te-acompanamos.jpg') center / cover no-repeat;
}

.switch-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 40, 71, 0.6) 0%, rgba(8, 40, 71, 0.35) 55%, rgba(8, 40, 71, 0.08) 100%);
}

.switch-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
}

.switch-text p {
  max-width: 520px;
  margin-bottom: 1.2rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
}

.promo-card {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  width: min(100%, 300px);
  padding: 1.8rem 1.5rem;
  text-align: center;
  background: rgba(8, 40, 71, 0.85);
  border: 1px solid rgba(234, 168, 79, 0.6);
  border-radius: 14px;
  backdrop-filter: blur(6px);
}

.promo-icon {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: var(--color-gold-tag);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.promo-label { font-size: 0.85rem; opacity: 0.85; }

.promo-value {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  line-height: 1.15;
}

.promo-note { font-size: 0.82rem; opacity: 0.85; }

/* ==================== HISTORIA Y BLOG ==================== */
.story {
  background: #F8FAFC;
  padding: 4.5rem 0;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.story-text p,
.blog > p {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1.4rem;
}

.story-photo { position: relative; }

.story-photo-img {
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.45)),
    #8f7a5c url('images/una-historia-larga.jpg') center / cover no-repeat;
  box-shadow: 0 12px 30px rgba(10, 47, 86, 0.18);
}

.story-photo figcaption {
  position: absolute;
  left: 1.2rem;
  bottom: 1rem;
  font-family: 'Caveat', cursive;
  font-size: 1.8rem;
  color: #FFFFFF;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.blog-card {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  padding: 0.8rem;
  margin-bottom: 1rem;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.blog-card:hover { box-shadow: 0 10px 24px rgba(10, 47, 86, 0.1); }

.blog-card-img {
  flex-shrink: 0;
  width: 84px;
  height: 84px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0A2F56, #E29B38);
}

.blog-card-body { display: flex; flex-direction: column; gap: 0.3rem; }

.blog-card-body time { font-size: 0.74rem; color: #64748B; }

.blog-card-body strong {
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.3;
  color: var(--color-primary);
}

/* ==================== FOOTER ==================== */
.footer {
  background: #0d1b2a;
  color: #BBC4CE;
  font-size: 0.85rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  padding-top: 3.5rem;
  padding-bottom: 2.5rem;
}

.brand-logo--light {
  align-items: center;
  width: fit-content;
}

.brand-logo--light .brand-main { gap: 0.6rem; }
.brand-logo--light .brand-icon { height: 60px; }
.brand-logo--light .brand-agency,
.brand-logo--light .brand-name,
.brand-logo--light .brand-tagline { color: #FFFFFF; }

.brand-logo--light .brand-tagline {
  white-space: normal;
  text-align: center;
  max-width: 280px;
}

.footer-tagline {
  margin-top: 1rem;
  font-family: 'Caveat', cursive;
  font-size: 1.6rem;
  color: var(--color-amber);
}

@media (min-width: 1101px) {
  .footer-contact .footer-tagline { text-align: right; }
}

.footer-col h4 {
  margin-bottom: 0.9rem;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #FFFFFF;
}

.footer-col ul { display: grid; gap: 0.5rem; }
.footer-col p { margin-bottom: 0.8rem; font-style: normal; line-height: 1.6; }
.footer-col a:hover { color: #FFFFFF; }
.footer-contact { font-style: normal; }

.footer-social { display: flex; gap: 0.8rem; }

.footer-social a {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
}

.footer-social svg { width: 16px; height: 16px; }

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.1rem 0;
  font-size: 0.75rem;
}

.footer-legal .container { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; }
.footer-legal a:hover { color: #FFFFFF; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1200px) {
  .nav-list {
    gap: 0.85rem;
  }
  .nav-link {
    font-size: 0.78rem;
  }
  .btn-quote {
    padding: 0.58rem 1.15rem;
    font-size: 0.78rem;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    border-bottom: 1px solid var(--color-border);
    padding: 1.5rem 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.15rem;
    width: 100%;
  }

  .nav-link {
    font-size: 0.95rem;
    width: 100%;
    display: block;
  }

  .hero-oviedo-badge {
    font-size: 1.4rem;
  }
}

@media (max-width: 640px) {
  .topbar-container {
    padding: 0 1rem;
    justify-content: center;
  }

  .topbar-social {
    display: none;
  }

  .topbar-info {
    gap: 0.85rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .header-container {
    padding: 0 1rem;
  }

  .brand-icon { height: 40px; }
  .brand-name { font-size: 1.9rem; }
  .brand-agency { font-size: 0.6rem; }
  .site-header .brand-tagline { display: none; }

  .btn-quote {
    display: none;
  }

  .hero-section {
    min-height: 460px;
  }

  .hero-section::after {
    background-position: 62% center;
  }

  .hero-overlay {
    background: none;
  }

  .hero-container {
    padding: 3rem 1.25rem;
  }

  .hero-oviedo-badge {
    display: none;
  }

  .whatsapp-btn {
    right: 1rem;
    bottom: 1rem;
    width: 54px;
    height: 54px;
  }

  .container { padding: 0 1.25rem; }

  .services,
  .admin,
  .story { padding: 3rem 0; }

  .services-cards,
  .admin-features,
  .form-grid { grid-template-columns: 1fr; }

  .quote-form { padding: 1.4rem; }
  .promo-card { justify-self: stretch; width: 100%; }
}

@media (max-width: 1100px) {
  .services-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .services-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-grid,
  .switch-grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .promo-card { justify-self: start; }
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  :root { --header-height: 80px; }

  .story-grid,
  .footer-grid,
  .services-cards,
  .admin-features,
  .form-grid { grid-template-columns: minmax(0, 1fr); }

  .topbar-item { white-space: nowrap; }

  .footer-grid { justify-items: center; text-align: center; gap: 2rem; }
  .footer-col ul { justify-items: center; }
  .footer-brand { display: flex; justify-content: center; }
  .footer-social { justify-content: center; }
  .footer-legal .container { justify-content: center; text-align: center; }
}
