/* ==========================================================================
   DESIGN SYSTEM - VETERINARY CLINIC / SAN FRANCISCO (PREMIUM)
   ========================================================================== */

/* Font Families */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette - Premium Corporate veterinary green (oklch-based) */
  --bg-primary: #1e293b;       /* Deep dark blue-slate */
  --bg-secondary: #334155;     /* Dark slate */
  --bg-light: #f8fafc;          /* Off-white background */
  --bg-white: #ffffff;
  
  --text-light: #ffffff;
  --text-muted-light: rgba(248, 250, 252, 0.7);
  --text-dark: #1e293b;
  --text-muted-dark: #64748b;
  
  --primary: #10b981;           /* Emerald Green */
  --primary-hover: #34d399;     /* Bright Light Green */
  --primary-dark: #059669;      /* Deep Forest Green */
  --primary-light: rgba(16, 185, 129, 0.1);
  --accent: #f59e0b;            /* Warm Orange/Amber Alert */
  
  --border-light: #e2e8f0;
  --border-dark: #475569;
  --border-primary: rgba(16, 185, 129, 0.3);
  
  /* Fonts */
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-premium: 0 20px 40px -15px rgba(30, 41, 59, 0.08);
  --shadow-primary: 0 10px 30px -10px rgba(16, 185, 129, 0.3);
}

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

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

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

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

ul {
  list-style: none;
}

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

/* Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-dark);
  color: white;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  padding: 1rem 2rem;
  border: 1px solid var(--primary-dark);
  border-radius: 8px;
  cursor: pointer;
  box-shadow: var(--shadow-primary);
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--text-light);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  padding: 1rem 2rem;
  border: 1.5px solid var(--primary);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-outline:hover {
  background-color: var(--primary-light);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Demo Top Bar */
.demo-topbar {
  background-color: var(--bg-primary);
  color: var(--text-muted-light);
  font-size: 0.75rem;
  text-align: center;
  padding: 0.6rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 2px solid var(--primary);
  position: relative;
  z-index: 110;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-premium);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--bg-primary);
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}

.logo span {
  color: var(--primary-dark);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted-dark);
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition-smooth);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION (HIGH FIDELITY)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 0 6rem;
  overflow: hidden;
  color: var(--text-light);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(30, 41, 59, 0.75) 100%);
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero-content {
  max-width: 700px;
}

.hero-label-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-label-line {
  width: 30px;
  height: 2px;
  background-color: var(--primary);
}

.hero-label {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
}

.hero-title {
  font-family: var(--font-title);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.hero-title span {
  color: var(--primary);
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted-light);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.hero-badges {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted-light);
}

.hero-badge svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* ==========================================================================
   RECOGNITION BAR
   ========================================================================== */
.recognition-bar {
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border-light);
  padding: 2.5rem 0;
  position: relative;
  z-index: 10;
}

.recognition-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.rec-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.rec-icon {
  width: 44px;
  height: 44px;
  background-color: var(--bg-white);
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(30, 41, 59, 0.04);
  border: 1px solid var(--border-light);
}

.rec-content {
  display: flex;
  flex-direction: column;
}

.rec-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.rec-sub {
  font-size: 0.75rem;
  color: var(--text-muted-dark);
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
  padding: 7rem 0;
  background-color: var(--bg-white);
}

.section-hdr {
  display: flex;
  flex-direction: column;
  margin-bottom: 4rem;
}

.section-label-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.section-label-line {
  width: 30px;
  height: 2px;
  background-color: var(--primary);
}

.section-label {
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.section-title {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.service-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  background-color: var(--bg-white);
  box-shadow: var(--shadow-premium);
}

.service-icon-box {
  width: 52px;
  height: 52px;
  background-color: var(--bg-white);
  color: var(--primary-dark);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  transition: var(--transition-smooth);
  border: 1px solid var(--border-light);
}

.service-card:hover .service-icon-box {
  background-color: var(--primary-dark);
  color: white;
  border-color: var(--primary-dark);
}

.service-card-title {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-muted-dark);
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1.5rem;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}

.service-feature-item svg {
  color: var(--primary-dark);
  flex-shrink: 0;
}

/* ==========================================================================
   ABOUT SECTION (HIGH FIDELITY WITH IMAGES)
   ========================================================================== */
.about-section {
  background-color: var(--bg-primary);
  color: var(--text-light);
  padding: 7.5rem 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 5rem;
  align-items: center;
}

.about-p1 {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-muted-light);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.about-p2 {
  font-size: 1rem;
  color: var(--text-muted-light);
  margin-bottom: 2rem;
}

