/* ============================================
   Padres Medical Imaging — Custom Styles
   Classic & Elegant | Deep Navy + Warm Gold
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --navy-950: #0a1628;
    --navy-900: #0f1f36;
    --navy-800: #1e3a5f;
    --navy-700: #264a73;
    --navy-600: #2d5580;
    --navy-500: #3a6a99;
    --navy-100: #d0e0f0;
    --navy-50:  #eaf3fa;

    --gold-600: #a07c2e;
    --gold-500: #c9a84c;
    --gold-400: #d4b85e;
    --gold-300: #e0c97a;
    --gold-200: #f0e0a8;
    --gold-100: #f8f0d0;

    --cream-50:  #faf8f4;
    --cream-100: #f5f0e8;
    --cream-200: #ece4d4;

    --stone-900: #1a1a1a;
    --stone-800: #2d2d2d;
    --stone-700: #404040;
    --stone-600: #525252;
    --stone-500: #6b6b6b;
    --stone-400: #8c8c8c;
    --stone-300: #b0b0b0;
    --stone-200: #d1d1d1;
    --stone-100: #e8e8e8;
    --stone-50:  #f4f4f4;

    --white: #ffffff;

    --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --sans:  'Lato', 'Segoe UI', system-ui, -apple-system, sans-serif;

    --shadow-sm:  0 1px 3px rgba(10, 22, 40, 0.06), 0 1px 2px rgba(10, 22, 40, 0.04);
    --shadow-md:  0 4px 16px rgba(10, 22, 40, 0.08), 0 2px 4px rgba(10, 22, 40, 0.04);
    --shadow-lg:  0 12px 40px rgba(10, 22, 40, 0.12), 0 4px 12px rgba(10, 22, 40, 0.06);
    --shadow-xl:  0 24px 60px rgba(10, 22, 40, 0.16), 0 8px 20px rgba(10, 22, 40, 0.08);

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

    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--sans);
    color: var(--stone-800);
    background-color: var(--cream-50);
    line-height: 1.7;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--navy-900);
}

.gold {
    color: var(--gold-500);
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(30, 58, 95, 0.06);
    transition: box-shadow var(--transition-base);
}

.nav.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--navy-800);
    letter-spacing: -0.01em;
}

.nav-logo-text .gold {
    color: var(--gold-500);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--stone-600);
    letter-spacing: 0.02em;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold-500);
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: var(--navy-800);
}

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--white);
    background: var(--navy-800);
    padding: 10px 20px;
    border-radius: 50px;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.nav-cta:hover {
    background: var(--navy-700);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle-bar {
    width: 24px;
    height: 2px;
    background: var(--navy-800);
    border-radius: 2px;
    transition: var(--transition-base);
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--navy-900);
    overflow: hidden;
    padding-top: 76px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 22, 40, 0.92) 0%,
        rgba(30, 58, 95, 0.85) 50%,
        rgba(10, 22, 40, 0.78) 100%
    );
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/139398/thermometer-headache-pain-pills-139398.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center/cover no-repeat;
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--sans);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-400);
    margin-bottom: 28px;
}

.badge-line {
    width: 32px;
    height: 1.5px;
    background: var(--gold-500);
}

.hero-headline {
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-headline em {
    font-style: italic;
    color: var(--gold-400);
}

.hero-subheadline {
    font-size: 1.12rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 40px;
    max-width: 520px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 52px;
}

.hero-trust {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--gold-500);
    color: var(--navy-900);
}

.btn-primary:hover {
    background: var(--gold-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--navy-800);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-text {
    background: none;
    border: none;
    color: var(--navy-500);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 8px 0;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.btn-text:hover {
    color: var(--navy-800);
}

/* --- Hero Image --- */
.hero-image {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-image-wrapper img {
    width: 100%;
    height: 720px;
    object-fit: cover;
}

.hero-image-accent {
    position: absolute;
    inset: 16px;
    border: 1.5px solid rgba(201, 168, 76, 0.3);
    border-radius: var(--radius-lg);
    pointer-events: none;
}

.hero-floating-card {
    position: absolute;
    bottom: -20px;
    left: -30px;
    background: var(--white);
    padding: 24px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.floating-card-number {
    font-family: var(--serif);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold-500);
    line-height: 1;
}

.floating-card-label {
    font-size: 0.82rem;
    color: var(--stone-500);
    font-weight: 500;
    line-height: 1.4;
}

/* --- Section Styles --- */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-600);
    margin-bottom: 16px;
}

.section-tag-light {
    color: var(--gold-400);
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.section-title-light {
    color: var(--white);
}

.section-title em {
    font-style: italic;
    color: var(--gold-400);
}

.section-subtitle {
    font-size: 1.08rem;
    line-height: 1.8;
    color: var(--stone-500);
    font-weight: 400;
}

.section-subtitle-light {
    color: rgba(255, 255, 255, 0.7);
}

/* --- Services Section --- */
.services {
    padding: 120px 0;
    background: var(--cream-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(30, 58, 95, 0.06);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-50);
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    color: var(--navy-800);
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background: var(--navy-800);
    color: var(--gold-400);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--stone-600);
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--navy-800);
    transition: gap var(--transition-fast);
}

.service-link:hover {
    gap: 10px;
    color: var(--gold-600);
}

/* --- About Section --- */
.about {
    padding: 120px 0;
    background: var(--white);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: 640px;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 5px solid var(--white);
}

.about-img-secondary img {
    width: 400px;
    height: 300px;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 130px;
    height: 130px;
    background: var(--navy-800);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.exp-number {
    font-family: var(--serif);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--gold-500);
    line-height: 1;
}

