/*
 * Pendleton Heating & Cooling - Main Stylesheet
 * Aesthetic: Trusted, professional HVAC — "heating & cooling"
 * Deep navy base with cool blue primary and warm ember-orange accents.
 * NOTE: legacy --fire-* / .fire-text names are kept and remapped to the
 * new palette so the whole site recolors from :root.
 */

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
    /* Core Colors — deep navy base */
    --phoenix-black: #0B1420;
    --phoenix-dark: #0F1C2E;
    --phoenix-charcoal: #16273E;
    --phoenix-gray: #263a56;
    --phoenix-light-gray: #93a4bd;

    /* Brand Palette — blue primary, warm ember accent (legacy --fire-* names kept) */
    --fire-orange: #F26B21;   /* ember accent (heating) */
    --fire-amber: #F5842E;
    --fire-gold: #FBB040;
    --fire-yellow: #FBB040;
    --ember-red: #1E5DA8;     /* primary blue (cooling) */
    --brand-blue: #1E5DA8;
    --brand-blue-light: #3B9FD1;
    --ember-glow: rgba(30, 93, 168, 0.35);

    /* Gradients */
    --fire-gradient: linear-gradient(135deg, #1E5DA8 0%, #2C7FBE 55%, #3B9FD1 100%);  /* primary blue */
    --temp-gradient: linear-gradient(120deg, #3B9FD1 0%, #2C7FBE 32%, #F26B21 100%);  /* cooling → heating accent */
    --ember-gradient: linear-gradient(180deg, var(--fire-orange) 0%, var(--fire-amber) 100%);
    --dark-gradient: linear-gradient(180deg, var(--phoenix-black) 0%, var(--phoenix-dark) 100%);

    /* Typography */
    --font-display: 'Bebas Neue', 'Impact', sans-serif;
    --font-heading: 'Oswald', 'Arial Narrow', sans-serif;
    --font-body: 'Barlow', 'Helvetica Neue', sans-serif;

    /* Spacing */
    --section-padding: clamp(4rem, 10vw, 8rem);
    --container-max: 1400px;

    /* Effects */
    --glow-orange: 0 0 40px rgba(30, 93, 168, 0.4);
    --glow-soft: 0 0 60px rgba(59, 159, 209, 0.2);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--phoenix-black);
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--phoenix-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--fire-gradient);
    border-radius: 4px;
}

/* Selection */
::selection {
    background: var(--fire-orange);
    color: var(--phoenix-black);
}

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

.display-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 12vw, 10rem);
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: 0.9;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--fire-gradient);
    margin-top: 1rem;
}

.section-title.centered::after {
    margin-left: auto;
    margin-right: auto;
}

/* Accent text effect — cooling → heating sweep */
.fire-text {
    background: var(--temp-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-white {
    color: #fff;
    -webkit-text-fill-color: #fff;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar-brand img {
    height: 50px;
    width: auto;
}

.navbar-brand span,
.navbar-brand .brand-text {
    font-family: var(--font-display);
    font-size: 1.8rem;
    letter-spacing: 0.1em;
    color: #fff;
    -webkit-text-fill-color: #fff;
}

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

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition-smooth);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--fire-gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--fire-orange);
}

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

.nav-cta {
    background: var(--fire-gradient);
    padding: 0.75rem 1.5rem !important;
    border-radius: 4px;
    font-weight: 600;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-orange);
}

.nav-cta::after {
    display: none !important;
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: #fff;
    transition: var(--transition-smooth);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--phoenix-black);
}

/* Animated Background */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 100%, rgba(30, 93, 168, 0.15) 0%, transparent 60%);
}

/* Particle Canvas */
#particle-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Gradient Orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 8s ease-in-out infinite;
}

.hero-orb-1 {
    width: 600px;
    height: 600px;
    background: var(--ember-red);
    bottom: -200px;
    left: -100px;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: var(--fire-orange);
    bottom: 100px;
    right: -100px;
    animation-delay: -3s;
}

