/* ============================================
   Marketing Hospitalar - CSS Principal
   Design: Teal + Slate | Tipografia: Poppins
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

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

:root {
  --primary:       #0d9488;
  --primary-dark:  #0f766e;
  --primary-light: #ccfbf1;
  --white:         #ffffff;
  --slate-900:     #0f172a;
  --slate-800:     #1e293b;
  --slate-700:     #334155;
  --slate-600:     #475569;
  --slate-500:     #64748b;
  --slate-400:     #94a3b8;
  --slate-300:     #cbd5e1;
  --slate-200:     #e2e8f0;
  --slate-100:     #f1f5f9;
  --slate-50:      #f8fafc;
  --shadow-sm:     0 1px 2px rgba(0,0,0,.06);
  --shadow:        0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -1px rgba(0,0,0,.05);
  --shadow-md:     0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -2px rgba(0,0,0,.05);
  --shadow-lg:     0 20px 25px -5px rgba(0,0,0,.08), 0 10px 10px -5px rgba(0,0,0,.04);
  --shadow-xl:     0 25px 50px -12px rgba(0,0,0,.15);
  --radius-sm:     8px;
  --radius:        12px;
  --radius-lg:     16px;
  --radius-xl:     24px;
  --radius-2xl:    32px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Tipografia ---- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; color: var(--slate-900); }
h1 { font-size: clamp(2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.text-primary { color: var(--primary); }
.text-muted   { color: var(--slate-500); }
.text-sm      { font-size: .875rem; }
.text-lg      { font-size: 1.125rem; }
.font-medium  { font-weight: 500; }
.font-semibold{ font-weight: 600; }
.font-bold    { font-weight: 700; }

/* ---- Botões ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 2rem;
  font-family: 'Poppins', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  text-decoration: none;
  line-height: 1;
}
.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(13,148,136,.3);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(13,148,136,.4);
}

.btn-outline {
  background: transparent;
  color: var(--slate-700);
  border-color: var(--slate-300);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  box-shadow: var(--shadow);
}
.btn-white:hover { background: var(--slate-50); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--primary);
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
}
.btn-ghost:hover { color: var(--primary-dark); }

/* ---- Badge ---- */
.badge {
  display: inline-block;
  padding: .3rem 1rem;
  background: rgba(13,148,136,.1);
  color: var(--primary);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 999px;
}

/* ---- Section Spacing ---- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.bg-white    { background: var(--white); }
.bg-slate-50 { background: var(--slate-50); }
.bg-slate-900{ background: var(--slate-900); }
.bg-primary  { background: var(--primary); }
.border-bottom { border-bottom: 1px solid var(--slate-200); }
.border-top    { border-top: 1px solid var(--slate-200); }

.text-center { text-align: center; }
.section-header { max-width: 640px; margin: 0 auto 72px; text-align: center; }
.section-header p { margin-top: 1rem; font-size: 1.1rem; color: var(--slate-600); line-height: 1.7; }

/* ---- Card ---- */
.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  transition: box-shadow .3s ease, transform .3s ease;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.card-icon {
  width: 56px; height: 56px;
  background: rgba(13,148,136,.1);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.card-icon svg { color: var(--primary); width: 28px; height: 28px; }

.card h3 { font-size: 1.2rem; margin-bottom: .75rem; }
.card p  { color: var(--slate-600); line-height: 1.7; }

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

/* ---- Flex Utilities ---- */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start  { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* ---- Check List ---- */
.check-list { list-style: none; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .5rem 0;
  color: var(--slate-700);
  font-weight: 500;
}
.check-list li::before {
  content: '';
  width: 22px; height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d9488' stroke-width='2.5'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  transition: box-shadow .2s;
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.navbar-logo img { height: 60px; width: auto; }

.navbar-menu {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-link {
  padding: .5rem .85rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--slate-600);
  border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
}
.nav-link:hover, .nav-link.active { color: var(--primary); }

.navbar-cta { margin-left: 1rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: all .3s ease;
}

.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--slate-200);
  padding: 1rem 0;
}
.mobile-menu.open { display: block; }
.mobile-menu .nav-link {
  display: block;
  padding: .75rem 1.5rem;
  font-size: 1rem;
  border-radius: 0;
}
.mobile-menu .navbar-cta {
  display: block;
  margin: 1rem 1.5rem 0;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  padding: 120px 0 100px;
  background: var(--slate-50);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #e0f7f5 0%, #f0fdfa 40%, #f8fafc 100%);
  z-index: 0;
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.08;
  margin-bottom: 1.5rem;
  font-weight: 800;
  color: var(--slate-900);
}

.hero p {
  font-size: 1.2rem;
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 560px;
}

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  padding: 48px 0;
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}
.trust-bar p {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--slate-400);
  text-align: center;
  margin-bottom: 2rem;
}
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  opacity: .4;
  filter: grayscale(1);
}
.trust-logos span {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--slate-700);
  white-space: nowrap;
}

