/* ============================================================
   DENTISTA EN LAS PALMAS - Estilos Principales
   www.dentistaenlaspalmas.es
   ============================================================ */

/* ---------- Variables ---------- */
:root {
  --primary: #1565C0;
  --primary-dark: #0D47A1;
  --primary-light: #1E88E5;
  --secondary: #00897B;
  --secondary-light: #26A69A;
  --accent: #F57F17;
  --accent-light: #FFA000;
  --white: #FFFFFF;
  --gray-50: #F8F9FA;
  --gray-100: #F1F3F5;
  --gray-200: #E9ECEF;
  --gray-300: #DEE2E6;
  --gray-400: #CED4DA;
  --gray-500: #ADB5BD;
  --gray-600: #6C757D;
  --gray-700: #495057;
  --gray-800: #343A40;
  --gray-900: #212529;
  --dark: #0A1628;
  --text: #2C3E50;
  --text-light: #546E7A;
  --border: #E0E6ED;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.16);
  --shadow-xl: 0 16px 60px rgba(0,0,0,.20);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --transition: all .3s cubic-bezier(.4,0,.2,1);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Poppins', 'Inter', sans-serif;
  --container: 1200px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.2rem;
  color: var(--text-light);
  line-height: 1.8;
}

strong { font-weight: 700; }
em { font-style: italic; }

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

.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 120px 0; }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 640px; margin: 0 auto; color: var(--text-light); font-size: 1.1rem; }

.section-tag {
  display: inline-block;
  background: rgba(21,101,192,.1);
  color: var(--primary);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(21,101,192,.35);
}
.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 8px 24px rgba(21,101,192,.45);
  transform: translateY(-2px);
}
.btn-secondary {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0,137,123,.3);
}
.btn-secondary:hover {
  background: #00766A;
  box-shadow: 0 8px 24px rgba(0,137,123,.4);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.btn-white:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  transform: translateY(-2px);
}
.btn-lg { padding: 18px 40px; font-size: 1.1rem; }
.btn-sm { padding: 10px 24px; font-size: .9rem; }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 32px;
  transition: var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

/* ---------- Badge ---------- */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
}
.badge-primary { background: rgba(21,101,192,.12); color: var(--primary); }
.badge-secondary { background: rgba(0,137,123,.12); color: var(--secondary); }
.badge-accent { background: rgba(245,127,23,.12); color: var(--accent); }

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
  transition: var(--transition);
}
#header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-top {
  background: var(--primary-dark);
  color: rgba(255,255,255,.9);
  font-size: .85rem;
  padding: 8px 0;
}
.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.header-top a { color: inherit; transition: color .2s; }
.header-top a:hover { color: var(--white); }
.header-top-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-top-right { display: flex; gap: 24px; }

.header-main {
  padding: 16px 0;
}
.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-text { line-height: 1.15; }
.logo-text strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
}
.logo-text span {
  display: block;
  font-size: .75rem;
  color: var(--gray-600);
  letter-spacing: .04em;
  font-weight: 500;
}

nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover { background: var(--gray-100); color: var(--primary); }
.nav-link.active { color: var(--primary); font-weight: 600; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > .nav-link::after {
  content: '▾';
  margin-left: 4px;
  font-size: .7rem;
  display: inline-block;
  transition: transform .2s;
}
.nav-dropdown:hover > .nav-link::after { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  min-width: 240px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  z-index: 100;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: .9rem;
  transition: var(--transition);
}
.dropdown-item:hover { background: var(--gray-50); color: var(--primary); }
.dropdown-item svg { flex-shrink: 0; }

.header-cta { display: flex; align-items: center; gap: 12px; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 120px;
  background: linear-gradient(135deg, #0A1628 0%, #1565C0 60%, #0D47A1 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content { color: var(--white); }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.2);
  margin-bottom: 24px;
}
.hero-tag::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #4CAF50;
  border-radius: 50%;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.2); }
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-bottom: 20px;
  line-height: 1.15;
}
.hero h1 em {
  font-style: normal;
  color: #FDD835;
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,.85);
  line-height: 1.8;
  margin-bottom: 32px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #FDD835;
  font-family: var(--font-heading);
}
.hero-stat span {
  font-size: .85rem;
  color: rgba(255,255,255,.75);
}