.hero-orb-3 {
    width: 300px;
    height: 300px;
    background: var(--fire-gold);
    top: 20%;
    left: 30%;
    animation-delay: -5s;
    opacity: 0.2;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    max-width: 1000px;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(30, 93, 168, 0.1);
    border: 1px solid var(--fire-orange);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--fire-orange);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.hero-title {
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-title .line {
    display: block;
}

.hero-title .line-1 {
    color: #fff;
}

.hero-title .line-2 {
    background: var(--fire-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--phoenix-light-gray);
    max-width: 600px;
    margin: 2rem auto;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 30px;
    height: 30px;
    stroke: var(--fire-orange);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--fire-gradient);
    color: #fff;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--fire-gold) 0%, var(--fire-orange) 50%, var(--ember-red) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-orange);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary span {
    position: relative;
    z-index: 1;
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: var(--fire-orange);
    color: var(--fire-orange);
    transform: translateY(-3px);
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
    background: var(--phoenix-charcoal);
    padding: 3rem 2rem;
    position: relative;
}

.stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--fire-gradient);
}

.stats-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

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

.stat-value {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    background: var(--fire-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stat-label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--phoenix-light-gray);
    margin-top: 0.5rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: var(--section-padding) 2rem;
    position: relative;
    overflow: hidden;
}

.about-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.about-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 1.5rem 0;
    line-height: 1.8;
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--fire-gradient);
    opacity: 0.1;
    z-index: 1;
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* Decorative element */
.about-decor {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid var(--fire-orange);
    border-radius: 8px;
    top: -20px;
    right: -20px;
    z-index: -1;
    opacity: 0.3;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: var(--section-padding) 2rem;
    background: var(--phoenix-dark);
    position: relative;
}

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

.services-grid {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* Service Flip Card Container */
.service-card {
    position: relative;
    height: 560px;
    perspective: 1000px;
    cursor: pointer;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.service-card.flipped .service-card-inner {
    transform: rotateX(-180deg);
}

/* Front and Back shared styles */
.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Front of card */
.service-card-front {
    background: var(--phoenix-charcoal);
}

.service-card-front::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--fire-gradient);
    z-index: 10;
}

.service-card-front .service-image {
    height: 280px;
    position: relative;
    overflow: hidden;
}

.service-card-front .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
}

.service-card:hover .service-card-front .service-image img {
    transform: scale(1.1);
}

.service-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, var(--phoenix-charcoal) 100%);
}

.service-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 1rem;
    background: var(--ember-red);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    border-radius: 4px;
    z-index: 2;
}

.service-card-front .service-content {
    padding: 1.5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    height: calc(100% - 280px);
}

.service-icon {
    width: 50px;
    height: 50px;
    background: var(--fire-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.service-icon svg {
    width: 24px;
    height: 24px;
    stroke: #fff;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.service-subtitle {
    color: var(--fire-orange);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.service-hook {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

.service-tap-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--phoenix-light-gray);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.service-card:hover .service-tap-hint {
    opacity: 1;
    transform: translateY(0);
}

.service-tap-hint svg {
    width: 16px;
    height: 16px;
    stroke: var(--fire-orange);
}

/* Back of card */
.service-card-back {
    background: var(--phoenix-charcoal);
    transform: rotateX(180deg);
    display: flex;
    flex-direction: column;
    padding: 2rem;
    border: 2px solid var(--fire-orange);
}

.service-back-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--phoenix-gray);
}

.service-back-header .service-icon {
    margin-bottom: 0;
    flex-shrink: 0;
}

.service-back-header-text .service-title {
    margin-bottom: 0.25rem;
}

.service-back-header-text .service-subtitle {
    margin-bottom: 0;
}

.service-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.service-details {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-style: italic;
}

.service-features {
    list-style: none;
    margin-bottom: 1rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
}

.service-features li::before {
    content: '→';
    color: var(--fire-orange);
    font-weight: bold;
}

.service-note {
    font-size: 0.8rem;
    color: var(--phoenix-light-gray);
    font-style: italic;
    margin-bottom: 1rem;
}

.service-back-cta {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #fff;
    background: var(--fire-gradient);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.service-link:hover {
    box-shadow: var(--glow-orange);
    transform: translateY(-2px);
}

.service-back-hint {
    text-align: center;
    font-size: 0.8rem;
    color: var(--phoenix-light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.service-back-hint svg {
    width: 14px;
    height: 14px;
    stroke: var(--phoenix-light-gray);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    padding: var(--section-padding) 2rem;
    background: var(--phoenix-black);
}

.features-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(30, 93, 168, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--fire-orange);
    transition: var(--transition-smooth);
}

.feature-item:hover .feature-icon {
    background: var(--fire-gradient);
    border-color: transparent;
    transform: scale(1.1);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--fire-orange);
    transition: var(--transition-smooth);
}

.feature-item:hover .feature-icon svg {
    stroke: #fff;
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.feature-description {
    color: var(--phoenix-light-gray);
    font-size: 0.95rem;
}

/* ============================================
   COACHES SECTION
   ============================================ */
.coaches {
    padding: var(--section-padding) 2rem;
    background: var(--phoenix-dark);
    position: relative;
}

.coaches-header {
    text-align: center;
    margin-bottom: 4rem;
}

.coaches-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Flip Card Container */
.coach-card {
    position: relative;
    height: 420px;
    perspective: 1000px;
    cursor: pointer;
}

.coach-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.coach-card.flipped .coach-card-inner {
    transform: rotateY(180deg);
}

/* Front and Back shared styles */
.coach-card-front,
.coach-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
}

/* Front of card */
.coach-card-front {
    background: var(--phoenix-charcoal);
}

.coach-card-front .coach-image {
    height: 100%;
    position: relative;
    overflow: hidden;
}

.coach-card-front .coach-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.coach-card:hover .coach-card-front .coach-image img {
    transform: scale(1.05);
}

.coach-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, var(--phoenix-charcoal) 100%);
}

