/* ============================================================
   Clínica Avanzada de Periodoncia e Implantes — Dra. Mariajosé
   ============================================================ */

:root {
  --navy: #2B3990;
  --navy-dark: #1F2A6E;
  --green: #00A651;
  --green-dark: #00893F;
  --white: #FFFFFF;
  --gray-light: #F7F8FA;
  --gray-border: #E7E9F0;
  --gray-text: #444444;
  --gray-muted: #767B8C;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container-w: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(43, 57, 144, 0.08);
  --shadow-md: 0 20px 50px rgba(43, 57, 144, 0.14);
  --nav-h: 84px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--gray-text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p { margin: 0 0 1rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--green-dark);
  margin-bottom: 14px;
}

.lead {
  font-size: 1.15rem;
  color: var(--gray-muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(0, 166, 81, 0.3);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0, 166, 81, 0.38); }

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }

.btn-outline-light {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
  backdrop-filter: blur(6px);
}
.btn-outline-light:hover { background: var(--white); color: var(--navy); }

.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.98);
  z-index: 500;
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.navbar.is-scrolled {
  box-shadow: 0 6px 24px rgba(43, 57, 144, 0.1);
  border-bottom-color: var(--gray-border);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo img { height: 46px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-weight: 600;
  font-size: 0.96rem;
}
.nav-links a { color: var(--navy); position: relative; padding: 6px 0; }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--green);
  transition: width 0.2s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--green-dark); }

.nav-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 600;
}
.nav-toggle span {
  width: 26px; height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  background: linear-gradient(180deg, #F7F8FA 0%, #FFFFFF 60%);
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 50px;
}
.hero-copy h1 { margin-bottom: 20px; }
.hero-copy .lead { margin-bottom: 32px; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 34px; }

.hero-media {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(43,57,144,0) 55%, rgba(43,57,144,0.45) 100%);
}

.hero-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  right: 24px;
  z-index: 2;
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
}
.hero-badge .stars { color: #F5A623; font-size: 1rem; letter-spacing: 2px; }
.hero-badge strong { color: var(--navy); display: block; font-size: 0.95rem; }
.hero-badge span { font-size: 0.82rem; color: var(--gray-muted); }

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
}
.trust-strip .trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}
.trust-strip svg { width: 22px; height: 22px; color: var(--green); flex-shrink: 0; }

