/* ============================================
   HTFC Theme — Pure CSS (no Tailwind)
   Exact visual match of React build
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff;
    color: #111827;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

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

@media (min-width: 640px) { .container { padding: 0 24px; } }
@media (min-width: 1024px) { .container { padding: 0 32px; } }

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

/* --- Animations --- */
[data-animate="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
[data-animate="fade-up"].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.htfc-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    transition: background-color 0.3s, box-shadow 0.3s, padding 0.3s;
    padding: 24px 0;
    background: transparent;
}

.htfc-header.scrolled {
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
    padding: 16px 0;
}

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

.header-logo { flex-shrink: 0; }

.logo-img {
    height: 56px;
    width: auto;
    transition: filter 0.3s;
    filter: brightness(0) invert(1);
}

.htfc-header.scrolled .logo-img {
    filter: none;
}

.header-nav {
    display: none;
    align-items: center;
    gap: 32px;
}

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

.nav-link {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.025em;
    color: #ffffff;
    transition: color 0.2s;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-link:hover { color: #e5e7eb; }

.htfc-header.scrolled .nav-link { color: #003D7A; }
.htfc-header.scrolled .nav-link:hover { color: #C85A17; }

.nav-cta {
    display: inline-block;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
    background: #ffffff;
    color: #003D7A;
    box-shadow: 0 4px 6px rgba(0,0,0,.1);
}

.nav-cta:hover {
    background: #f3f4f6;
    box-shadow: 0 10px 15px rgba(0,0,0,.1);
    transform: translateY(-2px);
}

.htfc-header.scrolled .nav-cta {
    background: #C85A17;
    color: #ffffff;
}

.htfc-header.scrolled .nav-cta:hover {
    background: #A64A12;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    color: #ffffff;
    padding: 4px;
}

.htfc-header.scrolled .mobile-menu-toggle { color: #003D7A; }

@media (min-width: 768px) {
    .mobile-menu-toggle { display: none; }
}

/* Mobile nav */
.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 10px 15px rgba(0,0,0,.1);
    padding: 16px 24px;
    flex-direction: column;
    gap: 16px;
    border-top: 1px solid #f3f4f6;
}

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

@media (min-width: 768px) {
    .mobile-nav { display: none !important; }
}

.mobile-nav-link {
    color: #003D7A;
    font-weight: 600;
    font-size: 18px;
    padding: 8px 0;
    border-bottom: 1px solid #f9fafb;
    text-align: left;
}

.mobile-nav-cta {
    display: block;
    width: 100%;
    text-align: center;
    background: #C85A17;
    color: #ffffff;
    font-weight: 700;
    border-radius: 8px;
    padding: 18px;
    margin-top: 8px;
    transition: background 0.3s;
}

.mobile-nav-cta:hover { background: #A64A12; }

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: #003D7A;
    opacity: 0.70;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    margin-top: 40px;
}

.hero-text {
    animation: heroFadeUp 0.8s ease-out both;
}

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-heading {
    font-size: 2.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

@media (min-width: 640px)  { .hero-heading { font-size: 3rem; } }
@media (min-width: 768px)  { .hero-heading { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-heading { font-size: 4.5rem; } }

.hero-heading-accent {
    color: #C85A17;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,.3));
}

.hero-subheading {
    font-size: 1.125rem;
    color: #e5e7eb;
    margin-bottom: 48px;
    font-weight: 500;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.025em;
}

@media (min-width: 640px) { .hero-subheading { font-size: 1.25rem; } }
@media (min-width: 768px) { .hero-subheading { font-size: 1.5rem; } }

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.hero-buttons .btn {
    min-width: 240px;
    text-align: center;
    justify-content: center;
}

@media (min-width: 640px) {
    .hero-buttons { flex-direction: row; }
}

.hero-gradient-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 128px;
    background: linear-gradient(to top, #f9fafb, transparent);
    pointer-events: none;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.125rem;
    border-radius: 8px;
    padding: 18px 32px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    text-decoration: none;
    width: 100%;
}

@media (min-width: 640px) { .btn { width: auto; } }

.btn-primary-hero {
    background: #003D7A;
    color: #ffffff;
    box-shadow: 0 10px 15px rgba(0,0,0,.2);
}

.btn-primary-hero:hover {
    background: #002A5A;
    transform: scale(1.05);
}

.btn-outline-hero {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255,255,255,.8);
    box-shadow: 0 10px 15px rgba(0,0,0,.1);
}

.btn-outline-hero:hover {
    border-color: #C85A17;
    background: #C85A17;
    color: #ffffff;
    transform: scale(1.05);
}

.btn.btn-call-hero {
    background: #C85A17 !important;
    color: #ffffff !important;
    border: 2px solid #C85A17 !important;
    box-shadow: 0 10px 15px rgba(0,0,0,.1);
    padding: 18px 32px;
}

.btn.btn-call-hero:hover {
    background: #A64A12 !important;
    border-color: #A64A12 !important;
    transform: scale(1.05);
}

.btn-submit {
    width: 100%;
    background: #C85A17;
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 14px rgba(200,90,23,.3);
    transition: all 0.3s;
}

.btn-submit:hover {
    background: #A64A12;
    box-shadow: 0 10px 20px rgba(200,90,23,.35);
    transform: translateY(-2px);
}

.btn-submit:disabled {
    opacity: 0.7;
    transform: none;
    cursor: not-allowed;
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #003D7A;
    margin-bottom: 16px;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) { .section-title { font-size: 3rem; } }

.title-underline {
    width: 96px;
    height: 6px;
    background: #C85A17;
    margin: 0 auto;
    border-radius: 9999px;
}

.section-subtitle {
    color: #4b5563;
    font-size: 1.125rem;
    max-width: 42rem;
    margin: 24px auto 0;
    line-height: 1.75;
}

.section-subtitle strong {
    color: #003D7A;
}

/* ============================================
   SERVICES
   ============================================ */
.section-services {
    padding: 96px 0;
    background: #f9fafb;
    position: relative;
    z-index: 10;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 72rem;
    margin: 0 auto;
}

@media (min-width: 768px) { .services-grid { grid-template-columns: 1fr 1fr; } }

.service-card {
    background: #ffffff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,.04), 0 10px 15px rgba(0,0,0,.03);
    border: 1px solid #f3f4f6;
    transition: box-shadow 0.3s, transform 0.3s;
}

.service-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,.08), 0 20px 40px rgba(0,0,0,.04);
}

.service-card-inner {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.service-icon-wrap {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: #003D7A;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 6px rgba(0,61,122,.2);
    transition: transform 0.3s;
}

.service-card:hover .service-icon-wrap {
    transform: scale(1.1);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #003D7A;
    margin-bottom: 12px;
    line-height: 1.2;
}

.service-underline {
    width: 64px;
    height: 4px;
    background: #C85A17;
    margin-bottom: 16px;
    border-radius: 9999px;
    opacity: 0.7;
    transition: width 0.3s;
}

.service-card:hover .service-underline { width: 96px; }

.service-description {
    color: #4b5563;
    line-height: 1.75;
    font-size: 1.125rem;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.section-how-it-works {
    padding: 96px 0;
    background: #ffffff;
}

.section-how-it-works .section-header { margin-bottom: 80px; }

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 72rem;
    margin: 0 auto;
    position: relative;
}

@media (min-width: 768px) {
    .steps-grid { grid-template-columns: repeat(3, 1fr); }
}

.steps-connecting-line {
    display: none;
}

@media (min-width: 768px) {
    .steps-connecting-line {
        display: block;
        position: absolute;
        top: 48px;
        left: 15%;
        right: 15%;
        height: 2px;
        background: #e5e7eb;
        z-index: 0;
    }
}

.step-item {
    text-align: center;
    position: relative;
    z-index: 10;
}

.step-icon-container {
    position: relative;
    display: inline-block;
    margin-bottom: 32px;
}

.step-icon-circle {
    width: 96px;
    height: 96px;
    background: #003D7A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    margin: 0 auto;
    box-shadow: 0 10px 15px rgba(0,61,122,.2);
    border: 4px solid #ffffff;
    transition: transform 0.3s;
}

.step-icon-circle:hover { transform: scale(1.1); }

.step-number {
    position: absolute;
    top: -8px;
    right: -16px;
    width: 40px;
    height: 40px;
    background: #C85A17;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: 0 4px 6px rgba(200,90,23,.3);
    border: 2px solid #ffffff;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #003D7A;
    margin-bottom: 16px;
}

.step-description {
    color: #4b5563;
    line-height: 1.75;
    font-size: 1.125rem;
    padding: 0 16px;
}

/* ============================================
   QUOTE FORM
   ============================================ */
.section-quote {
    padding: 96px 0;
    background: #ffffff;
    position: relative;
}

.quote-bg-skew {
    position: absolute;
    inset: 0;
    background: rgba(0,61,122,.05);
    transform: skewY(2deg);
    transform-origin: top left;
    z-index: 0;
}

.quote-container { position: relative; z-index: 10; }

.quote-form-wrapper {
    max-width: 56rem;
    margin: 0 auto;
    background: #ffffff;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,.05);
    border: 1px solid #f3f4f6;
}

@media (min-width: 768px) { .quote-form-wrapper { padding: 48px; } }

.quote-form { display: flex; flex-direction: column; gap: 24px; }

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

@media (min-width: 768px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-group { display: flex; flex-direction: column; }

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.required { color: #C85A17; }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    background: rgba(249,250,251,.5);
    color: #111827;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #003D7A;
    box-shadow: 0 0 0 3px rgba(0,61,122,.12);
}

.form-group textarea { resize: vertical; }

.error-msg {
    color: #ef4444;
    font-size: 13px;
    margin-top: 4px;
    display: none;
}

.error-msg.show { display: block; }

.form-submit-area { padding-top: 16px; }

.form-helper-text {
    font-size: 14px;
    color: #6b7280;
    margin-top: 16px;
    text-align: center;
    font-weight: 500;
}

/* ============================================
   TRUST / WHY CHOOSE
   ============================================ */
.section-trust {
    padding: 96px 0;
    background: #f9fafb;
    border-top: 1px solid #f3f4f6;
}

.trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 80rem;
    margin: 0 auto;
}

@media (min-width: 768px)  { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }

.trust-card {
    text-align: center;
    padding: 32px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,.04), 0 10px 15px rgba(0,0,0,.03);
    transition: box-shadow 0.3s, transform 0.3s;
}

.trust-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    transform: translateY(-4px);
}

.trust-icon-circle {
    width: 80px;
    height: 80px;
    background: rgba(0,61,122,.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: #003D7A;
}

.trust-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #003D7A;
    margin-bottom: 16px;
    line-height: 1.3;
}

.trust-description {
    color: #4b5563;
    line-height: 1.75;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: #1A1A1A;
    color: #ffffff;
    padding: 80px 0;
    border-top: 4px solid #003D7A;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
}

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 48px; }
}

