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

/* === CSS RESET & BASE === */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Nunito', system-ui, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  color: var(--text);
  background: var(--bg);
}
img, video { max-width: 100%; height: auto; display: block; border-radius: var(--radius-md); object-fit: cover; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }

/* === PREMIUM TOKENS (Sunset Gradient Light) === */
:root {
  --bg: #fff8f0; /* Warm cream base - MANDATORY LIGHT THEME */
  --text: #1a1a2e;
  --text-muted: #57606f;
  --accent: #ff7e5f; /* Pastel orange */
  --accent-secondary: #feb47b; /* Soft peach */
  --accent-lavender: #d4a5ff; /* Soft lavender */
  --white: #ffffff;
  --radius-sm: 8px; --radius-md: 16px; --radius-lg: 24px;
  --shadow-glass: 0 8px 32px 0 rgba(255, 126, 95, 0.1);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.05);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 126, 95, 0.2);
}

h1, h2, h3, h4 {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.1;
  color: var(--text);
}

/* === STRUCTURAL BASELINES === */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}

.narrow-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}

section {
  padding: 70px 0;
  position: relative;
  border-bottom: 1px solid rgba(26, 26, 46, 0.05);
}

/* Layout Archetype: Wide-Narrow Alternating */
.section-full { width: 100%; }
.section-narrow { width: 100%; }

/* Mesh Gradient background simulation */
.mesh-bg {
  position: relative;
  overflow: hidden;
}
.mesh-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  background:
    radial-gradient(at 10% 10%, rgba(255, 126, 95, 0.15) 0px, transparent 50%),
    radial-gradient(at 90% 10%, rgba(212, 165, 255, 0.15) 0px, transparent 50%),
    radial-gradient(at 50% 90%, rgba(254, 180, 123, 0.15) 0px, transparent 50%);
}

/* === NAVIGATION (Overlay-Only) === */
.nav-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  width: 50px;
  height: 50px;
  background: var(--white);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glass);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 24px rgba(255, 126, 95, 0.2);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  position: relative;
  transition: all 0.3s;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--accent);
  transition: all 0.3s;
}

.nav-toggle span::before { transform: translateY(-8px); }
.nav-toggle span::after { transform: translateY(8px); }

.nav-toggle.active span { background: transparent; }
.nav-toggle.active span::before { transform: rotate(45deg); }
.nav-toggle.active span::after { transform: rotate(-45deg); }

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.nav-links {
  list-style: none;
  text-align: center;
}

.nav-links li { margin: 20px 0; }

.nav-links a {
  font-family: 'Anton', sans-serif;
  font-size: 3rem;
  color: var(--text);
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent);
  -webkit-text-stroke: 1px var(--accent);
  color: transparent;
}

.nav-links a.active {
    color: var(--accent);
}

.nav-social {
    margin-top: 50px;
    display: flex;
    gap: 20px;
}

.nav-social a {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.nav-social a:hover {
    color: var(--accent);
}

/* === HERO: Grid Mosaic === */
.hero {
  height: 100vh;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 10px;
  padding: 10px;
  position: relative;
}

.hero-item {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hero-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% / 3 - 20px);
  height: calc(100% / 2 - 20px);
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  z-index: 10;
  box-shadow: var(--shadow-glass);
}

.hero-overlay h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

/* === PREMIUM UI BLOCKS === */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-glass);
}

.btn-tag {
  background: var(--accent);
  color: var(--white);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  cursor: pointer;
  text-transform: uppercase;
}

.btn-tag:hover {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 126, 95, 0.2);
}

/* === SERVICE BENTO GRID === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(26, 26, 46, 0.05);
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 126, 95, 0.15);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

/* === ROI CALCULATOR === */
.roi-calculator {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-weight: 700;
    color: var(--text-muted);
}

.input-group input {
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--glass-border);
    outline: none;
    font-family: inherit;
    font-size: 1rem;
}

.roi-result {
    margin-top: 20px;
    padding: 30px;
    background: var(--white);
    border-radius: var(--radius-md);
    text-align: center;
    border: 2px solid var(--accent-lavender);
}

.roi-value {
    font-family: 'Anton', sans-serif;
    font-size: 3rem;
    color: var(--accent);
}

/* === TEAM SECTION === */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: all 0.3s;
}

.team-card:hover { transform: scale(1.02); }

.team-img {
    height: 350px;
    width: 100%;
}

.team-info {
    padding: 24px;
}

.team-info h3 { margin-bottom: 10px; }
.team-role { color: var(--accent); font-weight: 700; margin-bottom: 10px; }

/* === TESTIMONIALS === */
.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    position: relative;
    margin-bottom: 40px;
}

.video-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: #f0f0f0;
    border-radius: var(--radius-md);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    cursor: pointer;
}

.play-btn {
    width: 80px;
    height: 80px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    padding-left: 5px;
    box-shadow: 0 0 0 15px rgba(255, 126, 95, 0.2);
    transition: all 0.3s;
}

.video-placeholder:hover .play-btn { transform: scale(1.1); }

/* === RESOURCE & NEWSLETTER === */
.resource-section {
    background: var(--white);
}

.resource-card {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: center;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 25px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    outline: none;
}

/* === FOOTER === */
footer {
    padding: 80px 0 40px;
    background: var(--bg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-map iframe {
    width: 100%;
    height: 300px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: var(--text-muted); }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
    border-top: 1px solid rgba(26, 26, 46, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* === INNER PAGES: FAQ === */
.faq-section { margin-top: 60px; }
.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.faq-question {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    padding-bottom: 20px;
    max-height: 200px;
}

.faq-item.active .ph-plus { transform: rotate(45deg); }

/* === STACKED BLOCKS === */
.stacked-block {
    padding: 40px;
    margin-bottom: 20px;
    border-radius: var(--radius-lg);
    background: var(--white);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .hero-overlay { width: 40%; height: 40%; }
}

@media (max-width: 768px) {
    section { padding: 50px 0; }
    .hero {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 1fr);
        height: 70vh;
    }
    .hero-overlay {
        width: 80%;
        height: auto;
        padding: 30px;
    }
    .nav-links a { font-size: 2rem; }
    .nav-toggle { top: 15px; right: 15px; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .resource-card { grid-template-columns: 1fr; }

    .newsletter-form { flex-direction: column; }

    .roi-value { font-size: 2rem; }

    .container, .narrow-container { padding: 0 20px; }

    /* Body enforcement for no overflow */
    body, html { overflow-x: hidden; width: 100%; max-width: 100vw; }
}

@media (max-width: 480px) {
    .footer-cols { grid-template-columns: 1fr; }
}
