/* ============================================
   TEMPOTECH — DESIGN SYSTEM
   Minimal Editorial • Warm • Sophisticated
   ============================================ */

/* ---- DESIGN TOKENS ---- */
:root {
    --bg-cream: #FAF8F5;
    --bg-white: #FFFFFF;
    --bg-charcoal: #1A1A2E;
    --bg-charcoal-light: #24243E;

    --text-primary: #1A1A2E;
    --text-body: #4A4A5A;
    --text-muted: #8A8A9A;
    --text-inverse: #F5F3F0;

    --accent: #2563EB;
    --accent-hover: #1D4FD7;
    --accent-warm: #E8915A;
    --accent-warm-hover: #D67D48;

    --border: #E8E4DF;
    --border-light: #F0ECE7;

    --whatsapp: #25D366;
    --whatsapp-hover: #1EBE57;

    --shadow-sm: 0 1px 3px rgba(26, 26, 46, 0.04), 0 1px 2px rgba(26, 26, 46, 0.06);
    --shadow-md: 0 4px 16px rgba(26, 26, 46, 0.06), 0 2px 4px rgba(26, 26, 46, 0.04);
    --shadow-lg: 0 12px 40px rgba(26, 26, 46, 0.08), 0 4px 12px rgba(26, 26, 46, 0.04);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    --container-max: 1200px;
    --container-narrow: 800px;
}


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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    background-color: var(--bg-cream);
    color: var(--text-body);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

ul, ol {
    list-style: none;
}


/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.025em;
}

h3 {
    font-size: clamp(1.4rem, 2.5vw, 1.75rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

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

.text-accent {
    color: var(--accent);
}

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


/* ---- LAYOUT ---- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.container--narrow {
    max-width: var(--container-narrow);
}

.section {
    padding: 6rem 0;
}

.section--sm {
    padding: 4rem 0;
}

.section--lg {
    padding: 8rem 0;
}

.section--dark {
    background-color: var(--bg-charcoal);
    color: var(--text-inverse);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
    color: var(--text-inverse);
}

.section--dark p,
.section--dark .text-muted {
    color: rgba(245, 243, 240, 0.7);
}

.section--white {
    background-color: var(--bg-white);
}


/* ---- SECTION HEADER ---- */
.section-header {
    margin-bottom: 3.5rem;
}

.section-header--center {
    text-align: center;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 1rem;
}

.section--dark .section-tag {
    color: var(--accent-warm);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 580px;
    line-height: 1.7;
    margin-top: 1rem;
}

.section-header--center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}


/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(250, 248, 245, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: box-shadow var(--transition-base), background-color var(--transition-base);
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

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

.header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.5rem;
}

.header-logo img {
    height: 36px;
    width: auto;
}

.header-logo span {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.04em;
}

/* Desktop nav */
.header-nav {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.header-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-body);
    text-decoration: none;
    position: relative;
    padding: 0.25rem 0;
    transition: color var(--transition-fast);
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
    transition: width var(--transition-base);
}

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

.header-nav a:hover::after {
    width: 100%;
}

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

.header-nav a.active::after {
    width: 100%;
}

.header-cta {
    margin-left: 0.75rem;
}

/* Mobile hamburger */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 20px;
    position: relative;
    z-index: 1100;
}

.mobile-toggle span {
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 1px;
    transition: all var(--transition-base);
}

.mobile-toggle span:nth-child(1) { top: 0; }
.mobile-toggle span:nth-child(2) { top: 9px; }
.mobile-toggle span:nth-child(3) { top: 18px; }

.mobile-toggle.active span:nth-child(1) {
    top: 9px;
    transform: rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-8px);
}

.mobile-toggle.active span:nth-child(3) {
    top: 9px;
    transform: rotate(-45deg);
}

/* Mobile drawer */
.mobile-drawer {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-white);
    z-index: 1050;
    padding: 6rem 2rem 2rem;
    box-shadow: -8px 0 40px rgba(26, 26, 46, 0.12);
    transition: right var(--transition-base);
    overflow-y: auto;
}

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

.mobile-drawer a {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.mobile-drawer a:hover {
    color: var(--accent);
}

.mobile-drawer .btn {
    margin-top: 1.5rem;
    width: 100%;
    text-align: center;
}

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 46, 0.3);
    z-index: 1040;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.mobile-overlay.visible {
    opacity: 1;
}


