/* =============================================
   Visita Home Healthcare — Main Stylesheet
   ============================================= */

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

:root {
  --primary:     #1a6b8a;
  --primary-dk:  #124d64;
  --secondary:   #2eb8a6;
  --accent:      #f97316;
  --accent-dk:   #ea6707;
  --bg-light:    #f0f7fa;
  --bg-white:    #ffffff;
  --text-dark:   #1e293b;
  --text-mid:    #475569;
  --text-light:  #94a3b8;
  --border:      #e2e8f0;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:   0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg:   0 10px 15px rgba(0,0,0,.08), 0 4px 6px rgba(0,0,0,.05);
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --transition:  .25s ease;
  --font-main:   'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Utility ---------- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-tag {
  display: inline-block;
  background: rgba(26,107,138,.12);
  color: var(--primary);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 580px;
}

.section-sub.center { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249,115,22,.35);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
}

.btn-secondary {
  background: var(--primary);
  color: #fff;
}
.btn-secondary:hover {
  background: var(--primary-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,107,138,.35);
}

/* ---------- Top Bar ---------- */
.top-bar {
  background: var(--primary-dk);
  color: rgba(255,255,255,.85);
  font-size: .82rem;
  padding: 8px 0;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-bar a {
  color: #fff;
  font-weight: 600;
  transition: opacity var(--transition);
}
.top-bar a:hover { opacity: .8; }

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ---------- Header / Nav ---------- */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1160px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
}

.nav-logo-text .brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}
.nav-logo-text .brand-tagline {
  font-size: .72rem;
  color: var(--text-mid);
  font-weight: 500;
  letter-spacing: .02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: all var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: rgba(26,107,138,.07);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 700;
  font-size: .92rem;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--primary);
  transition: all var(--transition);
}
.nav-phone:hover {
  background: var(--primary);
  color: #fff;
}
.nav-phone svg { width: 16px; height: 16px; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: transparent;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---------- Hero ---------- */
#hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.pexels.com/photos/3985163/pexels-photo-3985163.jpeg?auto=compress&cs=tinysrgb&w=1600&h=900&dpr=1');
  background-size: cover;
  background-position: center 30%;
  filter: brightness(.55);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(18,77,100,.85) 0%,
    rgba(26,107,138,.6) 55%,
    rgba(46,184,166,.25) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 80px 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary);
  animation: pulse 2s infinite;
}

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

.hero-title {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 22px;
  letter-spacing: -.02em;
}

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

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: rgba(255,255,255,.88);
  margin-bottom: 36px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: left;
}

.hero-stat-number {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.hero-stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.7);
  font-weight: 500;
  margin-top: 2px;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.6);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero-scroll svg {
  width: 20px;
  height: 20px;
  stroke: rgba(255,255,255,.6);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.trust-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-mid);
}

.trust-item svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
  flex-shrink: 0;
}

/* ---------- About / Intro ---------- */
#about {
  padding: 100px 0;
  background: var(--bg-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

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

.about-img-main {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-img-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 190px;
}

.about-img-badge-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-img-badge-icon svg {
  width: 24px;
  height: 24px;
  stroke: #fff;
  fill: none;
}

.about-img-badge-text strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.about-img-badge-text span {
  font-size: .75rem;
  color: var(--text-mid);
  font-weight: 500;
}

.about-content .section-sub { max-width: 100%; margin-bottom: 24px; }

.about-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.about-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .95rem;
  color: var(--text-dark);
  font-weight: 500;
}

.about-list-item svg {
  width: 20px;
  height: 20px;
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.chap-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-top: 24px;
}

.chap-badge img {
  height: 56px;
  object-fit: contain;
}

.chap-badge-text {
  font-size: .82rem;
  color: var(--text-mid);
  line-height: 1.5;
}

.chap-badge-text strong {
  display: block;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 2px;
}

/* ---------- Services ---------- */
#services {
  padding: 100px 0;
  background: var(--bg-white);
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

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

.service-card-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.service-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-icon {
  width: 46px;
  height: 46px;
  background: rgba(26,107,138,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.service-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary);
  fill: none;
}

.service-card-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.service-card-desc {
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.6;
  flex: 1;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--primary);
  transition: gap var(--transition);
}

.service-card-link:hover { gap: 10px; }
.service-card-link svg { width: 16px; height: 16px; stroke: currentColor; }

