/* ============================================================
   Clínica Dental Sarrià — Web Corporativa Demo (1.500€)
   Premium medical blue · Multipage shared stylesheet
   ============================================================ */

:root {
  --blue: #0369a1; --blue-dark: #075985; --blue-light: #e0f2fe; --blue-glow: rgba(3,105,161,0.15);
  --warm-bg: #faf9f7; --white: #ffffff; --dark: #0f172a; --text: #334155; --text-light: #64748b; --text-lighter: #94a3b8; --border: #e2e8f0;
  --font-display: 'Playfair Display', Georgia, serif; --font-body: 'DM Sans', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { font-family: var(--font-body); color: var(--text); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; background: var(--white); }
img { max-width: 100%; display: block; } a { text-decoration: none; color: inherit; } button { cursor: pointer; border: none; background: none; font-family: inherit; } ul { list-style: none; }
.container { width: 90%; max-width: 1100px; margin: 0 auto; }

/* ── Demo Banner ── */
.demo-banner { background: var(--dark); color: #e2e8f0; text-align: center; padding: 10px 20px; font-size: 0.8rem; z-index: 1001; position: relative; }
.demo-banner a { color: var(--blue-light); text-decoration: underline; font-weight: 600; }

/* ── Navbar ── */
.navbar { position: fixed; top: 38px; left: 0; width: 100%; z-index: 1000; padding: 0 5%; height: 68px; display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,0.95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(0,0,0,0.05); }
.logo { font-family: var(--font-display); font-size: 1.2rem; color: var(--dark); font-weight: 600; }
.logo span { color: var(--blue); }
.nav-links { display: flex; gap: 24px; }
.nav-links a { font-size: 0.85rem; font-weight: 500; color: var(--text-light); transition: color var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-cta { padding: 9px 22px; background: var(--blue); color: white; border-radius: 8px; font-size: 0.85rem; font-weight: 600; transition: all var(--transition); }
.nav-cta:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 4px 16px var(--blue-glow); }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 1001; }
.hamburger span { width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: all 0.3s ease; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-menu { position: fixed; top: 0; right: -100%; width: 100%; height: 100dvh; background: rgba(255,255,255,0.97); backdrop-filter: blur(20px); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 26px; transition: right 0.4s ease; z-index: 999; }
.mobile-menu.open { right: 0; }
.mobile-menu a { font-family: var(--font-display); font-size: 1.4rem; color: var(--dark); opacity: 0; transform: translateY(15px); transition: all 0.3s ease; }
.mobile-menu.open a { opacity: 1; transform: translateY(0); }
.mobile-menu.open a:nth-child(1) { transition-delay: .08s; } .mobile-menu.open a:nth-child(2) { transition-delay: .12s; } .mobile-menu.open a:nth-child(3) { transition-delay: .16s; } .mobile-menu.open a:nth-child(4) { transition-delay: .2s; } .mobile-menu.open a:nth-child(5) { transition-delay: .24s; } .mobile-menu.open a:nth-child(6) { transition-delay: .28s; } .mobile-menu.open a:nth-child(7) { transition-delay: .32s; }
.mobile-cta { background: var(--blue); color: white !important; padding: 12px 32px; border-radius: 8px; font-family: var(--font-body) !important; font-size: 1rem !important; }

/* ── Hero (index only) ── */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: center; overflow: hidden; }
.hero-img { position: absolute; inset: 0; background-size: cover; background-position: center; background-color: #1e3a5f; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,23,42,0.82), rgba(3,105,161,0.65)); }
.hero-content { position: relative; z-index: 2; padding: 140px 5% 80px; max-width: 680px; }
.hero-tag { display: inline-block; padding: 6px 16px; background: rgba(255,255,255,0.12); backdrop-filter: blur(8px); border-radius: 6px; font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.85); margin-bottom: 20px; letter-spacing: .5px; }
.hero-content h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 5.5vw, 3.6rem); color: white; line-height: 1.1; margin-bottom: 20px; font-weight: 600; }
.hero-content h1 em { font-style: italic; color: var(--blue-light); }
.hero-content > p { font-size: clamp(1rem, 2vw, 1.1rem); color: rgba(255,255,255,0.8); margin-bottom: 32px; max-width: 500px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-badges { display: flex; gap: 20px; flex-wrap: wrap; }
.badge-item { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.75); font-size: 0.8rem; }
.badge-item svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── Buttons ── */
.btn-primary { display: inline-flex; align-items: center; padding: 14px 28px; background: var(--blue); color: white; font-weight: 700; font-size: 0.92rem; border-radius: 8px; transition: all var(--transition); border: none; cursor: pointer; }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 24px var(--blue-glow); }
.btn-ghost { display: inline-flex; align-items: center; padding: 14px 28px; background: transparent; color: white; font-weight: 600; font-size: 0.92rem; border-radius: 8px; border: 1.5px solid rgba(255,255,255,0.25); transition: all var(--transition); }
.btn-ghost:hover { border-color: white; background: rgba(255,255,255,0.08); }
.btn-outline { display: inline-flex; padding: 12px 28px; border: 1.5px solid var(--blue); color: var(--blue); font-weight: 600; font-size: 0.88rem; border-radius: 8px; transition: all var(--transition); }
.btn-outline:hover { background: var(--blue); color: white; }
.btn-outline-blue { display: block; text-align: center; padding: 12px; border: 1.5px solid var(--blue); color: var(--blue); font-weight: 600; font-size: 0.88rem; border-radius: 8px; transition: all var(--transition); margin-top: 12px; }
.btn-outline-blue:hover { background: var(--blue); color: white; }