/* Hero image / visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-img-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, rgba(255,255,255,.15) 0%, rgba(255,255,255,.05) 100%);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* Floating cards in hero */
.hero-float {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 4s ease-in-out infinite;
}
.hero-float-1 { bottom: 24px; left: -32px; animation-delay: 0s; }
.hero-float-2 { top: 32px; right: -24px; animation-delay: 1.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-float-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-float-text strong { display: block; font-size: .95rem; color: var(--dark); }
.hero-float-text span { font-size: .8rem; color: var(--gray-600); }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.trust-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  font-size: .9rem;
  font-weight: 500;
}
.trust-item svg { color: var(--primary); flex-shrink: 0; }

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section { background: var(--gray-50); }

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: rgba(21,101,192,.1);
  color: var(--primary);
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--white);
}
.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.service-card p { color: var(--text-light); font-size: .95rem; margin-bottom: 20px; }
.service-link {
  color: var(--primary);
  font-size: .9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s;
}
.service-link:hover { gap: 10px; }

/* ============================================================
   WHY US SECTION
   ============================================================ */
.why-section {
  background: var(--white);
}
.why-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.why-img-placeholder {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-badge {
  position: absolute;
  bottom: 32px;
  right: -20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.why-badge strong { display: block; font-size: 2.5rem; font-weight: 800; color: var(--primary); }
.why-badge span { font-size: .85rem; color: var(--text-light); }

.why-list { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why-item-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(21,101,192,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.why-item-text h4 { margin-bottom: 4px; }
.why-item-text p { color: var(--text-light); font-size: .95rem; margin: 0; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { background: var(--gray-50); }

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

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: #FFA000;
  font-size: 1.1rem;
}

.testimonial-text {
  color: var(--text-light);
  font-size: .95rem;
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-text::before { content: '"'; }
.testimonial-text::after { content: '"'; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: .95rem; }
.testimonial-author span { font-size: .8rem; color: var(--gray-600); }

/* ============================================================
   TEAM SECTION
   ============================================================ */
.team-section { background: var(--white); }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.team-card {
  text-align: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.team-photo {
  width: 100%;
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--white);
  position: relative;
}

.team-info { padding: 20px; background: var(--white); }
.team-info h4 { margin-bottom: 4px; font-size: 1rem; }
.team-info span { font-size: .85rem; color: var(--text-light); }

/* ============================================================
   BLOG SECTION
   ============================================================ */
.blog-section { background: var(--gray-50); }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.blog-img {
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.blog-content { padding: 24px; }
.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: .8rem;
  color: var(--gray-600);
}
.blog-category {
  background: rgba(21,101,192,.1);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 100px;
  font-weight: 600;
}
.blog-card h3 { font-size: 1.05rem; margin-bottom: 10px; line-height: 1.4; }
.blog-card p { color: var(--text-light); font-size: .9rem; margin-bottom: 16px; }
.blog-link {
  color: var(--primary);
  font-size: .85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(255,255,255,.06) 0%, transparent 70%);
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,.85); font-size: 1.15rem; margin-bottom: 40px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 32px;
}

/* ============================================================
   MAP & CONTACT SECTION
   ============================================================ */
.contact-section { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.contact-info h3 { margin-bottom: 24px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: rgba(21,101,192,.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.contact-detail strong { display: block; font-size: .85rem; color: var(--gray-600); margin-bottom: 2px; }
.contact-detail p { margin: 0; font-size: .95rem; }
.contact-detail a { color: var(--text); transition: color .2s; }
.contact-detail a:hover { color: var(--primary); }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: .9rem; }
.hours-table td:last-child { text-align: right; }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 480px;
  border: none;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.form-section { background: var(--gray-50); }
.form-wrap {
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1/-1; }
.form-group label { font-size: .9rem; font-weight: 600; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(21,101,192,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .85rem;
  color: var(--text-light);
}
.form-check input[type="checkbox"] { flex-shrink: 0; margin-top: 2px; }
.form-check a { color: var(--primary); text-decoration: underline; }
.form-submit { text-align: center; margin-top: 8px; }

/* ============================================================
   PRICES SECTION
   ============================================================ */
.prices-section { background: var(--white); }
.prices-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.price-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
}
.price-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.price-card.featured {
  border-color: var(--primary);
  background: rgba(21,101,192,.03);
}
.price-card-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.price-card h3 { margin-bottom: 8px; }
.price-card .price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
  margin: 16px 0;
}
.price-card .price span { font-size: 1rem; font-weight: 400; color: var(--gray-600); }
.price-features { margin: 20px 0; display: flex; flex-direction: column; gap: 10px; }
.price-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: var(--text-light);
}
.price-feature svg { color: var(--secondary); flex-shrink: 0; }

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section { background: var(--gray-50); }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: background .2s;
}
.faq-question:hover { background: var(--gray-50); }
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(21,101,192,.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .3s, background .2s;
  font-size: 1.2rem;
  font-weight: 700;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--primary); color: var(--white); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-light);
  line-height: 1.8;
  font-size: .95rem;
}

