/* ===================================================
   RenPower — styles.css
   Consultoría Energética · renpower.com.do
   =================================================== */

:root {
  --primary:       #1A4F8A;
  --primary-dark:  #143d6b;
  --primary-light: #2563ab;
  --accent:        #2E7D32;
  --accent-dark:   #256428;
  --text:          #1a202c;
  --text-muted:    #4a5568;
  --text-light:    #718096;
  --bg:            #ffffff;
  --bg-alt:        #f7f9fc;
  --bg-blue:       #eef3fb;
  --border:        #e2e8f0;
  --max-width:     1160px;
  --radius:        8px;
  --radius-lg:     14px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); }

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

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-mark span {
  color: white;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0;
}

.logo-text {
  font-size: 19px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.3px;
  line-height: 1.1;
}

.logo-text small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--primary) !important;
  color: white !important;
  padding: 8px 18px !important;
  border-radius: var(--radius) !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--primary-dark) !important; }

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text);
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(150deg, #1a4f8a 0%, #1e5fa0 55%, #15426f 100%);
  color: white;
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.hero-label {
  display: inline-block;
  background: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.9);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.2);
}

.hero h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  max-width: 700px;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.83);
  max-width: 600px;
  margin-bottom: 40px;
}

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

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--accent);
  color: white;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  color: white;
}

.btn-secondary {
  background: rgba(255,255,255,0.12);
  color: white;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.28);
  transition: background 0.2s;
  display: inline-block;
}

.btn-secondary:hover { background: rgba(255,255,255,0.2); color: white; }

.btn-blue {
  background: var(--primary);
  color: white;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s;
  display: inline-block;
}

.btn-blue:hover { background: var(--primary-dark); color: white; }

.btn-white {
  background: white;
  color: var(--primary);
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: opacity 0.2s;
  display: inline-block;
}

.btn-white:hover { opacity: 0.92; color: var(--primary); }

.btn-outline-white {
  background: transparent;
  color: white;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.38);
  transition: background 0.2s;
  display: inline-block;
}

.btn-outline-white:hover { background: rgba(255,255,255,0.1); color: white; }

/* ===== STATS STRIP ===== */
.stats-strip {
  background: var(--bg-blue);
  border-bottom: 1px solid rgba(26,79,138,0.12);
  padding: 52px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.stat-item { text-align: center; }

.stat-value {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ===== SECTION ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }

.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-tag {
  display: inline-block;
  background: var(--bg-blue);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
  border: 1px solid rgba(26,79,138,0.15);
}

.section-title {
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--text);
  max-width: 580px;
  margin: 0 auto 14px;
  letter-spacing: -0.3px;
  line-height: 1.25;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== SERVICE CARDS ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.service-card:hover {
  box-shadow: 0 8px 24px rgba(26,79,138,0.1);
  border-color: rgba(26,79,138,0.28);
  transform: translateY(-2px);
}

.service-icon {
  width: 46px;
  height: 46px;
  background: var(--bg-blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--primary);
}

.service-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 9px;
  line-height: 1.35;
}

.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

.service-card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

.service-card-link::after {
  content: ' →';
  transition: margin 0.15s;
}

.service-card:hover .service-card-link::after { margin-left: 3px; }

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-content .section-tag { margin-bottom: 14px; }

.about-content h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 18px;
  letter-spacing: -0.3px;
  line-height: 1.28;
}

.about-content p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.8;
}

.about-visual {
  background: var(--bg-blue);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid rgba(26,79,138,0.1);
}

.about-visual-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 16px;
}

.client-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.client-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.client-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--primary);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.cta-section p {
  font-size: 17px;
  color: rgba(255,255,255,0.82);
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #0d2540;
  color: rgba(255,255,255,0.65);
  padding: 60px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr 1.4fr;
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto 48px;
  padding: 0 24px;
}

.footer-brand .logo-text { color: white; }

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 12px;
  line-height: 1.6;
  max-width: 220px;
}

.footer-col h4 {
  color: white;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col ul a {
  color: rgba(255,255,255,0.56);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col ul a:hover { color: white; }

.footer-contact-item {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 9px;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.09);
  padding-top: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: var(--primary);
  color: white;
  padding: 52px 0 48px;
}

.page-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 14px;
}