/* ---------- CTA Banner ---------- */
#cta-banner {
  background: linear-gradient(135deg, var(--primary-dk) 0%, var(--primary) 60%, var(--secondary) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

#cta-banner::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.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-text .section-title { color: #fff; margin-bottom: 10px; }
.cta-text p { color: rgba(255,255,255,.82); font-size: 1.05rem; }
.cta-text .section-tag { background: rgba(255,255,255,.2); color: #fff; }

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* ---------- Why Choose Us ---------- */
#why-us {
  padding: 100px 0;
  background: var(--bg-light);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

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

.why-img-main {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.why-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-feature-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: #fff;
  fill: none;
}

.why-feature-body h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.why-feature-body p {
  font-size: .88rem;
  color: var(--text-mid);
  line-height: 1.55;
}

/* ---------- Testimonials ---------- */
#testimonials {
  padding: 100px 0;
  background: var(--bg-white);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 56px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.testimonial-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}

.stars {
  display: flex;
  gap: 3px;
}

.stars svg {
  width: 18px;
  height: 18px;
  fill: #f59e0b;
  stroke: none;
}

.testimonial-quote {
  font-size: .95rem;
  color: var(--text-dark);
  line-height: 1.65;
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.testimonial-name {
  font-size: .9rem;
  font-weight: 700;
  color: var(--text-dark);
}

.testimonial-role {
  font-size: .78rem;
  color: var(--text-mid);
}

/* ---------- Contact ---------- */
#contact {
  padding: 100px 0;
  background: var(--bg-light);
}

.contact-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.contact-card:hover {
  box-shadow: var(--shadow-md);
}

.contact-card-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-icon svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
  fill: none;
}

.contact-card-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 5px;
}

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

.contact-card-value a {
  color: var(--primary);
  transition: opacity var(--transition);
}

.contact-card-value a:hover { opacity: .8; }

.contact-form-wrap {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.contact-form-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: .84rem;
  font-weight: 600;
  color: var(--text-mid);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .93rem;
  font-family: var(--font-main);
  color: var(--text-dark);
  background: var(--bg-light);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
}

.form-success {
  display: none;
  background: #dcfce7;
  border: 1px solid #86efac;
  color: #15803d;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .92rem;
  margin-top: 14px;
}

/* ---------- Map Placeholder ---------- */
.map-section {
  padding: 0;
  height: 320px;
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e0f2fe, #cffafe);
  flex-direction: column;
  gap: 12px;
  color: var(--primary);
}

.map-placeholder svg {
  width: 48px;
  height: 48px;
  stroke: var(--primary);
  fill: none;
}

.map-placeholder p {
  font-size: .95rem;
  font-weight: 600;
}

.map-placeholder a {
  font-size: .88rem;
  color: var(--primary);
  text-decoration: underline;
}

/* ---------- Footer ---------- */
#site-footer {
  background: var(--primary-dk);
  color: rgba(255,255,255,.8);
}

.footer-main {
  padding: 70px 0 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 50px;
}

.footer-brand .nav-logo-text .brand-name { color: #fff; }
.footer-brand .nav-logo-text .brand-tagline { color: rgba(255,255,255,.55); }

.footer-brand p {
  font-size: .88rem;
  line-height: 1.65;
  color: rgba(255,255,255,.65);
  margin: 18px 0 22px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.footer-social-link:hover { background: var(--secondary); }

.footer-social-link svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
  fill: none;
}

.footer-col h4 {
  color: #fff;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: .88rem;
  color: rgba(255,255,255,.62);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover { color: var(--secondary); }

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  color: rgba(255,255,255,.65);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a {
  color: rgba(255,255,255,.8);
  transition: color var(--transition);
}

.footer-contact-item a:hover { color: var(--secondary); }

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

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: .82rem;
  color: rgba(255,255,255,.45);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  transition: color var(--transition);
}

.footer-bottom-links a:hover { color: rgba(255,255,255,.8); }

/* ---------- Scroll to Top ---------- */
#scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 999;
}

#scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

#scroll-top:hover {
  background: var(--primary-dk);
  transform: translateY(-3px);
}

#scroll-top svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
}

/* ---------- Mobile Nav Overlay ---------- */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 998;
}

.nav-mobile-overlay.open { display: block; }

.nav-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 90vw);
  height: 100%;
  background: var(--bg-white);
  z-index: 999;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: right .3s ease;
  overflow-y: auto;
  box-shadow: -4px 0 20px rgba(0,0,0,.12);
}

.nav-mobile.open { right: 0; }

.nav-mobile-close {
  align-self: flex-end;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-light);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.nav-mobile-close svg {
  width: 18px;
  height: 18px;
  stroke: var(--text-dark);
}

.nav-mobile-links {
  display: flex;
  flex-direction: column;
}

.nav-mobile-links a {
  padding: 14px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}

.nav-mobile-links a:hover { color: var(--primary); }

.nav-mobile-cta {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-mobile-cta .btn { justify-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .about-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .about-img-badge {
    right: 10px;
    bottom: -10px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-actions {
    justify-content: center;
  }

  .hero-stats {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    justify-content: center;
  }

  .top-bar-inner {
    justify-content: center;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}