/* ---------- Page header (interior pages) ---------- */
.page-header {
  padding: calc(var(--nav-h) + 64px) 0 64px;
  background: linear-gradient(135deg, var(--navy) 0%, #3846A8 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(0, 166, 81, 0.18);
  top: -220px; right: -160px;
}
.page-header h1 { color: var(--white); position: relative; }
.page-header .lead { color: rgba(255,255,255,0.85); max-width: 620px; margin: 16px auto 0; position: relative; }
.breadcrumb {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
  position: relative;
}
.breadcrumb span { color: var(--white); }

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section-alt { background: var(--gray-light); }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-header.left { margin: 0 0 48px; text-align: left; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.two-col.reverse .col-media { order: 2; }
.two-col.reverse .col-copy { order: 1; }

.col-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/3.4;
}

.check-list { display: flex; flex-direction: column; gap: 16px; margin: 24px 0 30px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; font-weight: 500; color: var(--navy); }
.check-list svg { width: 22px; height: 22px; color: var(--green); flex-shrink: 0; margin-top: 2px; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-border);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.icon-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(0, 166, 81, 0.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.icon-circle svg { width: 28px; height: 28px; color: var(--green-dark); }

.card h3 { margin-bottom: 10px; }
.card p { color: var(--gray-muted); margin-bottom: 0; font-size: 0.96rem; }

/* Service list (category blocks) */
.service-block {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.service-block h3 { margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.service-block ul { display: flex; flex-direction: column; gap: 12px; }
.service-block li {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.98rem; color: var(--gray-text);
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--gray-border);
}
.service-block li:last-child { border-bottom: none; padding-bottom: 0; }
.service-block li svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; }

/* ---------- Timeline (Nosotros - historia) ---------- */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: '';
  position: absolute; left: 10px; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--gray-border);
}
.timeline-item { position: relative; padding-bottom: 46px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute; left: -34px; top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--green);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--green);
}
.timeline-item .gen-tag {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--green-dark); margin-bottom: 6px; display: block;
}
.timeline-item h3 { margin-bottom: 8px; }
.timeline-item p { color: var(--gray-muted); margin-bottom: 0; }
.timeline-item.current { }
.timeline-item.current h3 { color: var(--green-dark); }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-border);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.testimonial-card .stars { color: #F5A623; letter-spacing: 3px; margin-bottom: 14px; font-size: 1rem; }
.testimonial-card p { font-style: italic; color: var(--navy); flex-grow: 1; margin-bottom: 18px; }
.testimonial-card footer { font-weight: 700; font-size: 0.9rem; color: var(--gray-muted); font-style: normal; }
.testimonial-card footer span { display: block; font-weight: 400; font-size: 0.8rem; margin-top: 2px; }

.rating-source {
  display: flex; align-items: center; justify-content: center; gap: 40px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.rating-pill {
  display: flex; align-items: center; gap: 12px;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 100px;
  padding: 12px 24px;
  box-shadow: var(--shadow);
}
.rating-pill strong { color: var(--navy); }
.rating-pill .stars { color: #F5A623; letter-spacing: 2px; }

/* ---------- Diferenciadores numbered list ---------- */
.diff-list { display: flex; flex-direction: column; gap: 22px; margin-top: 28px; }
.diff-item { display: flex; gap: 20px; align-items: flex-start; }
.diff-num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
}
.diff-item h4 { margin-bottom: 4px; color: var(--navy); font-family: var(--font-body); font-size: 1.02rem; }
.diff-item p { margin: 0; color: var(--gray-muted); font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy), #3B4BB0);
  border-radius: 28px;
  padding: 64px 50px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: rgba(0,166,81,0.22);
  bottom: -220px; left: -140px;
}
.cta-band h2 { color: var(--white); position: relative; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 14px auto 32px; position: relative; }
.cta-band .btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ---------- Contact / map ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 40px;
  align-items: stretch;
}
.contact-info {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.contact-row { display: flex; gap: 16px; align-items: flex-start; }
.contact-row .icon-circle { margin-bottom: 0; flex-shrink: 0; width: 46px; height: 46px; }
.contact-row .icon-circle svg { width: 22px; height: 22px; }
.contact-row h4 { font-family: var(--font-body); color: var(--navy); font-size: 0.95rem; margin-bottom: 4px; }
.contact-row p { color: var(--gray-muted); font-size: 0.94rem; margin-bottom: 0; }
.contact-row a.link { color: var(--green-dark); font-weight: 600; }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  min-height: 420px;
  border: 1px solid var(--gray-border);
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.map-directions {
  position: absolute;
  bottom: 20px; left: 20px;
  z-index: 2;
}

.social-row { display: flex; gap: 14px; margin-top: 4px; }
.social-row a {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gray-light);
  border: 1px solid var(--gray-border);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.social-row a:hover { background: var(--green); transform: translateY(-3px); }
.social-row a:hover svg { color: var(--white); }
.social-row svg { width: 20px; height: 20px; color: var(--navy); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-dark); color: rgba(255,255,255,0.82); padding: 70px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand .logo-badge {
  display: inline-block;
  background: var(--white);
  padding: 12px 18px;
  border-radius: 12px;
  margin-bottom: 18px;
  line-height: 0;
}
.footer-brand img { height: 42px; display: block; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.9rem; max-width: 280px; }
.footer h5 { color: var(--white); font-family: var(--font-body); font-size: 0.92rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 20px; }
.footer ul { display: flex; flex-direction: column; gap: 12px; }
.footer a { color: rgba(255,255,255,0.7); font-size: 0.92rem; transition: color 0.2s ease; }
.footer a:hover { color: var(--white); }
.footer .social-row a { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); }
.footer .social-row svg { color: var(--white); }

.footer-bottom {
  padding: 26px 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}
.footer-bottom .cofepris { color: rgba(255,255,255,0.7); }