.coach-card-front .coach-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    z-index: 2;
}

.coach-name {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 0.05em;
    color: #fff;
    margin: 0;
}

.coach-title {
    color: var(--fire-orange);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

/* Tap hint */
.coach-tap-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--phoenix-light-gray);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.coach-card:hover .coach-tap-hint {
    opacity: 1;
    transform: translateY(0);
}

.coach-tap-hint svg {
    width: 16px;
    height: 16px;
    stroke: var(--fire-orange);
}

/* Back of card */
.coach-card-back {
    background: var(--phoenix-charcoal);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    padding: 2rem;
    border: 2px solid var(--fire-orange);
}

.coach-card-back .coach-back-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--phoenix-gray);
}

.coach-card-back .coach-name {
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
}

.coach-card-back .coach-title {
    margin-bottom: 0;
}

.coach-bio {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.coach-certs {
    margin-bottom: 1.5rem;
}

.coach-certs-title {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--fire-orange);
    margin-bottom: 0.75rem;
}

.coach-certs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.coach-cert-badge {
    padding: 0.35rem 0.75rem;
    background: rgba(242, 107, 33, 0.15);
    border: 1px solid var(--fire-orange);
    border-radius: 4px;
    font-size: 0.75rem;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    color: var(--fire-gold);
}

.coach-back-footer {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--phoenix-gray);
}

