/*
Theme Name: RCM – Renaud Construction Management
Theme URI: https://renaudcm.com
Author: RCM
Author URI: https://renaudcm.com
Description: Premium construction management theme for Renaud Construction Management
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: rcm-theme
*/

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

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --bg:          #1b1b1e;
  --bg-card:     #0a1628;
  --fg:          #fafafa;
  --fg-muted:    #adadb3;
  --primary:     #b8960c;
  --primary-fg:  #1b1b1e;
  --border:      #3d3d42;
  --muted:       #2c2c30;
  --radius:      0.375rem;
  --font-head:   'Montserrat', sans-serif;
  --font-body:   'Inter', sans-serif;
  --container:   1280px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  color: var(--fg);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0 2rem;
  height: 3rem;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-fg);
  border-color: var(--primary);
}
.btn-primary:hover { background: #a07c0a; border-color: #a07c0a; }

.btn-outline {
  background: transparent;
  color: var(--fg);
  border-color: rgba(255,255,255,0.3);
}
.btn-outline:hover { background: rgba(255,255,255,0.08); }

.btn-outline-gold {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-gold:hover { background: rgba(184,150,12,0.1); }

.btn-lg { height: 3.5rem; padding: 0 2.5rem; font-size: 1rem; }

.text-primary { color: var(--primary); }
.text-muted { color: var(--fg-muted); }

.section-label {
  display: inline-block;
  background: rgba(184,150,12,0.15);
  border: 1px solid rgba(184,150,12,0.4);
  color: var(--primary);
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.star-row { display: flex; gap: 0.15rem; color: var(--primary); margin-bottom: 1.5rem; }
.star-row svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }

/* ============================================================
   NAV
   ============================================================ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.3s ease;
  padding: 1.25rem 0;
}

#site-header.scrolled,
#site-header.inner-page {
  background: rgba(27, 27, 30, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 110;
}

.nav-logo-icon {
  background: var(--primary);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo-icon svg { width: 1.2rem; height: 1.2rem; color: var(--primary-fg); }

.nav-logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-text strong {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.nav-logo-text span {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-top: 1px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) { .nav-links { display: flex; } }

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(250,250,250,0.85);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--primary); }

#site-header.inner-page .nav-links a { color: var(--fg-muted); }
#site-header.inner-page .nav-links a:hover,
#site-header.inner-page .nav-links a.active { color: var(--primary); }

.nav-cta { display: none; }
@media (min-width: 1024px) { .nav-cta { display: inline-flex; } }

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  z-index: 110;
}
@media (min-width: 768px) { .hamburger { display: none; } }

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  padding: 6rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
#mobile-menu.open { transform: translateX(0); }

.mobile-nav-links { display: flex; flex-direction: column; gap: 1.5rem; }
.mobile-nav-links a {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--fg);
  transition: color 0.2s;
}
.mobile-nav-links a:hover { color: var(--primary); }

.mobile-menu-footer {
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.mobile-contact-info {
  margin-top: 1rem;
  color: var(--fg-muted);
  font-size: 0.875rem;
  line-height: 2;
}

/* Floating CTA */
#floating-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  display: block;
}
@media (min-width: 768px) { #floating-cta { display: none; } }

#floating-cta .btn {
  border-radius: 9999px;
  box-shadow: 0 8px 24px rgba(184,150,12,0.35);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  max-height: 1000px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27,27,30,0.78);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  padding-top: 5rem;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 800;
  color: #fff;
  max-width: 900px;
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.hero-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

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

/* ============================================================
   SECTION HELPERS
   ============================================================ */
.section { padding: 6rem 0; }
.section-sm { padding: 3rem 0; }

.section-title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 4rem;
}

.section-header p {
  color: var(--fg-muted);
  font-size: 1.05rem;
  margin-top: 0.75rem;
  line-height: 1.7;
}

