/* ============================================================
   HYBUILD ENGINEERING INC. — Main Stylesheet
   Colors: Navy Blue + White  |  Font: Poppins (headings) / Inter (body)
   ============================================================ */

/* === VARIABLES === */
:root {
    --navy:         #0B1D3A;
    --navy-mid:     #132848;
    --navy-light:   #1A3560;
    --blue:         #2563EB;
    --blue-dark:    #1D4ED8;
    --blue-pale:    #DBEAFE;
    --gold:         #D4A843;
    --white:        #FFFFFF;
    --gray-50:      #F8FAFC;
    --gray-100:     #F1F5F9;
    --gray-200:     #E2E8F0;
    --gray-400:     #94A3B8;
    --gray-600:     #475569;
    --gray-700:     #334155;
    --gray-900:     #0F172A;
    --font-heading: 'Poppins', sans-serif;
    --font-body:    'Inter', sans-serif;
    --transition:   0.3s ease;
    --radius:       8px;
    --radius-lg:    16px;
    --shadow:       0 4px 24px rgba(11, 29, 58, 0.10);
    --shadow-lg:    0 12px 48px rgba(11, 29, 58, 0.18);
    --container:    1200px;
    --header-h:     110px;
    --header-h-scrolled: 68px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    color: var(--gray-700);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    color: var(--navy);
    line-height: 1.2;
    font-weight: 700;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* === LAYOUT === */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-gray { background: var(--gray-50); }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { color: var(--gray-600); max-width: 620px; margin: 0 auto; font-size: 1.05rem; }

.label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 0.75rem;
}
.label-light { color: var(--blue-pale); }

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: var(--radius);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    letter-spacing: 0.02em;
}
.btn-primary {
    background: var(--blue);
    color: var(--white);
    border: 2px solid var(--blue);
}
.btn-primary:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}
.btn-outline-navy {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}
.btn-outline-navy:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-2px);
}
.btn-lg { padding: 1rem 2.4rem; font-size: 1rem; }

/* === DIVIDER LINE === */
.divider {
    width: 56px;
    height: 4px;
    background: var(--blue);
    border-radius: 2px;
    margin: 1rem auto 0;
}
.divider-left { margin-left: 0; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    transition: background var(--transition), box-shadow var(--transition);
    background: transparent;
}
.site-header.scrolled {
    background: var(--navy);
    box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.navbar { width: 100%; }
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    transition: height 0.4s ease;
}
.site-header.scrolled .nav-inner {
    height: var(--header-h-scrolled);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}
.logo-img-wrap {
    background: #ffffff;
    border-radius: 0px 0px 8px 8px;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
    transition: padding 0.4s ease;
    margin-top: -10px;
}
.site-header.scrolled .logo-img-wrap {
    padding: 4px 8px;
}
.logo-img {
    height: 90px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: height 0.4s ease;
}
.site-header.scrolled .logo-img {
    height: 52px;
}
/* Footer logo: inverted to show on dark background */
.logo-img-light {
    filter: brightness(0) invert(1);
    opacity: 0.85;
}
/* Text logo fallback (kept for reference) */
.logo-mark {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
}
.logo-hy    { color: var(--white); }
.logo-build { color: var(--blue); }
.logo-text {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--gray-400);
    letter-spacing: 0.05em;
    line-height: 1;
    padding-top: 2px;
}

/* Nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.nav-link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    padding: 0.5rem 0.9rem;
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
}
.nav-link:hover, .nav-link.active {
    color: var(--white);
    background: rgba(255,255,255,0.08);
}
.nav-link.nav-cta {
    background: var(--blue);
    color: var(--white);
    padding: 0.5rem 1.2rem;
    margin-left: 0.5rem;
}
.nav-link.nav-cta:hover {
    background: var(--blue-dark);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 100vh;
    background:
        linear-gradient(150deg, rgba(11,29,58,0.88) 0%, rgba(19,40,72,0.82) 55%, rgba(15,45,92,0.88) 100%),
        url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 80px;
    background: var(--white);
    clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-content {
    position: relative;
    z-index: 1;
    padding: calc(var(--header-h) + 3rem) 0 6rem;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.3);
    color: var(--blue-pale);
    font-size: 0.82rem;
    font-weight: 500;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}
.hero h1 {
    color: var(--white);
    margin-bottom: 1.25rem;
    max-width: 720px;
}
.hero h1 span { color: var(--blue); }
.hero-sub {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    max-width: 560px;
    margin-bottom: 2.5rem;
    line-height: 1.75;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============================================================
   SERVICES CARDS (Home overview)
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
}
.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}
.service-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--blue-pale);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}
.service-card:hover .service-icon {
    background: var(--blue);
}
.service-icon i {
    font-size: 1.5rem;
    color: var(--blue);
    transition: var(--transition);
}
.service-card:hover .service-icon i { color: var(--white); }

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--navy);
}
.service-card p {
    font-size: 0.92rem;
    color: var(--gray-600);
    line-height: 1.7;
}
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--blue);
    font-weight: 600;
    font-size: 0.88rem;
    margin-top: 1.25rem;
    transition: var(--transition);
}
.card-link:hover { gap: 0.7rem; }

/* ============================================================
   ABOUT SNIPPET (Home)
   ============================================================ */
