/* ============================================
   Spanish Fort Internal Medicine — Styles
   ============================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'DM Sans', sans-serif;
    color: #1a1a2e;
    background: #fefefe;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Geometric Background Shapes
   ============================================ */
.geo-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: 0.06;
}

.geo-circle-1 {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: #6B3A7D;
    top: -150px;
    right: -150px;
}

.geo-circle-2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: #f59e0b;
    bottom: 20%;
    left: -80px;
}

.geo-square-1 {
    width: 180px;
    height: 180px;
    background: #6B3A7D;
    top: 50%;
    right: 5%;
    transform: rotate(45deg);
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid #f59e0b;
    top: 40%;
    left: 3%;
    opacity: 0.04;
}

.geo-circle-3 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #f59e0b;
    bottom: 10%;
    right: 10%;
    opacity: 0.04;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 254, 254, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(107, 58, 125, 0.08);
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.nav.scrolled {
    background: rgba(254, 254, 254, 0.95);
    box-shadow: 0 4px 30px rgba(107, 58, 125, 0.1);
}

.nav-container {
    max-width: 1200px;
    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-weight: 700;
    font-size: 15px;
    line-height: 1.2;
    color: #6B3A7D;
    letter-spacing: -0.01em;
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
}

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

.nav-link {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
    color: #6B3A7D;
    background: rgba(107, 58, 125, 0.06);
}

.nav-cta {
    margin-left: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    background: #6B3A7D;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
    background: #5a2e6b;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(107, 58, 125, 0.3);
}

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

.nav-bar {
    width: 24px;
    height: 2px;
    background: #6B3A7D;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

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

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

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

/* ============================================
   Hero
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a0a2e 0%, #6B3A7D 40%, #8B4597 65%, #d4845a 85%, #f59e0b 100%);
    padding-top: 76px;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 50%, rgba(107, 58, 125, 0.6) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 80% 30%, rgba(245, 158, 11, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 60% 80%, rgba(107, 58, 125, 0.4) 0%, transparent 50%);
    pointer-events: none;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    color: #fde68a;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 520px;
}

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

.hero-stats {
    display: flex;
    gap: 32px;
    align-items: center;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat-number {
    font-size: 15px;
    font-weight: 700;
    color: #fde68a;
    letter-spacing: 0.02em;
}

.hero-stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2px;
}

.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 640px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
}

.hero-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: #f59e0b;
    border-radius: 20px;
    z-index: -1;
    opacity: 0.6;
}

.hero-geo-circle {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    top: 10%;
    right: -5%;
    pointer-events: none;
}

.hero-geo-dots {
    position: absolute;
    width: 120px;
    height: 120px;
    bottom: 15%;
    left: 48%;
    background-image: radial-gradient(circle, rgba(253, 230, 138, 0.5) 2px, transparent 2px);
    background-size: 16px 16px;
    pointer-events: none;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-primary {
    background: #f59e0b;
    color: #1a1a2e;
}

.btn-primary:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

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

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 14px;
}

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

/* ============================================
   Section Shared
   ============================================ */
.section-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: rgba(107, 58, 125, 0.08);
    color: #6B3A7D;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-tag--light {
    background: rgba(255, 255, 255, 0.15);
    color: #fde68a;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-title--light {
    color: #fff;
}

.section-subtitle {
    font-size: 17px;
    color: #6b7280;
    line-height: 1.7;
    max-width: 560px;
}

/* ============================================
   Services
   ============================================ */
.services {
    padding: 120px 0;
    position: relative;
    background: #fefefe;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6B3A7D, #f59e0b, #6B3A7D);
}

.services-deco {
    position: absolute;
    pointer-events: none;
    opacity: 0.04;
}

.services-deco--left {
    width: 300px;
    height: 300px;
    background: #6B3A7D;
    border-radius: 50%;
    top: 10%;
    left: -100px;
}

