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

:root {
  --primary: #1B1464;
  --primary-light: #2A1F8C;
  --secondary: #00BFA5;
  --secondary-dark: #009B86;
  --accent: #FF6B35;
  --accent-light: #FF8A5C;
  --dark: #0D0A1A;
  --gray-100: #F8F9FA;
  --gray-200: #E9ECEF;
  --gray-300: #DEE2E6;
  --gray-600: #6C757D;
  --gray-800: #343A40;
  --gradient-main: linear-gradient(135deg, #1B1464 0%, #0D0A1A 100%);
  --gradient-accent: linear-gradient(135deg, #FF6B35 0%, #FF8A5C 100%);
  --gradient-teal: linear-gradient(135deg, #00BFA5 0%, #009B86 100%);
  --font-primary: 'Inter', sans-serif;
  --font-display: 'Playfair Display', serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-primary);
  color: var(--gray-800);
  overflow-x: hidden;
  background: #fff;
}

h1, h2, h3, h4, h5, h6 { font-weight: 700; }

.section-padding { padding: 100px 0; }
.section-padding-sm { padding: 60px 0; }

.section-title {
  font-weight: 800;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto 3rem;
}

.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Navbar ── */
.navbar {
  padding: 18px 0;
  transition: all 0.4s ease;
  z-index: 1000;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(27, 20, 100, 0.97);
  padding: 10px 0;
  box-shadow: 0 5px 30px rgba(0,0,0,0.15);
  backdrop-filter: blur(10px);
}

.navbar-brand {
  font-weight: 900;
  font-size: 1.6rem;
  color: #fff !important;
  letter-spacing: -0.5px;
}

.navbar-brand span { color: var(--secondary); }

.navbar .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 16px !important;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--secondary) !important;
}

.navbar .nav-link.active { text-shadow: 0 0 20px rgba(0,191,165,0.3); }

.navbar-toggler {
  border: none;
  padding: 0;
}

.navbar-toggler:focus { box-shadow: none; }

.navbar-toggler .bar {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: #fff;
  transition: all 0.3s;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--gradient-main);
  overflow: hidden;
  padding-top: 140px;
  padding-bottom: 80px;
}

.hero > .container {
  margin-top: auto;
  margin-bottom: auto;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0,191,165,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,107,53,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-block;
  background: rgba(0,191,165,0.15);
  color: var(--secondary);
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
  border: 1px solid rgba(0,191,165,0.2);
}

.hero h1 {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero h1 .highlight {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.7);
  max-width: 540px;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.hero .hero-image {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero .hero-image img {
  max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}

.hero .floating-card {
  position: absolute;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 16px 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  z-index: 3;
}

.hero .floating-card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-right: 14px;
}

.hero .floating-card.card-1 {
  top: 10%;
  right: -10%;
  animation: float 6s ease-in-out infinite;
}

.hero .floating-card.card-2 {
  bottom: 15%;
  left: -15%;
  animation: float 8s ease-in-out infinite 1s;
}

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

/* ── Buttons ── */
.btn {
  padding: 14px 34px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.4s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.85rem;
}

.btn-primary {
  background: var(--gradient-accent);
  border: none;
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255,107,53,0.35);
  color: #fff;
}

.btn-secondary-custom {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.3);
  color: #fff;
}

.btn-secondary-custom:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
  transform: translateY(-3px);
}

.btn-outline-custom {
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--secondary);
}

.btn-outline-custom:hover {
  background: var(--secondary);
  color: #fff;
  transform: translateY(-3px);
}

/* ── Services Cards ── */
.service-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  height: 100%;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(27,20,100,0.1);
  border-color: transparent;
}

.service-card .icon-box {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2rem;
  transition: all 0.5s;
}

.service-card .icon-box.teal { background: rgba(0,191,165,0.12); color: var(--secondary); }
.service-card .icon-box.coral { background: rgba(255,107,53,0.12); color: var(--accent); }
.service-card .icon-box.purple { background: rgba(27,20,100,0.12); color: var(--primary); }

.service-card:hover .icon-box { transform: scale(1.1) rotate(5deg); }

.service-card h4 {
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--primary);
}

.service-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
}

.service-card .service-link {
  color: var(--secondary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  transition: gap 0.3s;
}

.service-card .service-link:hover { gap: 12px; }

/* ─── Stats ─── */
.stats-section {
  background: var(--gradient-main);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></svg>') repeat;
  background-size: 100px 100px;
}

.stat-item { position: relative; z-index: 2; }

.stat-item .stat-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item .stat-label {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ─── About Section ─── */
.about-section .about-image {
  position: relative;
}

.about-section .about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.about-section .experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gradient-accent);
  color: #fff;
  border-radius: 20px;
  padding: 24px 32px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(255,107,53,0.3);
}

.about-section .experience-badge .number {
  font-size: 2.5rem;
  font-weight: 900;
  display: block;
  line-height: 1;
}