/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.85rem 1.75rem;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn--primary {
    background: var(--accent);
    color: #FFFFFF;
}

.btn--primary:hover {
    background: var(--accent-hover);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.btn--secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border);
}

.btn--secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.btn--warm {
    background: var(--accent-warm);
    color: #FFFFFF;
}

.btn--warm:hover {
    background: var(--accent-warm-hover);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(232, 145, 90, 0.3);
}

.btn--dark {
    background: var(--bg-charcoal);
    color: var(--text-inverse);
}

.btn--dark:hover {
    background: var(--bg-charcoal-light);
    color: var(--text-inverse);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(26, 26, 46, 0.3);
}

.btn--lg {
    padding: 1rem 2.25rem;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
}

.btn--inverse {
    background: var(--bg-white);
    color: var(--text-primary);
}

.btn--inverse:hover {
    background: var(--bg-cream);
    color: var(--accent);
    transform: translateY(-2px);
}

.btn-arrow {
    transition: transform var(--transition-fast);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}


/* ============================================
   HERO SECTIONS
   ============================================ */
.hero {
    padding: 7rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero--home {
    padding: 8rem 0 7rem;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

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

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 560px;
    line-height: 1.75;
    margin-bottom: 2.5rem;
}

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

/* Geometric decoration for home hero */
.hero-decoration {
    position: absolute;
    top: 50%;
    right: -5%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.08;
}

.hero-decoration .circle {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid var(--accent);
}

.hero-decoration .circle--lg {
    width: 400px;
    height: 400px;
    top: 50px;
    right: 0;
}

.hero-decoration .circle--md {
    width: 260px;
    height: 260px;
    top: 120px;
    right: 70px;
}

.hero-decoration .circle--sm {
    width: 120px;
    height: 120px;
    top: 190px;
    right: 140px;
    background: var(--accent);
    opacity: 0.15;
}

/* Page hero (non-home) */
.hero--page {
    padding: 5rem 0 4rem;
    text-align: center;
}

.hero--page .hero-desc {
    margin-left: auto;
    margin-right: auto;
}

.hero--page .section-tag {
    margin-bottom: 1.25rem;
}


/* ============================================
   SERVICE CARDS
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

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

.service-card__num {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 1rem;
}

.service-card__title {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.service-card__desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-card__img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

.service-card__link {
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--accent);
    transition: gap var(--transition-fast), color var(--transition-fast);
}

.service-card__link:hover {
    gap: 0.75rem;
}


/* ============================================
   METRICS STRIP
   ============================================ */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.metric-item {
    padding: 3.5rem 2.5rem;
    text-align: center;
    border-right: 1px solid var(--border);
    position: relative;
}

.metric-item:last-child {
    border-right: none;
}

.metric-value {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}


/* ============================================
   PROCESS / TIMELINE
   ============================================ */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 2px solid var(--accent);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.process-step__title {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.process-step__desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 300px;
    margin: 0 auto;
}


/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
    text-align: center;
    padding: 5rem 0;
}

.cta-band h2 {
    margin-bottom: 1rem;
}

.cta-band p {
    margin-bottom: 2rem;
}

.cta-band .btn {
    margin: 0 0.5rem;
}


/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--bg-charcoal);
    color: rgba(245, 243, 240, 0.7);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 280px;
}

.footer-brand img {
    height: 32px;
    margin-bottom: 1rem;
    /* Invert logo for dark background */
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(245, 243, 240, 0.5);
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-inverse);
    margin-bottom: 1.25rem;
}

.footer-col a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(245, 243, 240, 0.6);
    margin-bottom: 0.75rem;
    transition: color var(--transition-fast);
    text-decoration: none;
}

.footer-col a svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex-shrink: 0;
}

.footer-col a:hover {
    color: var(--accent-warm);
}

.footer-bottom {
    border-top: 1px solid rgba(245, 243, 240, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(245, 243, 240, 0.4);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: 0.8rem;
    color: rgba(245, 243, 240, 0.4);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--accent-warm);
}


/* ============================================
   CONTACT FORM
   ============================================ */