.services-deco--right {
    width: 200px;
    height: 200px;
    background: #f59e0b;
    border-radius: 50%;
    bottom: 10%;
    right: -60px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.service-card {
    position: relative;
    padding: 36px 28px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(107, 58, 125, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(107, 58, 125, 0.12);
    border-color: rgba(107, 58, 125, 0.15);
}

.service-card--plum {
    background: #6B3A7D;
    border-color: transparent;
}

.service-card--plum .service-title {
    color: #fff;
}

.service-card--plum .service-desc {
    color: rgba(255, 255, 255, 0.75);
}

.service-card--plum .service-card-accent {
    background: rgba(255, 255, 255, 0.06);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon--amber {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.service-icon--plum {
    background: rgba(255, 255, 255, 0.15);
    color: #fde68a;
}

.service-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.service-desc {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.7;
}

.service-card-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6B3A7D, #f59e0b);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-card-accent {
    opacity: 1;
}

.service-card--plum:hover .service-card-accent {
    opacity: 1;
}

/* ============================================
   About
   ============================================ */
.about {
    padding: 120px 0;
    background: linear-gradient(180deg, #faf5ff 0%, #fefefe 100%);
    position: relative;
}

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

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(107, 58, 125, 0.15);
}

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

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(107, 58, 125, 0.2);
    border: 6px solid #fff;
}

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

.about-img-accent {
    position: absolute;
    top: -30px;
    left: -30px;
    width: 100px;
    height: 100px;
    background: #f59e0b;
    border-radius: 20px;
    opacity: 0.5;
    z-index: -1;
}

.about-content .section-title {
    margin-bottom: 24px;
}

.about-text {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    color: #374151;
}

.about-feature-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(107, 58, 125, 0.08);
    color: #6B3A7D;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ============================================
   Approach
   ============================================ */
.approach {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #3d1e4a 0%, #6B3A7D 50%, #8B4597 100%);
}

.approach-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(245, 158, 11, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 10% 80%, rgba(107, 58, 125, 0.5) 0%, transparent 50%);
    pointer-events: none;
}

.approach-header {
    text-align: center;
    margin-bottom: 72px;
    position: relative;
    z-index: 1;
}

.approach-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.approach-step {
    position: relative;
    padding: 36px 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: background 0.3s, transform 0.3s;
}

.approach-step:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.approach-step-number {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 800;
    color: rgba(253, 230, 138, 0.2);
    line-height: 1;
    margin-bottom: 16px;
}

.approach-step-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.approach-step-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
}

.approach-step-line {
    position: absolute;
    top: 50%;
    right: -12px;
    width: 24px;
    height: 2px;
    background: rgba(253, 230, 138, 0.3);
}

.approach-step:last-child .approach-step-line {
    display: none;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials {
    padding: 120px 0;
    background: #fefefe;
    position: relative;
}

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

.testimonial-card {
    position: relative;
    padding: 36px 28px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(107, 58, 125, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(107, 58, 125, 0.1);
}

.testimonial-card--plum {
    background: linear-gradient(135deg, #6B3A7D, #8B4597);
    border-color: transparent;
}

.testimonial-quote-mark {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    line-height: 1;
    color: #f59e0b;
    opacity: 0.3;
    position: absolute;
    top: 16px;
    left: 24px;
    pointer-events: none;
}

.testimonial-card--plum .testimonial-quote-mark {
    color: #fde68a;
}

.testimonial-text {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    padding-top: 20px;
}

.testimonial-card--plum .testimonial-text {
    color: rgba(255, 255, 255, 0.85);
}

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

.testimonial-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(107, 58, 125, 0.08);
    color: #6B3A7D;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-card--plum .testimonial-author-avatar {
    background: rgba(255, 255, 255, 0.15);
    color: #fde68a;
}

.testimonial-author-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
}

.testimonial-card--plum .testimonial-author-name {
    color: #fff;
}

.testimonial-author-detail {
    display: block;
    font-size: 13px;
    color: #9ca3af;
    margin-top: 2px;
}

.testimonial-card--plum .testimonial-author-detail {
    color: rgba(255, 255, 255, 0.5);
}

.testimonial-card-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6B3A7D, #f59e0b);
    opacity: 0;
    transition: opacity 0.3s;
}

.testimonial-card:hover .testimonial-card-accent {
    opacity: 1;
}

.testimonial-card--plum:hover .testimonial-card-accent {
    opacity: 1;
}