/* ============================================================
   EMERGENCY STRIP
   ============================================================ */
.emergency-strip {
  background: linear-gradient(90deg, #D32F2F 0%, #E53935 100%);
  color: var(--white);
  padding: 20px 0;
}
.emergency-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.emergency-text { font-size: 1.05rem; font-weight: 600; }
.emergency-text span { opacity: .85; font-weight: 400; font-size: .9rem; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.8);
}
.footer-main {
  padding: 72px 0 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}
.footer-brand .logo-text strong,
.footer-brand .logo-text span { color: var(--white); }
.footer-brand p {
  margin-top: 20px;
  font-size: .9rem;
  line-height: 1.8;
  opacity: .75;
}
.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background .2s;
}
.footer-social a:hover { background: var(--primary); }

.footer-col h5 {
  color: var(--white);
  font-size: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 700;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-links a {
  font-size: .9rem;
  opacity: .75;
  transition: opacity .2s, color .2s;
}
.footer-links a:hover { opacity: 1; color: var(--white); }

.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact-item svg { flex-shrink: 0; opacity: .6; margin-top: 2px; }
.footer-contact-item a { font-size: .9rem; opacity: .75; transition: opacity .2s; }
.footer-contact-item a:hover { opacity: 1; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: .85rem; opacity: .6; margin: 0; }
.footer-legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-legal a {
  font-size: .85rem;
  opacity: .6;
  transition: opacity .2s;
}
.footer-legal a:hover { opacity: 1; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 140px 0 80px;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,.85); font-size: 1.15rem; max-width: 640px; margin: 0 auto; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  margin-bottom: 20px;
  justify-content: center;
  color: rgba(255,255,255,.7);
}
.breadcrumb a { color: inherit; transition: color .2s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { opacity: .6; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 900;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  color: var(--white);
  padding: 20px 0;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform .4s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner p { font-size: .9rem; opacity: .85; margin: 0; }
.cookie-banner a { color: #64B5F6; text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-btn {
  padding: 10px 24px;
  border-radius: 100px;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.cookie-accept { background: var(--primary); color: var(--white); border: none; }
.cookie-accept:hover { background: var(--primary-dark); }
.cookie-reject { background: transparent; color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.3); }
.cookie-reject:hover { border-color: var(--white); color: var(--white); }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }
.text-white { color: var(--white); }
.text-muted { color: var(--text-light); }
.bg-primary { background: var(--primary); }
.bg-light { background: var(--gray-50); }
.bg-white { background: var(--white); }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.hidden { display: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-32px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(32px); }
  to { opacity: 1; transform: translateX(0); }
}

[data-animate] {
  opacity: 0;
  transition: opacity .6s ease, transform .6s ease;
}
[data-animate="up"] { transform: translateY(32px); }
[data-animate="left"] { transform: translateX(-32px); }
[data-animate="right"] { transform: translateX(32px); }
[data-animate].animated { opacity: 1; transform: translate(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-stats { justify-content: center; }
  .hero-actions { justify-content: center; }
  .why-section .container { grid-template-columns: 1fr; }
  .why-img-wrap { max-width: 480px; margin: 0 auto; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .prices-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .form-wrap { padding: 32px 24px; }
  nav { display: none; }
  nav.open { display: flex; flex-direction: column; position: fixed; inset: 0; background: var(--white); z-index: 999; padding: 100px 24px 40px; gap: 0; overflow-y: auto; }
  nav.open .nav-link { padding: 16px 8px; font-size: 1.1rem; border-bottom: 1px solid var(--border); width: 100%; }
  nav.open .dropdown-menu { position: static; box-shadow: none; border: none; opacity: 1; visibility: visible; transform: none; padding: 0 0 0 16px; }
  .menu-toggle { display: flex; }
  .header-top-right { display: none; }
  .hero h1 { font-size: 2rem; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .hero-stat strong { font-size: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .emergency-strip .container { flex-direction: column; text-align: center; }
  .trust-bar .container { gap: 24px; }
  .header-cta .btn:first-child { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats .hero-stat:last-child { grid-column: 1/-1; }
  .cta-actions { flex-direction: column; align-items: center; }
}