.about-section .experience-badge .label {
  font-size: 0.85rem;
  opacity: 0.9;
}

/* ─── Testimonials ─── */
.testimonial-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  border: 1px solid var(--gray-200);
  transition: all 0.4s;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(27,20,100,0.08);
}

.testimonial-card .quote-icon {
  color: var(--secondary);
  font-size: 2rem;
  margin-bottom: 16px;
  opacity: 0.3;
}

.testimonial-card p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-600);
  font-style: italic;
}

.testimonial-card .client-info {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.testimonial-card .client-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card .client-name {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
}

.testimonial-card .client-role {
  font-size: 0.85rem;
  color: var(--gray-600);
}

/* ─── CTA ─── */
.cta-section {
  background: var(--gradient-accent);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-section h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
}

.cta-section p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-section .btn-cta {
  background: #fff;
  color: var(--accent);
  border: none;
}

.cta-section .btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
  color: var(--accent);
}

/* ─── Footer ─── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}

.footer h5 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 24px;
  font-size: 1.1rem;
}

.footer a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: all 0.3s;
  line-height: 2.2;
}

.footer a:hover { color: var(--secondary); padding-left: 4px; }

.footer .social-links a {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  margin-right: 8px;
  transition: all 0.4s;
}

.footer .social-links a:hover {
  background: var(--secondary);
  color: #fff;
  transform: translateY(-3px);
  padding-left: 0;
}

.footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  margin-top: 60px;
}

.footer .footer-brand {
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
}

.footer .footer-brand span { color: var(--secondary); }

.footer .contact-info li {
  list-style: none;
  margin-bottom: 14px;
  display: flex;
  gap: 12px;
}

.footer .contact-info li i {
  color: var(--secondary);
  margin-top: 4px;
  min-width: 18px;
}

/* ─── Page Header ─── */
.page-header {
  background: var(--gradient-main);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-header h1 {
  color: #fff;
  font-size: 3rem;
  font-weight: 900;
}

.page-header .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 12px 0 0;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

.page-header .breadcrumb-item.active { color: var(--secondary); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.3); }

/* ─── Service Detail ─── */
.service-detail .service-icon-large {
  width: 100px;
  height: 100px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.feature-list { list-style: none; padding: 0; }

.feature-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
}

.feature-list li i {
  color: var(--secondary);
  font-size: 1.2rem;
}

/* ─── Contact ─── */
.contact-info-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px;
  border: 1px solid var(--gray-200);
  transition: all 0.4s;
  height: 100%;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(27,20,100,0.08);
}

.contact-info-card .icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.contact-info-card h5 { color: var(--primary); }
.contact-info-card p { color: var(--gray-600); }

.contact-form-wrapper {
  background: #fff;
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 20px 60px rgba(27,20,100,0.08);
  border: 1px solid var(--gray-200);
}

.contact-form-wrapper .form-control {
  padding: 14px 18px;
  border-radius: 12px;
  border: 2px solid var(--gray-200);
  font-size: 0.95rem;
  transition: all 0.3s;
}

.contact-form-wrapper .form-control:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(0,191,165,0.1);
}

.contact-form-wrapper .form-control.is-invalid {
  border-color: #dc3545;
}

.contact-form-wrapper textarea.form-control { min-height: 140px; resize: vertical; }

/* ─── Gallery ─── */
.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  margin-bottom: 30px;
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: all 0.6s;
}

.gallery-item:hover img { transform: scale(1.1); }

.gallery-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(27,20,100,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s;
}

.gallery-item:hover .overlay { opacity: 1; }

.gallery-item .overlay i {
  color: #fff;
  font-size: 2.5rem;
}

/* ─── Team ─── */
.team-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all 0.4s;
  text-align: center;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(27,20,100,0.1);
}

.team-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.team-card .team-info { padding: 24px; }

.team-card .team-info h5 {
  color: var(--primary);
  margin-bottom: 4px;
}

.team-card .team-info span {
  color: var(--secondary);
  font-weight: 500;
  font-size: 0.9rem;
}

.team-card .team-info p {
  color: var(--gray-600);
  font-size: 0.9rem;
  margin-top: 12px;
}

/* ─── Process Steps ─── */
.process-step {
  text-align: center;
  position: relative;
}

.process-step .step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 auto 20px;
}

.process-step h5 { color: var(--primary); margin-bottom: 10px; }
.process-step p { color: var(--gray-600); font-size: 0.9rem; }

.process-connector {
  position: absolute;
  top: 30px;
  right: -30px;
  width: 60px;
  height: 2px;
  background: var(--gray-300);
}

/* ─── Values ─── */
.value-item {
  text-align: center;
  padding: 30px 20px;
}

.value-item .value-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}

.value-item h5 { color: var(--primary); }
.value-item p { color: var(--gray-600); font-size: 0.9rem; }