.coach-back-hint {
    font-size: 0.8rem;
    color: var(--phoenix-light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.coach-back-hint svg {
    width: 14px;
    height: 14px;
    stroke: var(--phoenix-light-gray);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    padding: var(--section-padding) 2rem;
    background: var(--phoenix-black);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '"';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: 50vw;
    color: rgba(30, 93, 168, 0.03);
    pointer-events: none;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.testimonials-slider {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.testimonial-card {
    background: var(--phoenix-charcoal);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    position: relative;
    border: 1px solid rgba(30, 93, 168, 0.1);
}

.testimonial-quote {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.testimonial-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.testimonial-result {
    color: var(--fire-orange);
    font-size: 0.85rem;
    font-family: var(--font-heading);
    letter-spacing: 0.1em;
}

/* Testimonial Navigation */
.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--phoenix-gray);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.testimonial-dot.active,
.testimonial-dot:hover {
    background: var(--fire-orange);
    transform: scale(1.2);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    padding: var(--section-padding) 2rem;
    background: var(--phoenix-charcoal);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(30, 93, 168, 0.15) 0%, transparent 60%);
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: var(--phoenix-light-gray);
    margin-bottom: 2rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--phoenix-black);
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand img {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--phoenix-light-gray);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--fire-orange);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--phoenix-light-gray);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

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

.footer-contact p {
    color: var(--phoenix-light-gray);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: var(--fire-orange);
    text-decoration: none;
}

.footer-bottom {
    max-width: var(--container-max);
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--phoenix-light-gray);
    font-size: 0.85rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--phoenix-charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.footer-social a:hover {
    background: var(--fire-orange);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    stroke: #fff;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-card {
        height: 540px;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-visual {
        order: -1;
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--phoenix-black);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: right 0.4s ease;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .service-card {
        height: 580px;
    }
    
    .service-tap-hint {
        opacity: 1;
        transform: translateY(0);
    }
    
    .features-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .coaches-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
    }
    
    .coach-card {
        height: 380px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-tagline {
        margin: 0 auto;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .display-title {
        font-size: 3rem;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .coaches-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
    }
    
    .coach-card {
        height: 400px;
    }
    
    .coach-tap-hint {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   PENDLETON — component overrides (icon-forward, photo-free)
   Appended after base rules so these win. Legacy structure
   from the fitness base is reworked here for an HVAC site.
   ============================================================ */

/* Navbar scrolled bg -> navy to match theme */
.navbar.scrolled {
    background: rgba(11, 20, 32, 0.95);
}

/* Brand lockup (text + dial mark), replaces logo image */
.navbar-brand { text-decoration: none; }
.brand-mark {
    width: 40px; height: 40px;
    color: var(--brand-blue-light);
    display: inline-flex;
    flex-shrink: 0;
}
.brand-mark svg { width: 100%; height: 100%; }
.navbar-brand .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    color: #fff;
    -webkit-text-fill-color: #fff;
}
.navbar-brand .brand-text em {
    font-style: normal;
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    color: var(--fire-orange);
    -webkit-text-fill-color: var(--fire-orange);
}

/* ---- Service cards: icon band instead of photo ---- */
.service-card { height: 470px; }
.service-card-front { display: flex; flex-direction: column; }

.service-visual {
    height: 150px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-accent, var(--brand-blue));
    overflow: hidden;
}
.service-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 25%, rgba(255,255,255,0.22) 0%, transparent 45%),
        linear-gradient(160deg, rgba(255,255,255,0.10) 0%, rgba(0,0,0,0.35) 100%);
}
.service-visual-icon {
    position: relative;
    z-index: 1;
    width: 84px; height: 84px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 18px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.28);
    backdrop-filter: blur(2px);
}
.service-visual-icon svg { width: 44px; height: 44px; stroke: #fff; }

/* content fills remaining height (base had a fixed calc for a 280px photo) */
.service-card-front .service-content {
    height: auto;
    flex: 1;
    padding: 1.5rem 1.75rem 1.75rem;
}
.service-subtitle { color: var(--fire-orange); }

/* badge -> warm ember so it pops on the blue band */
.service-badge {
    background: var(--fire-orange);
    box-shadow: 0 4px 14px rgba(242,107,33,0.45);
}

/* back-of-card accent uses each service's own color */
.service-card-back { border-color: var(--card-accent, var(--fire-orange)); }
.service-back-header .service-icon { background: var(--card-accent, var(--fire-gradient)); }
.service-link { background: var(--card-accent, var(--brand-blue)); }

/* ---- About: credentials card replaces the photo ---- */
.credentials-card {
    position: relative;
    z-index: 2;
    background: var(--phoenix-charcoal);
    border: 1px solid rgba(255,255,255,0.06);
    border-top: 4px solid var(--fire-orange);
    border-radius: 12px;
    padding: 2.25rem;
    box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}
.credentials-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1.5rem;
}
.credentials-list { list-style: none; }
.credentials-list li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
}
.credentials-list li:last-child { border-bottom: none; }
.credentials-list svg {
    width: 22px; height: 22px;
    stroke: var(--brand-blue-light);
    flex-shrink: 0;
}
.credentials-list strong { color: #fff; font-weight: 600; }
.credentials-hours {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-family: var(--font-heading);
    letter-spacing: 0.06em;
    color: var(--phoenix-light-gray);
}
.credentials-hours a {
    color: var(--fire-orange);
    text-decoration: none;
    font-size: 1.2rem;
}

/* ---- Team: monogram cards replace photos ---- */
.team-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 760px;
}
.coach-monogram {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(150deg, var(--brand-blue) 0%, #123a63 55%, #7a3f14 190%);
}
.coach-monogram::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(11,20,32,0.9) 100%);
}
.coach-initial {
    position: relative;
    font-family: var(--font-display);
    font-size: 7rem;
    line-height: 1;
    color: rgba(255,255,255,0.92);
    text-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

/* ---- Footer brand text (replaces logo image) ---- */
.footer-brand-name {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
}
.footer-brand-name em {
    font-style: normal;
    color: var(--fire-orange);
}
.footer-credit { color: var(--phoenix-light-gray); }

/* ============================================================
   Responsive tweaks for the reworked cards
   ============================================================ */
@media (max-width: 1024px) {
    .service-card { height: 480px; }
}
@media (max-width: 768px) {
    .service-card { height: 470px; }
    .team-grid { grid-template-columns: repeat(2, 1fr); max-width: 620px; }
    .navbar-brand .brand-text { font-size: 1rem; }
}
@media (max-width: 480px) {
    .team-grid { grid-template-columns: 1fr; max-width: 340px; }
    .coach-card { height: 400px; }
}

/* ============================================================
   ESTIMATOR / TOOL PAGES (dark, on-brand)
   ============================================================ */
body.tool-page { padding-top: 76px; }

.tool-bar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.85rem 1.75rem;
    background: rgba(11, 20, 32, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.tool-brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.tool-brand .brand-text { display: flex; flex-direction: column; line-height: 1.05; font-family: var(--font-heading); font-size: 1.1rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; color: #fff; }
.tool-brand .brand-text em { font-style: normal; font-size: 0.66rem; letter-spacing: 0.2em; color: var(--fire-orange); }
.tool-bar-actions { display: flex; align-items: center; gap: 1.25rem; }
.tool-link { color: var(--phoenix-light-gray); text-decoration: none; font-family: var(--font-heading); letter-spacing: 0.05em; font-size: 0.9rem; background: none; border: none; cursor: pointer; }
.tool-link:hover { color: var(--fire-orange); }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.85rem; }

.est-wrap { max-width: 1080px; margin: 0 auto; padding: 2.5rem 1.5rem 5rem; }
.est-head { text-align: center; margin-bottom: 2rem; }
.est-head .hero-badge { opacity: 1; animation: none; margin-bottom: 1rem; }
.est-sub { color: var(--phoenix-light-gray); max-width: 640px; margin: 1rem auto 0; font-size: 1.05rem; }
.est-error { background: rgba(242,107,33,0.12); border: 1px solid var(--fire-orange); color: #ffd9c2; padding: 0.9rem 1.25rem; border-radius: 8px; text-align: center; margin-bottom: 1.5rem; }

/* progress */
.est-progress { display: flex; justify-content: center; gap: 0.5rem; list-style: none; margin: 0 auto 2.5rem; flex-wrap: wrap; }
.est-progress li { display: flex; align-items: center; gap: 0.5rem; color: var(--phoenix-light-gray); font-family: var(--font-heading); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.8rem; padding: 0.4rem 0.9rem; border-radius: 50px; border: 1px solid rgba(255,255,255,0.08); }
.est-progress li span { width: 22px; height: 22px; border-radius: 50%; background: var(--phoenix-gray); display: grid; place-items: center; font-size: 0.8rem; color: #fff; }
.est-progress li.active { color: #fff; border-color: var(--brand-blue-light); }
.est-progress li.active span { background: var(--fire-gradient); }
.est-progress li.done span { background: var(--fire-orange); }

/* steps */
.est-step { display: none; animation: fadeInUp 0.4s ease; }
.est-step.active { display: block; }

/* step 1: equipment */
.equip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; max-width: 680px; margin: 0 auto; }
.equip-card { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; padding: 2.5rem 1.5rem; background: var(--phoenix-charcoal); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; cursor: pointer; transition: var(--transition-smooth); color: #fff; text-align: center; }
.equip-card:hover, .equip-card.selected { border-color: var(--brand-blue-light); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.35); }
.equip-icon { width: 76px; height: 76px; border-radius: 18px; background: var(--fire-gradient); display: grid; place-items: center; }
.equip-icon svg { width: 38px; height: 38px; stroke: #fff; }
.equip-name { font-family: var(--font-heading); font-size: 1.4rem; text-transform: uppercase; letter-spacing: 0.05em; }
.equip-desc { color: var(--phoenix-light-gray); font-size: 0.95rem; }

/* step 2: tiers */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.tier-card { position: relative; display: flex; flex-direction: column; background: var(--phoenix-charcoal); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 1.75rem 1.5rem; transition: var(--transition-smooth); }
.tier-card:hover { border-color: var(--brand-blue-light); transform: translateY(-4px); }
.tier-card.selected { border-color: var(--fire-orange); }
.tier-flag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--fire-orange); color: #fff; font-family: var(--font-heading); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.25rem 0.85rem; border-radius: 50px; white-space: nowrap; }
.tier-name { font-size: 1.5rem; margin-bottom: 0.25rem; }
.tier-tagline { color: var(--fire-orange); font-family: var(--font-heading); font-size: 0.8rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 1rem; min-height: 2.2em; }
.tier-price { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; margin-bottom: 1.25rem; }
.tier-price span { background: var(--fire-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.tier-items { list-style: none; margin-bottom: 1.5rem; flex-grow: 1; }
.tier-items li { display: flex; justify-content: space-between; gap: 0.75rem; font-size: 0.85rem; color: rgba(255,255,255,0.8); padding: 0.4rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.tier-items li em { color: #fff; font-style: normal; white-space: nowrap; }
.tier-pick { width: 100%; justify-content: center; }
.est-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 2rem; gap: 1rem; }

/* step 3: contact */
.est-summary { margin-bottom: 1.5rem; }
.sum-line { display: flex; justify-content: space-between; align-items: center; background: var(--phoenix-charcoal); border: 1px solid rgba(255,255,255,0.08); border-left: 4px solid var(--fire-orange); border-radius: 8px; padding: 1rem 1.25rem; font-family: var(--font-heading); letter-spacing: 0.03em; }
.sum-line strong { font-size: 1.6rem; color: var(--brand-blue-light); }
.sum-note { color: var(--phoenix-light-gray); font-size: 0.85rem; margin-top: 0.5rem; }
.contact-card { background: var(--phoenix-charcoal); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 2rem; max-width: 720px; margin: 0 auto; }
.contact-card h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.contact-note { color: var(--phoenix-light-gray); font-size: 0.95rem; margin-bottom: 1.5rem; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field-grid label { display: flex; flex-direction: column; gap: 0.35rem; font-family: var(--font-heading); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--phoenix-light-gray); }
.field-grid .field-wide { grid-column: 1 / -1; }
.field-grid input { padding: 0.8rem 1rem; background: var(--phoenix-dark); border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; color: #fff; font-family: var(--font-body); font-size: 1rem; }
.field-grid input:focus { outline: none; border-color: var(--brand-blue-light); }
.contact-fineprint { color: var(--phoenix-light-gray); font-size: 0.78rem; margin-top: 1.25rem; }

/* result page */
.result-banner { display: flex; align-items: center; gap: 1.25rem; background: var(--phoenix-charcoal); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 1.75rem; margin-bottom: 1.75rem; }
.result-check { flex-shrink: 0; width: 54px; height: 54px; border-radius: 50%; background: var(--fire-gradient); display: grid; place-items: center; }
.result-check svg { width: 28px; height: 28px; stroke: #fff; }
.result-banner h1 { font-size: 1.6rem; margin-bottom: 0.35rem; }
.result-banner p { color: var(--phoenix-light-gray); }
.estimate-doc { background: #fff; color: #1a2432; border-radius: 14px; padding: 2.25rem; box-shadow: 0 30px 60px rgba(0,0,0,0.35); }
.estimate-doc-head { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 1.25rem; border-bottom: 2px solid #eef2f7; margin-bottom: 1.25rem; flex-wrap: wrap; gap: 1rem; }
.doc-label { font-family: var(--font-heading); letter-spacing: 0.15em; text-transform: uppercase; color: var(--brand-blue); font-size: 0.85rem; }
.doc-id { font-family: var(--font-display); font-size: 2rem; color: #1a2432; }
.doc-meta { text-align: right; color: #5b6a7d; font-size: 0.9rem; line-height: 1.5; }
.doc-group { margin-bottom: 1rem; }
.doc-group-title { font-family: var(--font-heading); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; color: var(--brand-blue); background: #eef3f9; padding: 0.4rem 0.75rem; border-radius: 5px; margin-bottom: 0.5rem; }
.doc-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0.75rem; border-bottom: 1px solid #eef2f7; font-size: 0.98rem; }
.doc-row em { font-style: normal; font-weight: 600; }
.doc-total { display: flex; justify-content: space-between; align-items: center; background: var(--phoenix-black); color: #fff; border-radius: 8px; padding: 1rem 1.25rem; margin-top: 1.25rem; }
.doc-total span { font-family: var(--font-heading); letter-spacing: 0.05em; text-transform: uppercase; }
.doc-total strong { font-family: var(--font-display); font-size: 1.9rem; color: var(--brand-blue-light); }
.doc-fine { color: #7a889a; font-size: 0.78rem; margin-top: 1rem; line-height: 1.5; }
.result-actions { display: flex; align-items: center; gap: 1rem; margin-top: 1.75rem; flex-wrap: wrap; justify-content: center; }

@media (max-width: 820px) {
    .tier-grid { grid-template-columns: 1fr; }
    .est-progress li span { width: 20px; height: 20px; }
}
@media (max-width: 560px) {
    .equip-grid { grid-template-columns: 1fr; }
    .field-grid { grid-template-columns: 1fr; }
    .tool-brand .brand-text { font-size: 0.95rem; }
    .est-progress li { font-size: 0.7rem; padding: 0.35rem 0.6rem; }
}