/* ============================================================
   SERVICES CARDS
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}
@media (min-width: 768px) { .services-grid { grid-template-columns: 1fr 1fr; } }

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  transition: border-color 0.2s;
}
.service-card:hover { border-color: var(--primary); }

.service-card .card-icon {
  width: 3rem;
  height: 3rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.service-card > p {
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.service-list { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }

.service-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.service-list li svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--primary);
  flex-shrink: 0;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap 0.2s;
}
.card-link:hover { gap: 0.75rem; }
.card-link svg { width: 1rem; height: 1rem; }

/* ============================================================
   PROJECTS GRID
   ============================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px) { .projects-grid { grid-template-columns: 1fr 1fr; } }

.project-card {
  display: block;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s;
}
.project-card:hover { border-color: rgba(184,150,12,0.5); }

.project-card-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.project-card:hover .project-card-img img { transform: scale(1.05); }

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}
.project-card:hover .project-card-overlay { opacity: 1; }

.project-card-overlay span {
  color: #fff;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.project-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(27,27,30,0.92);
  color: var(--fg);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

.project-card-body { padding: 1.25rem 1.5rem 1.5rem; }

.project-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
  transition: color 0.2s;
}
.project-card:hover .project-card-body h3 { color: var(--primary); }

.project-card-body p {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

/* ============================================================
   WHY CHOOSE RCM
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: rgba(184,150,12,0.4); }

.feature-card svg {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.feature-card h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.feature-card p { color: var(--fg-muted); font-size: 0.875rem; line-height: 1.65; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }

.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.testimonial-card blockquote {
  font-size: 1rem;
  color: var(--fg);
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 1.5rem;
  font-style: normal;
}

.testimonial-card cite { font-style: normal; }
.testimonial-card cite strong { display: block; font-size: 0.95rem; color: var(--fg); }
.testimonial-card cite span { font-size: 0.8rem; color: var(--fg-muted); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--primary);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  color: var(--primary-fg);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(27,27,30,0.8);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.cta-banner .btn {
  background: var(--bg);
  color: var(--fg);
  border-color: var(--bg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.cta-banner .btn:hover { background: var(--bg-card); border-color: var(--bg-card); }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }

.footer-brand p {
  color: var(--fg-muted);
  font-size: 0.875rem;
  line-height: 1.65;
  margin: 1.25rem 0 1.5rem;
  max-width: 260px;
}

.footer-social { display: flex; gap: 1rem; }
.footer-social a { color: var(--fg-muted); transition: color 0.2s; }
.footer-social a:hover { color: var(--primary); }
.footer-social svg { width: 1.2rem; height: 1.2rem; }

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--fg);
}

.footer-links { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-links a { font-size: 0.875rem; color: var(--fg-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--primary); }

.footer-contact { display: flex; flex-direction: column; gap: 1rem; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.footer-contact-item svg { width: 1.1rem; height: 1.1rem; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item span { font-size: 0.875rem; color: var(--fg-muted); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

.footer-bottom p, .footer-bottom a {
  font-size: 0.8rem;
  color: var(--fg-muted);
}
.footer-bottom a:hover { color: var(--primary); }
.footer-bottom-links { display: flex; gap: 1.5rem; }

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-hero {
  padding: 9rem 0 4rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 { font-size: clamp(2rem, 5vw, 3.75rem); margin-bottom: 1rem; }
.page-hero p { color: var(--fg-muted); font-size: 1.1rem; max-width: 640px; line-height: 1.7; }

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-section {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}
@media (min-width: 1024px) {
  .services-section { flex-direction: row; gap: 5rem; }
  .services-section.reverse { flex-direction: row-reverse; }
}

.services-section .services-img-wrap {
  width: 100%;
  flex-shrink: 0;
}
@media (min-width: 1024px) { .services-section .services-img-wrap { width: 45%; } }

.services-img-inner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
}

.services-img-inner img { width: 100%; height: 100%; object-fit: cover; }

.services-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27,27,30,0.75) 0%, transparent 50%);
}

.services-img-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.services-img-badge-icon {
  background: var(--primary);
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.services-img-badge-icon svg { width: 1.4rem; height: 1.4rem; color: var(--primary-fg); }

.services-img-badge span {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.services-copy { flex: 1; }
.services-copy h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin-bottom: 1rem; }
.services-copy > p { color: var(--fg-muted); line-height: 1.75; font-size: 1.05rem; margin-bottom: 2rem; }

.services-check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.services-check-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.check-dot {
  background: rgba(184,150,12,0.2);
  border-radius: 9999px;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.check-dot svg { width: 0.85rem; height: 0.85rem; color: var(--primary); }

/* ============================================================
   PORTFOLIO PAGE
   ============================================================ */
.portfolio-filters { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

.filter-btn {
  padding: 0.4rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--fg-muted);
  background: transparent;
  transition: all 0.2s;
  cursor: pointer;
}
.filter-btn:hover { color: var(--fg); border-color: var(--fg); }
.filter-btn.active { background: var(--primary); color: var(--primary-fg); border-color: var(--primary); }

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px) { .portfolio-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   MODAL
   ============================================================ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-backdrop.open { display: flex; }

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg-card);
  z-index: 10;
}

.modal-header h3 { font-size: 1.15rem; }

.modal-close {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-muted);
  background: var(--muted);
  transition: color 0.2s;
  flex-shrink: 0;
}
.modal-close:hover { color: var(--fg); }
.modal-close svg { width: 1rem; height: 1rem; }

.modal-body { overflow-y: auto; padding: 1.5rem 2rem 2rem; }

.modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--fg-muted);
}