/* ============================================
   ABOUT TEASER
   ============================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-img-wrap {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.about-img-wrap img { width: 100%; height: 460px; object-fit: cover; }
.about-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,.5), transparent);
}
.about-badge {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-md);
}
.about-badge .num { font-size: 2rem; font-weight: 800; color: var(--primary); display: block; line-height: 1; }
.about-badge .lbl { font-size: .8rem; color: var(--slate-600); font-weight: 500; }

.about-text h2 { margin-bottom: 1.25rem; }
.about-text p  { color: var(--slate-600); line-height: 1.8; margin-bottom: 1rem; font-size: 1.05rem; }
.about-text .check-list { margin: 2rem 0; }

/* ============================================
   SERVICES (CARDS)
   ============================================ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.service-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  transition: box-shadow .3s, transform .3s;
  display: flex; flex-direction: column;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.service-card h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.service-card p   { color: var(--slate-600); font-size: .95rem; line-height: 1.7; flex: 1; margin-bottom: 1.5rem; }
.service-card .features { margin-top: auto; }
.service-card .features-title {
  font-size: .7rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--slate-400); margin-bottom: 1rem;
}
.service-card .feature-item {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .87rem; color: var(--slate-700); padding: .3rem 0;
}
.service-card .feature-item::before {
  content: '';
  width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d9488' stroke-width='2.5'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0; margin-top: 2px;
}

/* ============================================
   PLANS
   ============================================ */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; align-items: start; }

.plan-card {
  background: var(--white);
  border: 2px solid var(--slate-200);
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  position: relative;
  transition: box-shadow .3s;
}
.plan-card:hover { box-shadow: var(--shadow-lg); }

.plan-card.popular {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13,148,136,.1), var(--shadow-xl);
  transform: scale(1.04);
}

.plan-badge-top {
  position: absolute;
  top: -16px; left: 50%; transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: .7rem; font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .4rem 1.5rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(13,148,136,.4);
}

.plan-name { font-size: 1.4rem; margin-bottom: .5rem; }
.plan-desc { font-size: .87rem; color: var(--slate-500); line-height: 1.6; margin-bottom: 2rem; min-height: 60px; }

.plan-price {
  display: flex; align-items: flex-end; gap: .35rem;
  margin-bottom: 2rem; padding-bottom: 2rem;
  border-bottom: 1px solid var(--slate-200);
}
.plan-price .amount { font-size: 2.6rem; font-weight: 800; color: var(--slate-900); line-height: 1; }
.plan-price .period { font-size: .9rem; color: var(--slate-500); font-weight: 500; padding-bottom: .3rem; }

.plan-features { list-style: none; margin-bottom: 2.5rem; flex: 1; }
.plan-features li {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: .6rem 0;
  font-size: .875rem;
  color: var(--slate-700);
  border-bottom: 1px solid var(--slate-100);
}
.plan-features li::before {
  content: '';
  width: 20px; height: 20px;
  flex-shrink: 0; margin-top: 1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d9488' stroke-width='2.5'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}
.plan-btn { display: block; width: 100%; text-align: center; border-radius: var(--radius-lg); padding: .9rem; }

/* ============================================
   BLOG
   ============================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

.post-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--slate-200);
  transition: box-shadow .3s, transform .3s;
  display: flex; flex-direction: column;
}
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.post-card:hover .post-img img { transform: scale(1.05); }

.post-img { position: relative; height: 200px; overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-img-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--slate-100), var(--slate-200)); }

.post-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.post-date { font-size: .75rem; font-weight: 700; color: var(--slate-400); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .75rem; }
.post-title { font-size: 1.05rem; margin-bottom: .75rem; line-height: 1.4; color: var(--slate-900); transition: color .2s; }
.post-card:hover .post-title { color: var(--primary); }
.post-summary { font-size: .875rem; color: var(--slate-600); line-height: 1.65; flex: 1; margin-bottom: 1.25rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-read-more { color: var(--primary); font-size: .87rem; font-weight: 600; display: inline-flex; align-items: center; gap: .3rem; margin-top: auto; }
.post-read-more::after { content: '→'; }

/* Post Single */
.post-single { max-width: 780px; margin: 0 auto; }
.post-single h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1.25rem; }
.post-single .post-meta { display: flex; align-items: center; gap: 1.5rem; color: var(--slate-500); font-size: .9rem; margin-bottom: 2.5rem; }
.post-single .post-img-hero { border-radius: var(--radius-xl); overflow: hidden; margin-bottom: 2.5rem; }
.post-single .post-img-hero img { width: 100%; height: 400px; object-fit: cover; }
.post-content { font-size: 1.05rem; line-height: 1.85; color: var(--slate-700); }
.post-content h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; color: var(--slate-900); }
.post-content p  { margin-bottom: 1.25rem; }
.post-content ul, .post-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.post-content li { margin-bottom: .5rem; list-style: disc; }
.post-content ol li { list-style: decimal; }

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; align-items: start; }