/* ── Trust Bar ── */
.trust-bar { background: var(--blue); padding: 28px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.trust-stat strong { display: block; font-size: 1.5rem; font-weight: 800; color: white; line-height: 1.2; }
.trust-stat span { font-size: 0.78rem; color: rgba(255,255,255,0.7); }

/* ── Sections ── */
.section-white { background: var(--white); padding: 80px 0; }
.section-warm { background: var(--warm-bg); padding: 80px 0; }
.section-blue { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); padding: 80px 0; }

.section-header { text-align: center; margin-bottom: 48px; }
.section-tag { display: inline-block; font-size: 0.73rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2.5px; color: var(--blue); margin-bottom: 10px; }
.section-header h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 3.5vw, 2.4rem); color: var(--dark); font-weight: 600; margin-bottom: 12px; line-height: 1.2; }
.section-header h2 em { font-style: italic; color: var(--blue); }
.section-header p { font-size: 0.95rem; color: var(--text-light); max-width: 500px; margin: 0 auto; }
.section-cta { text-align: center; margin-top: 36px; }

/* ── Page Header (subpages) ── */
.page-header { background: var(--dark); padding: 140px 0 56px; text-align: center; }
.page-header .section-tag { color: var(--blue-light); }
.page-header h1 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); color: white; font-weight: 600; margin-bottom: 12px; }
.page-header h1 em { font-style: italic; color: var(--blue-light); }
.page-header p { font-size: 1rem; color: rgba(255,255,255,0.7); max-width: 500px; margin: 0 auto; }