.modal-badge {
  background: rgba(184,150,12,0.15);
  color: var(--primary);
  padding: 0.2rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.modal-meta-item { display: flex; align-items: center; gap: 0.4rem; }
.modal-meta-item svg { width: 0.9rem; height: 0.9rem; }

.modal-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (min-width: 640px) { .modal-gallery { grid-template-columns: 1fr 1fr; } }

.modal-gallery-item { display: flex; flex-direction: column; gap: 0.5rem; }

.modal-gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  overflow: hidden;
}

.modal-gallery-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
}

.modal-gallery-label.after { color: var(--fg); }

.modal-details { display: grid; gap: 2rem; }
@media (min-width: 640px) { .modal-details { grid-template-columns: 2fr 1fr; } }

.modal-details h4 { font-size: 1rem; margin-bottom: 0.5rem; }
.modal-details p { color: var(--fg-muted); font-size: 0.9rem; line-height: 1.7; }

.modal-testimonial {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  align-self: start;
}

.modal-testimonial h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
.modal-testimonial h4 svg { width: 1rem; height: 1rem; color: var(--primary); fill: var(--primary); }
.modal-testimonial blockquote { font-size: 0.85rem; color: var(--fg-muted); line-height: 1.65; font-style: italic; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.stat-card.wide { grid-column: 1 / -1; }
.stat-card .stat-number { font-size: 2.5rem; font-family: var(--font-head); font-weight: 800; color: var(--primary); margin-bottom: 0.25rem; }
.stat-card .stat-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg-muted); }
.stat-card .stat-text { font-size: 1.1rem; font-family: var(--font-head); font-weight: 700; color: var(--fg); margin-bottom: 0.25rem; }

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px) { .values-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }

.value-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.value-card svg { width: 2.5rem; height: 2.5rem; color: var(--primary); margin-bottom: 1.5rem; }
.value-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.value-card p { color: var(--fg-muted); font-size: 0.875rem; line-height: 1.65; }

.credentials-grid {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 2.5rem 3rem;
  display: grid;
  gap: 3rem;
}
@media (min-width: 768px) { .credentials-grid { grid-template-columns: 1fr 1fr; } }

.cred-section h2 {
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.cred-section h2 svg { width: 1.4rem; height: 1.4rem; color: var(--primary); }
.cred-section > p { color: var(--fg-muted); line-height: 1.7; font-size: 0.95rem; margin-bottom: 1.25rem; }

.cred-list { display: flex; flex-direction: column; gap: 0.75rem; }
.cred-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
}
.cred-list li svg { width: 1.1rem; height: 1.1rem; color: var(--primary); flex-shrink: 0; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) { .contact-layout { grid-template-columns: 1fr 2fr; gap: 5rem; } }

.contact-info-list { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info-icon {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem;
  flex-shrink: 0;
}
.contact-info-icon svg { width: 1.4rem; height: 1.4rem; color: var(--primary); }

.contact-info-item strong { display: block; font-size: 0.95rem; margin-bottom: 0.2rem; }
.contact-info-item span { color: var(--fg-muted); font-size: 0.9rem; }

.commitment-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 2rem;
}
.commitment-box h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.commitment-box p { color: var(--fg-muted); font-size: 0.875rem; line-height: 1.7; }

/* Form */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}
.form-card h2 { font-size: 1.4rem; margin-bottom: 2rem; }

.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--fg);
}

.form-control {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--fg);
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s;
  outline: none;
}
.form-control:focus { border-color: var(--primary); }
.form-control::placeholder { color: var(--fg-muted); }
.form-control option { background: var(--bg); }

textarea.form-control { min-height: 150px; resize: vertical; }

.form-row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.sector-selector { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.sector-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem;
  border: 2px solid var(--muted);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--fg-muted);
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 600;
  font-size: 0.9rem;
}
.sector-btn:hover { border-color: var(--fg-muted); color: var(--fg); }
.sector-btn.active { border-color: var(--primary); background: rgba(184,150,12,0.05); color: var(--fg); }
.sector-btn svg { width: 1.5rem; height: 1.5rem; }

.form-divider { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

.form-submit {
  width: 100%;
  background: var(--primary);
  color: var(--primary-fg);
  border: none;
  border-radius: var(--radius);
  height: 3.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.form-submit:hover { background: #a07c0a; }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.form-success {
  display: none;
  background: rgba(184,150,12,0.1);
  border: 1px solid rgba(184,150,12,0.4);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  color: var(--primary);
  font-weight: 500;
  margin-top: 1rem;
}

/* ============================================================
   BACKGROUND ALTERNATION
   ============================================================ */
.bg-alt { background: var(--bg-card); }

/* ============================================================
   RESPONSIVE UTILITIES
   ============================================================ */
.hidden-mobile { display: none; }
@media (min-width: 768px) { .hidden-mobile { display: flex; } }

.hidden-desktop { display: flex; }
@media (min-width: 768px) { .hidden-desktop { display: none; } }