.about-snippet {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.about-text h2 { margin-bottom: 1rem; }
.about-text p  { color: var(--gray-600); margin-bottom: 1.25rem; }
.about-list {
    margin: 1.5rem 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--gray-700);
}
.about-list li i {
    color: var(--blue);
    margin-top: 3px;
    flex-shrink: 0;
}
.about-visual {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.stat-box {
    text-align: center;
    padding: 1.5rem 1rem;
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.1);
}
.stat-box .stat-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white);
    display: block;
    line-height: 1;
    margin-bottom: 0.4rem;
}
.stat-box .stat-num span { color: var(--blue); }
.stat-box p {
    font-size: 0.8rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}
.why-item {
    text-align: center;
    padding: 2rem 1.5rem;
}
.why-icon {
    width: 72px;
    height: 72px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}
.why-icon i { font-size: 1.75rem; color: var(--blue); }
.why-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: var(--white);
}
.why-item p { font-size: 0.9rem; color: rgba(255,255,255,0.65); margin: 0; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
    background: var(--blue);
    padding: 4rem 0;
    text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-band p  { color: rgba(255,255,255,0.8); margin-bottom: 2rem; font-size: 1.05rem; }
.cta-band .btn-outline { border-color: rgba(255,255,255,0.7); }
.cta-band .btn-outline:hover { background: var(--white); color: var(--blue); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding-top: 4rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo-link { display: inline-block; margin-bottom: 1.25rem; }
.footer-logo-wrap {
    background: #ffffff;
    border-radius: 8px;
    padding: 5px 10px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}
.footer-logo-img {
    height: 120px;
    width: auto;
    object-fit: contain;
    display: block;
}
.footer-company-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin: 0 0 0.3rem;
}
.footer-tagline {
    font-size: 0.85rem;
    color: var(--gray-400);
    line-height: 1.6;
    margin: 0;
}
.footer-heading {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
}
.footer-links li + li { margin-top: 0.6rem; }
.footer-links a {
    font-size: 0.9rem;
    color: var(--gray-400);
    transition: var(--transition);
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }

.footer-contact { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.88rem;
}
.footer-contact i { color: var(--blue); margin-top: 3px; flex-shrink: 0; }
.footer-contact a:hover { color: var(--white); }

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}
.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.07);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: var(--transition);
}
.footer-social a:hover { background: var(--blue); color: var(--white); }

.footer-bottom {
    padding: 1.25rem 0;
    text-align: center;
}
.footer-bottom p { font-size: 0.83rem; color: var(--gray-400); margin: 0; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
    padding: calc(var(--header-h) + 3.5rem) 0 3.5rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(150deg, rgba(11,29,58,0.92) 0%, rgba(19,40,72,0.88) 100%),
        url('https://images.unsplash.com/photo-1486325212027-8081e485255e?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
}
.services-page .page-hero {
    background-image:
        linear-gradient(150deg, rgba(11,29,58,0.90) 0%, rgba(19,40,72,0.85) 100%),
        url('https://images.unsplash.com/photo-1581094288338-2314dddb7ece?auto=format&fit=crop&w=1920&q=80');
}
.about-page .page-hero {
    background-image:
        linear-gradient(150deg, rgba(11,29,58,0.90) 0%, rgba(19,40,72,0.85) 100%),
        url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1920&q=80');
}
.contact-page .page-hero {
    background-image:
        linear-gradient(150deg, rgba(11,29,58,0.90) 0%, rgba(19,40,72,0.85) 100%),
        url('https://images.unsplash.com/photo-1565008447742-97f6f38c985c?auto=format&fit=crop&w=1920&q=80');
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero p  { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 600px; margin: 0; }
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
}
.breadcrumb a { color: rgba(255,255,255,0.55); transition: var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb i { font-size: 0.65rem; }

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.service-section {
    padding: 5rem 0;
    border-bottom: 1px solid var(--gray-200);
}
.service-section:last-child { border-bottom: none; }
.service-section:nth-child(even) { background: var(--gray-50); }

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }

.service-detail-text .label { margin-bottom: 0.5rem; }
.service-detail-text h2 { margin-bottom: 1rem; }
.service-detail-text p  { color: var(--gray-600); }
.service-bullets {
    margin: 1.75rem 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.service-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--gray-700);
    padding: 0.6rem 0.75rem;
    background: var(--gray-50);
    border-radius: var(--radius);
    border-left: 3px solid var(--blue);
}
.service-section:nth-child(even) .service-bullets li { background: var(--white); }
.service-bullets li i { color: var(--blue); flex-shrink: 0; margin-top: 2px; }