.contact-info {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.contact-info h3 { margin-bottom: 2rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.75rem; }
.contact-icon {
  width: 44px; height: 44px;
  background: rgba(13,148,136,.1);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 22px; height: 22px; color: var(--primary); stroke: var(--primary); }
.contact-item h4 { font-size: .9rem; margin-bottom: .2rem; color: var(--slate-900); }
.contact-item p  { font-size: .875rem; color: var(--slate-600); line-height: 1.5; }

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-md);
}
.contact-form-wrap h3 { margin-bottom: .5rem; }
.contact-form-wrap > p { color: var(--slate-600); margin-bottom: 2.5rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.25rem; }
.form-group label { font-size: .875rem; font-weight: 600; color: var(--slate-700); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .8rem 1rem;
  border: 1.5px solid var(--slate-300);
  border-radius: var(--radius);
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  color: var(--slate-800);
  background: var(--slate-50);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13,148,136,.12);
  background: var(--white);
}
.form-group textarea { min-height: 160px; resize: vertical; }
.form-error { font-size: .8rem; color: #ef4444; margin-top: .25rem; }

.form-submit { width: 100%; padding: 1rem; font-size: 1rem; border-radius: var(--radius); margin-top: .5rem; }

/* Alerts */
.alert { padding: 1rem 1.5rem; border-radius: var(--radius); margin-bottom: 1.5rem; font-weight: 500; font-size: .95rem; }
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.alert-error   { background: #fee2e2; color: #7f1d1d; border: 1px solid #fca5a5; }

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio-case { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-bottom: 100px; }
.portfolio-case:nth-child(even) .case-img { order: 2; }
.portfolio-case:nth-child(even) .case-text { order: 1; }

.case-img { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-xl); }
.case-img img { width: 100%; height: 340px; object-fit: cover; }
.case-category { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: .75rem; display: block; }
.case-text h2  { font-size: 1.5rem; margin-bottom: .5rem; }
.case-text h3  { font-size: 1.1rem; font-weight: 500; color: var(--slate-600); margin-bottom: 1.25rem; }
.case-text p   { color: var(--slate-600); line-height: 1.7; margin-bottom: 2rem; font-size: 1.05rem; }
.case-metrics  { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; padding: 1.5rem 0; border-top: 1px solid var(--slate-200); border-bottom: 1px solid var(--slate-200); }
.case-metric .val { font-size: 1.8rem; font-weight: 800; color: var(--primary); }
.case-metric .lbl { font-size: .78rem; color: var(--slate-500); font-weight: 500; }

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header { padding: 80px 0; background: var(--slate-50); border-bottom: 1px solid var(--slate-200); text-align: center; }
.page-header h1 { margin-bottom: 1rem; }
.page-header p  { color: var(--slate-600); font-size: 1.1rem; max-width: 540px; margin: 0 auto; line-height: 1.7; }

/* ============================================
   STATS SECTION
   ============================================ */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat-item { text-align: center; }
.stat-item .num { font-size: 2.5rem; font-weight: 800; color: var(--primary); display: block; line-height: 1; margin-bottom: .5rem; }
.stat-item .lbl { font-size: .85rem; color: var(--slate-500); font-weight: 500; }

/* ============================================
   VALUES
   ============================================ */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }
.value-item { text-align: center; }
.value-icon {
  width: 64px; height: 64px;
  background: rgba(13,148,136,.15);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}
.value-icon svg { width: 32px; height: 32px; stroke: var(--primary); }
.value-item h3 { font-size: 1rem; color: var(--white); margin-bottom: .75rem; }
.value-item p  { font-size: .87rem; color: #94a3b8; line-height: 1.65; }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section { padding: 100px 0; }
.cta-inner { text-align: center; max-width: 720px; margin: 0 auto; }
.cta-inner h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 1.25rem; }
.cta-inner p  { font-size: 1.15rem; margin-bottom: 2.5rem; line-height: 1.7; opacity: .9; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--slate-900);
  color: #94a3b8;
  padding: 72px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand img { height: 48px; margin-bottom: 1.25rem; }
.footer-brand p { font-size: .875rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--white); margin-bottom: 1.25rem; }
.footer-col ul li { margin-bottom: .6rem; }
.footer-col ul li a { font-size: .87rem; color: #94a3b8; transition: color .15s; }
.footer-col ul li a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: .8rem; }
.footer-bottom a { color: var(--primary); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .grid-3, .services-grid, .blog-grid, .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid, .portfolio-case { grid-template-columns: 1fr; gap: 3rem; }
  .portfolio-case:nth-child(even) .case-img,
  .portfolio-case:nth-child(even) .case-text { order: unset; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid  { grid-template-columns: repeat(2, 1fr); }
  .plan-card.popular { transform: scale(1); }
}

@media (max-width: 768px) {
  .hero { padding: 80px 0 72px; }
  .section { padding: 72px 0; }
  .grid-2, .grid-3, .services-grid, .blog-grid, .plans-grid, .values-grid, .stats-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .navbar-menu, .navbar-cta { display: none; }
  .hamburger { display: flex; }

  .hero-btns { flex-direction: column; align-items: flex-start; }
  .hero-btns .btn { width: 100%; justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .case-metrics { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .case-metrics { grid-template-columns: 1fr; gap: .5rem; }
}