@media (min-width: 1024px) {
    .footer-grid { gap: 64px; }
}

.footer-logo {
    height: 80px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 24px;
}

.footer-description {
    color: #9ca3af;
    line-height: 1.75;
    max-width: 24rem;
    font-size: 14px;
}

.footer-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 32px;
    position: relative;
    display: inline-block;
}

.footer-heading-underline {
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 48px;
    height: 4px;
    background: #C85A17;
    border-radius: 9999px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-item-address { align-items: flex-start; }

.contact-icon-circle {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: background 0.3s;
}

.contact-item:hover .contact-icon-circle {
    background: #C85A17;
}

.contact-item a,
.contact-item span {
    color: #d1d5db;
    font-weight: 500;
    transition: color 0.2s;
}

.contact-item a:hover { color: #ffffff; }

.contact-item span {
    line-height: 1.75;
    font-size: 14px;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icon-link {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,.1);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-icon-link:hover {
    background: #003D7A;
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,61,122,.3);
}

.social-icon-link svg { opacity: 0.9; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    margin-top: 64px;
    padding-top: 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-bottom p {
    color: #6b7280;
    font-size: 14px;
}

.footer-credit {
    color: #6b7280 !important;
    margin-top: 2px;
}

.footer-credit a {
    color: #6b7280;
    text-decoration: none;
    transition: color .2s;
}

.footer-credit a:hover {
    color: #d1d5db;
    text-decoration: underline;
}

/* ============================================
   FLOATING WHATSAPP
   ============================================ */
.floating-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 64px;
    height: 64px;
    background: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(0,0,0,.2);
    z-index: 100;
    transition: all 0.3s;
    animation: whatsappBounceIn 0.6s 1s both;
}

.floating-whatsapp:hover {
    background: #20bd5a;
    transform: scale(1.1);
}

@keyframes whatsappBounceIn {
    from { opacity: 0; transform: scale(0); }
    to   { opacity: 1; transform: scale(1); }
}

.whatsapp-ping {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
    opacity: 0.75;
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}