.service-visual {
    border-radius: var(--radius-lg);
    min-height: 420px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
}
.service-photo {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.service-visual:hover .service-photo {
    transform: scale(1.04);
}
.service-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11,29,58,0.55) 0%, transparent 55%);
    pointer-events: none;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.mission-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.mission-text h2 { margin-bottom: 1rem; }
.mission-text p  { color: var(--gray-600); }
.mission-image {
    border-radius: var(--radius-lg);
    min-height: 440px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
}
.mission-image img {
    width: 100%;
    height: 100%;
    min-height: 440px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.mission-image:hover img { transform: scale(1.03); }

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}
.value-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}
.value-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
    border-color: var(--blue-pale);
}
.value-card i {
    font-size: 1.75rem;
    color: var(--blue);
    margin-bottom: 1rem;
    display: block;
}
.value-card h4 { margin-bottom: 0.5rem; color: var(--navy); }
.value-card p  { font-size: 0.9rem; color: var(--gray-600); margin: 0; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 4rem;
    align-items: start;
}
.contact-info h3 { margin-bottom: 0.5rem; }
.contact-info > p { color: var(--gray-600); margin-bottom: 2rem; }

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.75rem;
}
.contact-detail-icon {
    width: 48px;
    height: 48px;
    background: var(--blue-pale);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-detail-icon i { color: var(--blue); font-size: 1.1rem; }
.contact-detail h5 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-400);
    margin-bottom: 0.2rem;
    font-weight: 600;
}
.contact-detail p, .contact-detail a {
    font-size: 0.95rem;
    color: var(--gray-700);
    margin: 0;
    transition: var(--transition);
}
.contact-detail a:hover { color: var(--blue); }

/* Contact Form */
.contact-form-wrap {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
}
.contact-form-wrap h3 { margin-bottom: 0.35rem; }
.contact-form-wrap > p { color: var(--gray-600); font-size: 0.92rem; margin-bottom: 2rem; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.form-group {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
}
.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--gray-900);
    background: var(--gray-50);
    transition: var(--transition);
    width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group.full { grid-column: 1 / -1; }

.form-submit { margin-top: 0.5rem; }
.form-submit .btn { width: 100%; justify-content: center; }

.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.alert-success { background: #DCFCE7; color: #166534; border: 1px solid #BBF7D0; }
.alert-error   { background: #FEE2E2; color: #991B1B; border: 1px solid #FECACA; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .about-snippet    { gap: 3rem; }
    .service-detail   { gap: 3rem; }
    .mission-block    { gap: 3rem; }
    .footer-grid      { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .contact-layout   { gap: 2.5rem; }
}

@media (max-width: 768px) {
    :root { --header-h: 68px; }

    /* Nav mobile */
    .nav-toggle { display: flex; }
    .nav-links {
        display: none;
        position: fixed;
        top: var(--header-h);
        left: 0; right: 0;
        background: var(--navy);
        flex-direction: column;
        padding: 1.5rem 1.5rem 2rem;
        gap: 0.25rem;
        box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    }
    .nav-links.open { display: flex; }
    .nav-link { width: 100%; padding: 0.75rem 1rem; }
    .nav-link.nav-cta { margin-left: 0; margin-top: 0.5rem; text-align: center; justify-content: center; }

    /* Layouts */
    .about-snippet    { grid-template-columns: 1fr; gap: 2.5rem; }
    .service-detail   { grid-template-columns: 1fr; gap: 2rem; }
    .service-detail.reverse { direction: ltr; }
    .mission-block    { grid-template-columns: 1fr; gap: 2rem; }
    .contact-layout   { grid-template-columns: 1fr; gap: 2rem; }
    .footer-grid      { grid-template-columns: 1fr; gap: 2rem; }
    .form-row         { grid-template-columns: 1fr; }
    .about-visual     { grid-template-columns: 1fr 1fr; }

    .hero-actions { flex-direction: column; }
    .hero-actions .btn { text-align: center; justify-content: center; }

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

    .section { padding: 3.5rem 0; }
    .section-header { margin-bottom: 2.5rem; }
}

@media (max-width: 480px) {
    .hero-badge { font-size: 0.75rem; }
    .why-grid   { grid-template-columns: 1fr; }
    .about-visual { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 1.75rem; }
}