.breadcrumb a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover { color: white; }
.breadcrumb span { margin: 0 6px; }

.page-hero h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.22;
  max-width: 660px;
  letter-spacing: -0.4px;
  margin-bottom: 14px;
}

.page-hero .page-hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  line-height: 1.65;
}

/* ===== SERVICE PAGE LAYOUT ===== */
.page-content {
  padding: 64px 0 80px;
}

.page-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  align-items: start;
}

.page-body h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  margin: 40px 0 14px;
  letter-spacing: -0.2px;
  line-height: 1.3;
}

.page-body h2:first-child { margin-top: 0; }

.page-body p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.82;
  margin-bottom: 18px;
}

.service-list {
  list-style: none;
  margin: 4px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.service-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.service-list li::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}

.audience-box {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin-top: 32px;
}

.audience-box h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 12px;
}

.audience-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.audience-box li {
  font-size: 14px;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}

.audience-box li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-light);
}

/* ===== SIDEBAR ===== */
.sidebar-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 88px;
}

.sidebar-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.sidebar-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.6;
}

.sidebar-cta {
  display: block;
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 11px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 10px;
  transition: background 0.2s;
}

.sidebar-cta:hover { background: var(--primary-dark); color: white; }

.sidebar-cta-outline {
  display: block;
  background: transparent;
  color: var(--primary);
  text-align: center;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(26,79,138,0.35);
  transition: background 0.2s;
}

.sidebar-cta-outline:hover { background: var(--bg-blue); }

.sidebar-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 20px 0;
}

.sidebar-nav h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 12px;
}

.sidebar-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-nav ul a {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  line-height: 1.4;
}

.sidebar-nav ul a:hover { background: var(--bg-blue); color: var(--primary); }
.sidebar-nav ul a.active { background: var(--bg-blue); color: var(--primary); font-weight: 600; }

/* ===== SOBRE NOSOTROS ===== */
.team-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.team-avatar {
  width: 80px;
  height: 80px;
  background: var(--bg-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
  border: 2px solid rgba(26,79,138,0.15);
}

.team-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.team-info .team-title {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.team-info p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.78;
  margin-bottom: 14px;
}

.team-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: opacity 0.2s;
}

.team-linkedin:hover { opacity: 0.75; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.value-card {
  background: var(--bg-blue);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.value-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.contact-form-wrap h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.contact-form-wrap > p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.65;
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,79,138,0.1);
}

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

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

.btn-submit {
  background: var(--primary);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
  width: 100%;
  margin-top: 4px;
}

.btn-submit:hover { background: var(--primary-dark); }

.contact-info h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.contact-info > p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-detail {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--bg-blue);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--primary);
}

.contact-detail strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.contact-detail span {
  font-size: 14px;
  color: var(--text-muted);
}

.contact-note {
  background: var(--bg-blue);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: 28px;
}

.contact-note strong { color: var(--primary); }

/* ===== SERVICIOS OVERVIEW ===== */
.services-overview-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 820px;
  margin: 0 auto;
}

.service-overview-item {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 32px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
}

.service-overview-item:hover {
  box-shadow: 0 6px 20px rgba(26,79,138,0.09);
  transform: translateY(-1px);
}

.service-overview-num {
  font-size: 2rem;
  font-weight: 700;
  color: rgba(26,79,138,0.15);
  font-variant-numeric: tabular-nums;
  letter-spacing: -1px;
}

.service-overview-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.service-overview-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}

.service-overview-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-visual { order: -1; }
  .page-layout { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .team-card { flex-direction: column; gap: 20px; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0; right: 0;
    background: white;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    z-index: 99;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }

  .nav-links.open { display: flex; }

  .nav-links li { width: 100%; }

  .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
    display: block;
  }

  .nav-cta {
    margin-top: 8px;
    text-align: center;
    border-radius: var(--radius) !important;
  }

  .nav-mobile-toggle { display: block; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .hero { padding: 60px 0 52px; }
  .section { padding: 56px 0; }
  .service-overview-item { grid-template-columns: 1fr; gap: 12px; }
  .service-overview-num { font-size: 1.2rem; }
  .form-group .form-row { grid-template-columns: 1fr; }
}