/* ============================================
   CTA
   ============================================ */
.cta {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
}

.cta-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 60% at 20% 50%, rgba(107, 58, 125, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 90% 80%, rgba(61, 30, 74, 0.4) 0%, transparent 50%);
    pointer-events: none;
}

.cta-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
}

.cta-shape-1 {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.06);
    top: -60px;
    left: 10%;
}

.cta-shape-2 {
    width: 120px;
    height: 120px;
    background: rgba(107, 58, 125, 0.15);
    bottom: -30px;
    right: 20%;
    border-radius: 24px;
    transform: rotate(30deg);
}

.cta-shape-3 {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.08);
    top: 30%;
    right: 5%;
    border-radius: 16px;
    transform: rotate(45deg);
}

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

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cta-text {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 36px;
}

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

/* ============================================
   Contact
   ============================================ */
.contact {
    padding: 120px 0;
    background: linear-gradient(180deg, #fefefe 0%, #faf5ff 100%);
}

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

.contact-info .section-title {
    margin-bottom: 16px;
}

.contact-desc {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 36px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(107, 58, 125, 0.08);
    color: #6B3A7D;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    margin-bottom: 4px;
}

.contact-detail-value {
    display: block;
    font-size: 15px;
    color: #374151;
    line-height: 1.6;
}

.contact-link {
    color: #6B3A7D;
    font-weight: 600;
    transition: color 0.2s;
}

.contact-link:hover {
    color: #d97706;
}

.contact-map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(107, 58, 125, 0.1);
}

/* Form */
.contact-form-wrapper {
    position: relative;
}

.contact-form-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(107, 58, 125, 0.08);
    border: 1px solid rgba(107, 58, 125, 0.06);
}

.contact-form-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.contact-form-subtitle {
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: 28px;
}

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

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

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    font-family: 'DM Sans', sans-serif;
    color: #1a1a2e;
    background: #fafafa;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-input:focus {
    border-color: #6B3A7D;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(107, 58, 125, 0.08);
}

.form-input::placeholder {
    color: #c4c4c4;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 5l3 3 3-3' stroke='%239ca3af' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

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

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

.form-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(107, 58, 125, 0.08);
    color: #6B3A7D;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.form-success-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.form-success-text {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: #1a0a2e;
    color: rgba(255, 255, 255, 0.7);
    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.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    max-width: 280px;
}

.footer-heading {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
}

.footer-link {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    padding: 6px 0;
    transition: color 0.2s, padding-left 0.2s;
}

.footer-link:hover {
    color: #fde68a;
    padding-left: 6px;
}

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

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact-list svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: rgba(253, 230, 138, 0.6);
}

.footer-contact-link {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

.footer-contact-link:hover {
    color: #fde68a;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 28px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
}

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

/* ============================================
   Scroll Animations
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

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

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

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

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

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

    .hero-image img {
        height: 480px;
    }

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

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

    .about-img-secondary {
        right: 0;
    }

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

    .approach-step-line {
        display: none;
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 100px 32px 40px;
        gap: 4px;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-link {
        padding: 14px 16px;
        font-size: 16px;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 16px;
        text-align: center;
        display: block;
        padding: 14px 20px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 999;
    }

    .nav-overlay.active {
        display: block;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .hero-content {
        padding: 0 24px;
    }

    .hero-image {
        display: none;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .hero-stat-divider {
        width: 40px;
        height: 1px;
    }

    .services {
        padding: 80px 0;
    }

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

    .about {
        padding: 80px 0;
    }

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

    .about-img-secondary {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: -60px;
        margin-left: 20px;
    }

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

    .about-features {
        grid-template-columns: 1fr;
    }

    .approach {
        padding: 80px 0;
    }

    .approach-steps {
        grid-template-columns: 1fr;
    }

    .testimonials {
        padding: 80px 0;
    }

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

    .cta {
        padding: 80px 0;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .contact {
        padding: 80px 0;
    }

    .contact-form-card {
        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%;
    }

    .geo-shape {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-badge {
        font-size: 11px;
    }

    .btn {
        padding: 12px 22px;
        font-size: 14px;
    }

    .section-title {
        font-size: 28px;
    }
}