.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--bg-white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A8A9A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* Contact info sidebar */
.contact-info-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.contact-info-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.contact-info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

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

.contact-info-icon svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.contact-info-text h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-info-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact-info-text a {
    color: var(--text-body);
    text-decoration: none;
}

.contact-info-text a:hover {
    color: var(--accent);
}


/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list {
    max-width: var(--container-narrow);
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 0;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--accent);
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    position: relative;
    transition: transform var(--transition-base);
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--text-muted);
    border-radius: 1px;
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.faq-icon::before {
    top: 50%;
    left: 4px;
    right: 4px;
    height: 2px;
    transform: translateY(-50%);
}

.faq-icon::after {
    left: 50%;
    top: 4px;
    bottom: 4px;
    width: 2px;
    transform: translateX(-50%);
}

.faq-item.active .faq-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-answer-inner {
    padding-bottom: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.75;
}


/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--whatsapp);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
    z-index: 900;
    cursor: pointer;
    text-decoration: none;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    animation: wa-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45);
    animation: none;
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: #FFFFFF;
}

@keyframes wa-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35); }
    50% { box-shadow: 0 4px 32px rgba(37, 211, 102, 0.55); }
}


/* ============================================
   SERVICE DETAIL PAGE
   ============================================ */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
    border-bottom: 1px solid var(--border-light);
}

.service-detail:last-child {
    border-bottom: none;
}

.service-detail:nth-child(even) {
    direction: rtl;
}

.service-detail:nth-child(even) > * {
    direction: ltr;
}

.service-detail__content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.service-detail__tag {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
}

.service-detail__title {
    font-size: 1.75rem;
}

.service-detail__desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.75;
}

.service-detail__features {
    list-style: none;
    padding: 0;
    margin-top: 0.5rem;
}

.service-detail__features li {
    font-size: 0.95rem;
    color: var(--text-body);
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    position: relative;
}

.service-detail__features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.9rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.6;
}

.service-detail__img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.service-detail__img img {
    width: 100%;
    height: auto;
    display: block;
}


/* ============================================
   ABOUT PAGE — EXPERTISE CARDS
   ============================================ */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.expertise-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-base);
}

.expertise-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.expertise-card__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    border-radius: var(--radius-md);
    background: var(--bg-cream);
    display: flex;
    align-items: center;
    justify-content: center;
}

.expertise-card__icon svg {
    width: 28px;
    height: 28px;
    color: var(--accent);
}

.expertise-card__title {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.expertise-card__desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* About story block */
.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-story__text h2 {
    margin-bottom: 1.5rem;
}

.about-story__text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-body);
}

.about-story__visual {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 3rem;
    border: 1px solid var(--border-light);
    text-align: center;
}

/* Values section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.value-card {
    padding: 2.5rem 2rem;
    text-align: center;
}

.value-card__icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.value-card__title {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.value-card__desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}


/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-content {
    max-width: var(--container-narrow);
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-content h3 {
    font-size: 1.15rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-body);
}

.legal-content ul {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.legal-content ul li {
    list-style: disc;
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-body);
    margin-bottom: 0.25rem;
}

.legal-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.breadcrumb {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.breadcrumb span {
    color: var(--text-body);
    font-weight: 500;
}


/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Fade in only (no translate) */
.reveal-fade {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-fade.visible {
    opacity: 1;
}

/* Scale reveal */
.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-story {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .service-detail {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .service-detail:nth-child(even) {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }

    .section {
        padding: 4rem 0;
    }

    .section--lg {
        padding: 5rem 0;
    }

    /* Header */
    .header-nav {
        display: none;
    }

    .header-cta--desktop {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .mobile-drawer {
        display: block;
    }

    /* Hero */
    .hero--home {
        min-height: auto;
        padding: 5rem 0 4rem;
    }

    .hero-decoration {
        display: none;
    }

    /* Grids */
    .services-grid {
        grid-template-columns: 1fr;
    }

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

    .metric-item {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 2rem 1.5rem;
    }

    .metric-item:last-child {
        border-bottom: none;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .process-grid::before {
        display: none;
    }

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

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

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

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }

    /* WhatsApp */
    .whatsapp-float {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 54px;
        height: 54px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .btn--lg {
        padding: 0.9rem 1.75rem;
    }
}