.about-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.about-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.about-list-item svg {
  color: var(--primary);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.about-list-item span {
  font-size: 0.95rem;
  color: var(--text-light);
}

.about-img-box {
  position: relative;
}

.about-img-frame {
  border: 1px solid var(--border-dark);
  padding: 0.75rem;
  background-color: var(--bg-secondary);
  border-radius: 20px;
  position: relative;
  z-index: 5;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.about-img-frame img {
  border-radius: 12px;
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-img-decoration {
  position: absolute;
  width: 90%;
  height: 90%;
  border: 2px dashed var(--primary);
  border-radius: 20px;
  bottom: -25px;
  right: -25px;
  z-index: 1;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.cases-section {
  padding: 7rem 0;
  background-color: var(--bg-light);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.case-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-premium);
  border-color: var(--primary);
}

.case-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.case-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-title);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.case-author {
  display: flex;
  flex-direction: column;
}

.case-name {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.case-role {
  font-size: 0.75rem;
  color: var(--text-muted-dark);
}

.case-rating {
  color: #f59e0b;
  display: flex;
  gap: 3px;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.case-quote {
  font-size: 0.9rem;
  color: var(--text-muted-dark);
  font-style: italic;
  line-height: 1.6;
}

/* ==========================================================================
   DOCTORS / TEAM SECTION (HIGH FIDELITY IMAGE PORTRAITS)
   ========================================================================== */
.team-section {
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 7rem 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.team-card {
  text-align: center;
  background-color: var(--bg-light);
  padding: 2.5rem 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

.team-card:hover {
  border-color: var(--primary);
  background-color: var(--bg-white);
  box-shadow: var(--shadow-premium);
  transform: translateY(-5px);
}

.team-img-wrapper {
  margin: 0 auto 1.5rem;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 4px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 20px rgba(30, 41, 59, 0.05);
}

.team-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card:hover .team-img-wrapper {
  border-color: var(--primary);
  transform: scale(1.05);
}

.team-name {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}

.team-role {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.team-bio {
  font-size: 0.85rem;
  color: var(--text-muted-dark);
  line-height: 1.5;
  padding: 0 0.5rem;
}

/* ==========================================================================
   PRICING SECTION
   ========================================================================== */
.pricing-section {
  padding: 7rem 0;
  background-color: var(--bg-light);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 4rem 3rem;
  position: relative;
  transition: var(--transition-smooth);
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-premium);
}

.pricing-card.featured::after {
  content: 'RECOMENDADO';
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background-color: var(--primary-dark);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 0.35rem 1rem;
  border-radius: 6px;
}

.plan-name {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.plan-price-box {
  display: flex;
  align-items: baseline;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 2rem;
}

.plan-price {
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-dark);
}

.plan-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted-dark);
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

.plan-feature-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.plan-feature-item svg {
  color: var(--primary-dark);
  flex-shrink: 0;
}

.plan-btn {
  width: 100%;
  display: block;
  text-align: center;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-section {
  background-color: var(--bg-white);
  padding: 7rem 0;
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: var(--primary);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem 2rem;
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-icon {
  font-size: 1rem;
  color: var(--primary-dark);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background-color: var(--bg-light);
}

.faq-answer-content {
  padding: 1.5rem 2rem;
  font-size: 0.9rem;
  color: var(--text-muted-dark);
  line-height: 1.6;
  border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
  padding: 7rem 0;
  background-color: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 5rem;
  align-items: start;
}

.info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.info-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: var(--transition-smooth);
}

.info-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-premium);
}

.info-card-icon {
  width: 48px;
  height: 48px;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.info-card-content {
  display: flex;
  flex-direction: column;
}

.info-card-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-card-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
}

.contact-form-box {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 3.5rem;
  box-shadow: var(--shadow-premium);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted-dark);
}

.form-input {
  padding: 0.95rem 1.25rem;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
  background-color: var(--bg-light);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background-color: var(--text-dark);
  color: #94a3b8;
  padding: 5rem 0 3rem;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 3.5rem;
}

.footer-desc {
  max-width: 340px;
  margin-top: 1.25rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 5rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-col-title {
  font-family: var(--font-title);
  color: white;
  font-size: 1.05rem;
  font-weight: 700;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-list-item a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Modal de Demo Feedback */
.alert-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.alert-modal.open {
  opacity: 1;
  visibility: visible;
}

.alert-content {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 450px;
  width: 90%;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-light);
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.alert-modal.open .alert-content {
  transform: translateY(0);
}

.alert-icon {
  width: 60px;
  height: 60px;
  background-color: #f0fdf4;
  color: #22c55e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.5rem;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.alert-title {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.alert-desc {
  font-size: 0.9rem;
  color: var(--text-muted-dark);
  margin-bottom: 2rem;
  line-height: 1.55;
}

.btn-alert-close {
  background-color: var(--text-dark);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-alert-close:hover {
  background-color: #1e293b;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 991px) {
  .hero {
    min-height: auto;
    padding: 10rem 0 8rem;
  }
  
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  
  .hero-label-wrapper {
    justify-content: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-badges {
    justify-content: center;
  }
  
  .recognition-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .about-img-box {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .cases-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    flex-direction: column;
    padding: 3rem 0;
    gap: 1.75rem;
    border-bottom: 1.5px solid var(--border-light);
    box-shadow: var(--shadow-premium);
    transform: translateY(-110%);
    transition: var(--transition-smooth);
    opacity: 0;
    visibility: hidden;
  }
  
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 768px) {
  .recognition-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .cases-grid {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 3rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 2.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.75rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .contact-form-box {
    padding: 2.5rem 1.75rem;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
}