/* ─── Products / Pricing ─── */
.product-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: all 0.4s;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(27,20,100,0.08);
}

.product-card .product-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.product-card h5 { color: var(--primary); }
.product-card p { color: var(--gray-600); font-size: 0.9rem; }

/* ─── WhatsApp Button ─── */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  text-decoration: none;
  z-index: 999;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.35);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: whatsappPulse 2.5s ease-in-out infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1) rotate(-5deg);
  color: #fff;
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn .whatsapp-tooltip {
  position: absolute;
  right: 68px;
  background: #fff;
  color: #1a1a2e;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  pointer-events: none;
}

.whatsapp-btn .whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 6px solid #fff;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.whatsapp-btn:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  right: 72px;
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 8px 30px rgba(37, 211, 102, 0.35); }
  50% { box-shadow: 0 8px 50px rgba(37, 211, 102, 0.6); }
}

/* ─── Back to Top ─── */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s;
  z-index: 999;
  box-shadow: 0 10px 30px rgba(255,107,53,0.3);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  color: #fff;
}

/* ─── Animations ─── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ─── */
@media (max-width: 1199.98px) {
  .hero h1 { font-size: 3.2rem; }
  .hero .floating-card { display: none; }
}

@media (max-width: 991.98px) {
  .section-padding { padding: 70px 0; }
  .hero { min-height: auto; padding: 140px 0 80px; }
  .hero h1 { font-size: 2.8rem; }
  .hero .hero-image { margin-top: 50px; }
  .stat-item .stat-number { font-size: 2.8rem; }
  .page-header { padding: 130px 0 60px; }
  .page-header h1 { font-size: 2.2rem; }
  .process-connector { display: none; }

  .navbar .dropdown-menu {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    margin-top: 8px;
  }
  .navbar .dropdown-menu .dropdown-item {
    color: rgba(255,255,255,0.85);
    padding: 10px 20px;
  }
  .navbar .dropdown-menu .dropdown-item:hover,
  .navbar .dropdown-menu .dropdown-item:focus {
    background: rgba(0,191,165,0.15);
    color: var(--secondary);
  }
  .navbar .dropdown-menu .dropdown-divider {
    border-top-color: rgba(255,255,255,0.1);
  }
}

@media (max-width: 767.98px) {
  .section-padding { padding: 50px 0; }
  .section-title { font-size: 1.8rem; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  .hero { padding: 120px 0 60px; }
  .stat-item .stat-number { font-size: 2.2rem; }
  .stat-item { margin-bottom: 30px; }
  .cta-section h2 { font-size: 1.8rem; }
  .contact-form-wrapper { padding: 30px 20px; }
  .about-section .experience-badge { position: relative; bottom: 0; right: 0; margin-top: 20px; }
  .page-header h1 { font-size: 1.8rem; }
  .team-card img { height: 250px; }
  .gallery-item img { height: 220px; }
  .footer { padding: 50px 0 0; }

  .whatsapp-btn { width: 48px; height: 48px; font-size: 1.3rem; bottom: 20px; left: 20px; }
  .whatsapp-btn .whatsapp-tooltip { display: none; }
  .back-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; font-size: 1rem; }
}

@media (max-width: 575.98px) {
  .hero h1 { font-size: 1.6rem; }
  .navbar-brand { font-size: 1.2rem; }
  .hero-badge { font-size: 0.75rem; padding: 6px 16px; }
  .section-title { font-size: 1.5rem; }
  .section-subtitle { font-size: 0.95rem; }
  .page-header h1 { font-size: 1.5rem; }
  .page-header { padding: 110px 0 50px; }
  .stat-item .stat-number { font-size: 1.8rem; }
  .btn { padding: 11px 24px; font-size: 0.8rem; }
  .service-card { padding: 28px 20px; }
  .gallery-item img { height: 180px; }
  .team-card img { height: 200px; }
  .footer .footer-brand { font-size: 1.4rem; }
  .contact-form-wrapper { padding: 20px 16px; }
  .hero { padding: 100px 0 50px; }
  .hero h1 { line-height: 1.2; }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 1.4rem; }
  .stat-item .stat-number { font-size: 1.5rem; }
  .service-card .icon-box { width: 60px; height: 60px; font-size: 1.5rem; }
}

/* ─── Table Responsive ─── */
.table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-wrapper table { min-width: 500px; }

#mainContent { scroll-margin-top: 80px; }

@media (max-width: 575.98px) {
  .table-wrapper table { min-width: 400px; }
}

/* ─── Alert / Status ─── */
.alert-success-custom {
  background: rgba(0,191,165,0.1);
  border: 1px solid var(--secondary);
  color: var(--secondary-dark);
  border-radius: 12px;
  padding: 20px;
}

.alert-danger-custom {
  background: rgba(255,107,53,0.1);
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 12px;
  padding: 20px;
}