.exp-label {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
}

.about-content {
    padding: 20px 0;
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--stone-600);
    margin-bottom: 20px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 40px;
}

.value-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.value-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream-100);
    border-radius: var(--radius-sm);
}

.value-item h4 {
    font-family: var(--serif);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.value-item p {
    font-size: 0.9rem;
    color: var(--stone-500);
    line-height: 1.7;
}

/* --- Technology Section --- */
.technology {
    padding: 120px 0;
    background: var(--navy-900);
    position: relative;
    overflow: hidden;
}

.technology::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 64px;
}

.tech-stat {
    text-align: center;
    padding: 32px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.tech-stat:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(201, 168, 76, 0.3);
    transform: translateY(-2px);
}

.tech-stat-number {
    font-family: var(--serif);
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--gold-400);
    line-height: 1;
    margin-bottom: 12px;
}

.tech-stat-label {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.65;
}

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

.tech-image-row img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-md);
    transition: transform var(--transition-slow);
}

.tech-image-row img:hover {
    transform: scale(1.02);
}

/* --- Testimonials Section --- */
.testimonials {
    padding: 120px 0;
    background: var(--cream-100);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius-md);
    position: relative;
    border: 1px solid rgba(30, 58, 95, 0.05);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.testimonial-quote-mark {
    font-family: var(--serif);
    font-size: 5rem;
    line-height: 0.8;
    color: var(--gold-200);
    position: absolute;
    top: 20px;
    left: 28px;
    pointer-events: none;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--stone-600);
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-50);
    border-radius: 50%;
    color: var(--navy-700);
}

.author-name {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy-800);
}

.author-detail {
    font-size: 0.82rem;
    color: var(--stone-400);
    margin-top: 2px;
}

/* --- CTA Section --- */
.cta-section {
    position: relative;
    padding: 120px 0;
    background: var(--navy-800);
    overflow: hidden;
}

.cta-bg-pattern {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(201, 168, 76, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(201, 168, 76, 0.07) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Contact Section --- */
.contact {
    padding: 120px 0;
    background: var(--white);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

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

.contact-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    background: var(--cream-50);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.contact-card:hover {
    background: var(--navy-50);
    transform: translateX(4px);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.contact-card h4 {
    font-family: var(--serif);
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.contact-card p {
    font-size: 0.92rem;
    color: var(--stone-500);
    line-height: 1.7;
}

.contact-card a {
    color: var(--navy-700);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.contact-card a:hover {
    color: var(--gold-600);
}

.contact-map {
    margin-top: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* --- Contact Form --- */
.contact-form-wrapper {
    background: var(--cream-50);
    padding: 44px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(30, 58, 95, 0.06);
}

.contact-form-wrapper h3 {
    font-family: var(--serif);
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 0.92rem;
    color: var(--stone-500);
    margin-bottom: 32px;
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy-800);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    font-family: var(--sans);
    font-size: 0.95rem;
    color: var(--stone-800);
    background: var(--white);
    border: 1.5px solid var(--stone-200);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold-500);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--stone-300);
}

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

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success.active {
    display: block;
}

.success-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-50);
    border-radius: 50%;
    margin: 0 auto 20px;
}

.form-success h4 {
    font-family: var(--serif);
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.form-success p {
    font-size: 0.95rem;
    color: var(--stone-500);
    margin-bottom: 20px;
}

/* --- Footer --- */
.footer {
    background: var(--navy-950);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.75;
    max-width: 280px;
}

.footer-links h5,
.footer-contact h5 {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gold-400);
}

.footer-contact p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.55);
    transition: color var(--transition-fast);
}

.footer-contact a:hover {
    color: var(--gold-400);
}

.footer-bottom {
    padding: 28px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-legal {
    max-width: 500px;
    text-align: right;
}

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 0;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-image-wrapper img {
        height: 500px;
    }

    .hero-subheadline {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-trust {
        align-items: center;
    }

    .hero-floating-card {
        left: 50%;
        transform: translateX(-50%);
    }

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

    .about-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-img-secondary {
        right: 20px;
    }

    .about-experience-badge {
        right: 10px;
        top: -10px;
        width: 100px;
        height: 100px;
    }

    .exp-number {
        font-size: 1.8rem;
    }

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

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

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

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 32px 24px;
        gap: 20px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        transition: transform var(--transition-base);
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-cta {
        justify-content: center;
    }

    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .hero-image-wrapper img {
        height: 400px;
    }

    .hero-floating-card {
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        padding: 16px 20px;
    }

    .floating-card-number {
        font-size: 1.6rem;
    }

    .services {
        padding: 80px 0;
    }

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

    .about {
        padding: 80px 0;
    }

    .about-img-main img {
        height: 400px;
    }

    .about-img-secondary {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 16px;
        border: 3px solid var(--white);
    }

    .about-img-secondary img {
        width: 100%;
        height: 240px;
    }

    .about-experience-badge {
        position: relative;
        top: auto;
        right: auto;
        margin-top: 16px;
        align-self: flex-start;
    }

    .technology {
        padding: 80px 0;
    }

    .tech-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .tech-image-row {
        grid-template-columns: 1fr;
    }

    .tech-image-row img {
        height: 260px;
    }

    .testimonials {
        padding: 80px 0;
    }

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

    .cta-section {
        padding: 80px 0;
    }

    .contact {
        padding: 80px 0;
    }

    .contact-form-wrapper {
        padding: 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer {
        padding: 60px 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

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

    .footer-legal {
        text-align: center;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-headline {
        font-size: 2rem;
    }

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

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

    .section-title {
        font-size: 1.7rem;
    }

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

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

    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