/* ── Parallax ── */
.parallax-divider { height: 50vh; background-attachment: fixed; background-size: cover; background-position: center; position: relative; background-color: #1e3a5f; }
.parallax-overlay { position: absolute; inset: 0; background: rgba(15,23,42,0.5); }
.parallax-content { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 5%; }
.parallax-content p { font-family: var(--font-display); font-size: clamp(1.1rem, 2.5vw, 1.5rem); color: rgba(255,255,255,0.85); font-style: italic; max-width: 600px; }
@media (max-width: 768px) { .parallax-divider { background-attachment: scroll; height: 35vh; } }

/* ── Treatment Cards (index) ── */
.treatments-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.treat-card { border-radius: 14px; overflow: hidden; background: white; border: 1px solid var(--border); transition: all var(--transition); display: flex; flex-direction: column; }
.treat-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.08); }
.treat-img { height: 200px; background-size: cover; background-position: center; position: relative; background-color: #cbd5e1; }
.treat-badge { position: absolute; top: 14px; left: 14px; background: var(--blue); color: white; padding: 4px 12px; border-radius: 6px; font-size: 0.7rem; font-weight: 700; }
.treat-info { padding: 22px; flex-grow: 1; display: flex; flex-direction: column; }
.treat-info h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--dark); margin-bottom: 8px; }
.treat-info p { font-size: 0.85rem; color: var(--text-light); line-height: 1.5; flex-grow: 1; margin-bottom: 12px; }
.treat-link { font-size: 0.82rem; font-weight: 600; color: var(--blue); display: inline-flex; gap: 4px; transition: gap var(--transition); }
.treat-card:hover .treat-link { gap: 8px; }

/* ── Treatment Detail (tratamientos page) ── */
.treat-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 72px; }
.treat-detail.reverse { direction: rtl; }
.treat-detail.reverse > * { direction: ltr; }
.treat-detail-img { height: 350px; border-radius: 14px; background-size: cover; background-position: center; background-color: #cbd5e1; }
.treat-badge-inline { display: inline-block; background: var(--blue-light); color: var(--blue); padding: 4px 14px; border-radius: 6px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 12px; }
.treat-detail-text h2 { font-family: var(--font-display); font-size: 1.8rem; color: var(--dark); font-weight: 600; margin-bottom: 12px; }
.treat-detail-text p { font-size: 0.92rem; color: var(--text-light); line-height: 1.7; margin-bottom: 16px; }
.treat-features { margin-bottom: 24px; }
.treat-features li { padding: 5px 0 5px 24px; position: relative; font-size: 0.88rem; color: var(--text); }
.treat-features li::before { content: '✓'; position: absolute; left: 0; color: var(--blue); font-weight: 700; font-size: 0.82rem; }

/* ── All Treatments Grid ── */
.all-treats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 800px; margin: 0 auto; }
.all-treat-item { display: flex; gap: 12px; padding: 18px; background: white; border-radius: 10px; border: 1px solid var(--border); }
.all-treat-item svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--blue); margin-top: 2px; }
.all-treat-item strong { display: block; font-size: 0.9rem; color: var(--dark); margin-bottom: 2px; }
.all-treat-item p { font-size: 0.8rem; color: var(--text-light); margin: 0; }

/* ── Team Detail (equipo page) ── */
.team-detail { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: center; margin-bottom: 64px; }
.team-detail.reverse { direction: rtl; }
.team-detail.reverse > * { direction: ltr; }
.team-detail-photo { height: 400px; border-radius: 14px; background-size: cover; background-position: center top; background-color: #cbd5e1; }
.team-role-tag { display: inline-block; background: var(--blue-light); color: var(--blue); padding: 4px 14px; border-radius: 6px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 10px; }
.team-detail-text h2 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; color: var(--dark); margin-bottom: 4px; }
.team-col { font-size: 0.8rem; color: var(--blue); font-weight: 600; margin-bottom: 14px; }
.team-detail-text > p { font-size: 0.92rem; color: var(--text-light); line-height: 1.7; margin-bottom: 16px; }
.team-specialties { display: flex; flex-wrap: wrap; gap: 8px; }
.team-specialties li { padding: 6px 14px; background: var(--blue-light); color: var(--blue); border-radius: 50px; font-size: 0.78rem; font-weight: 600; }

/* ── Clinic Gallery (equipo page) ── */
.clinic-gallery-grid { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; margin-bottom: 36px; }
.gallery-big { border-radius: 14px; background-size: cover; background-position: center; min-height: 300px; background-color: #cbd5e1; grid-row: 1 / 3; }
.gallery-sm { border-radius: 10px; background-size: cover; background-position: center; background-color: #cbd5e1; }
.clinic-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cf-item { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--text); padding: 12px 16px; background: white; border-radius: 8px; border: 1px solid var(--border); }
.cf-item svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--blue); }