/* ---------- Floating buttons ---------- */
.floating-buttons {
  position: fixed;
  right: 22px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 800;
}
.fab {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(0,0,0,0.22);
  transition: transform 0.2s ease;
}
.fab:hover { transform: scale(1.08); }
.fab svg { width: 30px; height: 30px; }
.fab-whatsapp { background: #25D366; color: var(--white); }
.fab-call { background: var(--navy); color: var(--white); width: 52px; height: 52px; align-self: flex-end; }
.fab-call svg { width: 24px; height: 24px; }

.fab-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.55;
  animation: pulse 2.2s ease-out infinite;
  z-index: -1;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* ---------- Instagram widget block ---------- */
.instagram-block {
  text-align: center;
}
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.instagram-grid a {
  display: block;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  background: var(--navy);
}
.instagram-grid img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: opacity 0.2s ease, transform 0.3s ease; }
.instagram-grid a:hover img { opacity: 1; transform: scale(1.06); }
.instagram-grid .ig-icon {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(43,57,144,0.28);
  opacity: 0; transition: opacity 0.2s ease;
}
.instagram-grid a:hover .ig-icon { opacity: 1; }
.instagram-grid .ig-icon svg { width: 30px; height: 30px; color: var(--white); }

/* ---------- Gallery carousel (drag/swipe) ---------- */
.gallery-carousel { position: relative; }
.gallery-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  padding: 4px 4px 20px;
  margin: 0 -4px;
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track.is-dragging { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; }
.gallery-track.is-dragging .gallery-item { pointer-events: none; }
.gallery-item {
  flex: 0 0 auto;
  width: 320px;
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  user-select: none;
  -webkit-user-drag: none;
}
.gallery-item img { width: 100%; height: 240px; object-fit: cover; display: block; pointer-events: none; }
.gallery-hint {
  display: flex; align-items: center; gap: 8px;
  justify-content: center;
  color: var(--gray-muted); font-size: 0.85rem;
  margin-top: 4px;
}
.gallery-hint svg { width: 18px; height: 18px; }

/* ---------- Testimonials marquee ---------- */
.marquee-wrap { display: flex; flex-direction: column; gap: 22px; overflow: hidden; }
.marquee-row {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee-left 46s linear infinite;
}
.marquee-row.reverse { animation-name: marquee-right; }
.marquee-row:hover { animation-play-state: paused; }
.marquee-row .testimonial-card { width: 340px; flex-shrink: 0; }
@keyframes marquee-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes marquee-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-row { animation: none; }
  .marquee-wrap { overflow-x: auto; }
}

/* ---------- Photo mosaic ---------- */
.photo-mosaic {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: repeat(2, 220px);
  gap: 16px;
}
.photo-mosaic img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}
.photo-mosaic .m1 { grid-row: span 2; }
.photo-mosaic .m4 { grid-column: span 2; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 16px; max-width: 780px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 26px 30px;
  box-shadow: var(--shadow);
}
.faq-item h3 { font-family: var(--font-body); font-size: 1.04rem; color: var(--navy); margin-bottom: 8px; }
.faq-item p { color: var(--gray-muted); margin: 0; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-media { max-width: 460px; margin: 0 auto; order: -1; }
  .two-col { grid-template-columns: 1fr; }
  .two-col.reverse .col-media { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
  :root { --nav-h: 72px; }
  .nav-links { position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: var(--white); flex-direction: column; justify-content: flex-start;
    padding: 40px 32px; gap: 26px; font-size: 1.15rem;
    transform: translateX(100%); transition: transform 0.3s ease; overflow-y: auto; }
  .nav-links.is-open { transform: translateX(0); }
  .nav-actions .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .hero { min-height: auto; padding-bottom: 60px; }
  .section { padding: 64px 0; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .cta-band { padding: 46px 26px; }
  .instagram-grid { grid-template-columns: repeat(2, 1fr); }
  .rating-source { gap: 16px; }
  .diff-item { gap: 14px; }
  .page-header { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 46px; }
  .gallery-item { width: 78vw; }
  .marquee-row .testimonial-card { width: 82vw; }
  .photo-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 160px; }
  .photo-mosaic .m1, .photo-mosaic .m4 { grid-row: span 1; grid-column: span 1; }
}