/* ── Testimonials ── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial-card { padding: 26px; border-radius: 14px; background: white; border: 1px solid var(--border); transition: all var(--transition); }
.testimonial-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.04); }
.stars { color: #f59e0b; font-size: 0.82rem; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-card > p { font-size: 0.88rem; color: var(--text); line-height: 1.6; margin-bottom: 16px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.author-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: white; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; }
.testimonial-author strong { display: block; font-size: 0.82rem; color: var(--dark); }
.testimonial-author small { font-size: 0.7rem; color: var(--text-lighter); }

/* ── Blog Cards Large (blog page) ── */
.blog-list { display: flex; flex-direction: column; gap: 32px; }
.blog-card-lg { display: grid; grid-template-columns: 1fr 1.5fr; border-radius: 14px; overflow: hidden; background: white; border: 1px solid var(--border); transition: all var(--transition); }
.blog-card-lg:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.06); }
.blog-lg-img { min-height: 280px; background-size: cover; background-position: center; position: relative; background-color: #cbd5e1; }
.blog-cat { position: absolute; bottom: 14px; left: 14px; background: var(--blue); color: white; padding: 3px 10px; border-radius: 4px; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.blog-lg-info { padding: 32px; display: flex; flex-direction: column; }
.blog-lg-info time { font-size: 0.75rem; color: var(--text-lighter); margin-bottom: 8px; }
.blog-lg-info h2 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--dark); margin-bottom: 12px; line-height: 1.3; }
.blog-lg-info p { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; margin-bottom: 8px; }
.blog-author { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); }
.blog-author strong { font-size: 0.82rem; color: var(--dark); }
.blog-author span { font-size: 0.75rem; color: var(--text-lighter); display: block; }
.blog-note { text-align: center; margin-top: 40px; padding: 20px; background: var(--blue-light); border-radius: 10px; font-size: 0.85rem; color: var(--text-light); }

/* ── Contact Grid (contacto page) ── */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: start; }
.contact-form { background: var(--warm-bg); border-radius: 14px; padding: 32px; border: 1px solid var(--border); }
.contact-form h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--dark); margin-bottom: 22px; text-align: center; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; font-size: 0.78rem; color: var(--text); margin-bottom: 5px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 11px 14px; background: white; border: 1px solid var(--border); border-radius: 8px; font-family: var(--font-body); font-size: 0.88rem; color: var(--text); outline: none; transition: all var(--transition); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-glow); }
.contact-form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.contact-form textarea { resize: vertical; min-height: 80px; }
.btn-submit { width: 100%; padding: 13px; background: var(--blue); color: white; font-weight: 700; font-size: 0.92rem; border-radius: 8px; border: none; cursor: pointer; transition: all var(--transition); }
.btn-submit:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 6px 20px var(--blue-glow); }
.form-note { text-align: center; margin-top: 10px; font-size: 0.78rem; color: var(--text-lighter); }
.form-success { display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--warm-bg); border-radius: 14px; padding: 44px 32px; gap: 10px; border: 1px solid var(--border); }
.form-success svg { width: 52px; height: 52px; color: var(--blue); }
.form-success h3 { font-family: var(--font-display); font-size: 1.4rem; color: var(--dark); }
.form-success p { color: var(--text); } .form-success small { color: var(--text-lighter); font-size: 0.78rem; }

.contact-sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-card { padding: 24px; background: var(--warm-bg); border-radius: 14px; border: 1px solid var(--border); }
.sidebar-card h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--dark); margin-bottom: 16px; }
.sidebar-card p { font-size: 0.85rem; color: var(--text-light); }
.sidebar-item { display: flex; gap: 12px; margin-bottom: 14px; }
.sidebar-item svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--blue); margin-top: 3px; }
.sidebar-item strong { font-size: 0.85rem; color: var(--dark); display: block; }
.sidebar-item small { font-size: 0.78rem; color: var(--text-light); }

/* ── Map ── */
.map-container { max-width: 800px; margin: 0 auto; }
.map-placeholder-lg { aspect-ratio: 16/7; background: linear-gradient(135deg, #e0f2fe, #dbeafe, #bfdbfe); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; border-radius: 14px; text-align: center; }
.map-placeholder-lg svg { width: 48px; height: 48px; color: var(--blue); opacity: 0.4; }
.map-placeholder-lg p { font-size: 0.92rem; color: var(--text-light); }
.map-link { font-size: 0.85rem; font-weight: 600; color: var(--blue); }

/* ── Insurance ── */
.insurance-bar { background: var(--warm-bg); padding: 44px 0; text-align: center; border-top: 1px solid var(--border); }
.insurance-bar h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--dark); margin-bottom: 20px; }
.insurance-logos { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.ins-logo { padding: 10px 24px; background: white; border: 1px solid var(--border); border-radius: 8px; font-weight: 700; font-size: 0.85rem; color: var(--text-light); }
.insurance-bar > .container > p { font-size: 0.78rem; color: var(--text-lighter); }

/* ── CTA Block ── */
.cta-block { text-align: center; max-width: 600px; margin: 0 auto; }
.cta-block h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.2rem); color: white; font-weight: 600; margin-bottom: 14px; }
.cta-block h2 em { font-style: italic; }
.cta-block p { color: rgba(255,255,255,0.8); font-size: 0.95rem; margin-bottom: 28px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ── */
.footer { background: var(--warm-bg); padding: 48px 0 22px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-logo { font-family: var(--font-display); font-size: 1.1rem; color: var(--dark); margin-bottom: 8px; font-weight: 600; }
.footer-logo span { color: var(--blue); }
.footer-brand p { font-size: 0.82rem; color: var(--text-light); max-width: 240px; }
.footer-col h4 { font-size: 0.73rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--dark); margin-bottom: 12px; }
.footer-col a { display: block; font-size: 0.82rem; color: var(--text-light); margin-bottom: 6px; transition: color var(--transition); }
.footer-col a:hover { color: var(--blue); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 16px; text-align: center; font-size: 0.73rem; color: var(--text-lighter); }
.footer-bottom a { color: var(--blue); font-weight: 600; }

/* ── Back to DevEps ── */
.back-to-deveps { position: fixed; bottom: 24px; left: 24px; z-index: 900; display: flex; align-items: center; gap: 6px; padding: 10px 18px; background: var(--dark); color: white; border-radius: 8px; font-size: 0.8rem; font-weight: 600; box-shadow: 0 4px 16px rgba(0,0,0,0.2); transition: all var(--transition); }
.back-to-deveps svg { width: 16px; height: 16px; }
.back-to-deveps:hover { background: #FF6B00; transform: translateY(-2px); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .treatments-preview { grid-template-columns: 1fr; max-width: 450px; margin: 0 auto; }
  .treat-detail, .team-detail, .blog-card-lg { grid-template-columns: 1fr; }
  .treat-detail.reverse, .team-detail.reverse { direction: ltr; }
  .all-treats-grid { grid-template-columns: 1fr; }
  .clinic-gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery-big { grid-row: auto; min-height: 250px; }
  .clinic-features-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .navbar { top: 34px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-badges { flex-direction: column; gap: 8px; }
  .hero-buttons { flex-direction: column; }
  .btn-primary, .btn-ghost { justify-content: center; text-align: center; }
  .insurance-logos { gap: 8px; }
  .ins-logo { padding: 8px 14px; font-size: 0.78rem; }
  .clinic-gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery-big { grid-row: auto; min-height: 200px; }
  .gallery-sm { min-height: 180px; }
  .clinic-features-grid { grid-template-columns: 1fr; }
  .treat-detail-img, .team-detail-photo { height: 250px; }
  .blog-lg-img { min-height: 200px; }
  .demo-banner { font-size: 0.72rem; }
  .back-to-deveps span { display: none; }
  .back-to-deveps { padding: 12px; border-radius: 50%; }
  .page-header { padding: 120px 0 40px; }
}
