@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');

:root {
    --primary: #001529;
    --accent: #00d1ff;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --border: rgba(0, 21, 41, 0.08);
    --text-main: #1e293b;
    --text-muted: #64748b;
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text-main);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

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

/* Navigation */
header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 35px; }
.partner-tag { font-weight: 800; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 2px; color: var(--primary); border-left: 2px solid var(--accent); padding-left: 15px; }

/* Hero */
.hero { padding: 220px 0 140px; text-align: center; background: radial-gradient(circle at 50% 0%, rgba(0, 209, 255, 0.08), transparent 60%); }
.badge { display: inline-block; padding: 8px 20px; background: var(--primary); color: white; border-radius: 100px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 30px; }
.hero h1 { font-size: clamp(2.8rem, 7vw, 4.5rem); line-height: 1.1; font-weight: 800; color: var(--primary); letter-spacing: -3px; margin-bottom: 30px; }
.hero p { font-size: 1.3rem; color: var(--text-muted); max-width: 800px; margin: 0 auto 60px; font-weight: 300; }
.hero-img-box { border-radius: 50px; overflow: hidden; box-shadow: 0 80px 150px rgba(0, 21, 41, 0.15); transform: perspective(1000px) rotateX(2deg); transition: var(--transition); }
.hero-img-box:hover { transform: perspective(1000px) rotateX(0deg) scale(1.02); }
.hero-img-box img { width: 100%; display: block; }

/* Section Title */
.section-title { text-align: center; margin-bottom: clamp(60px, 10vw, 120px); }
.section-title h2 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; color: var(--primary); margin-bottom: 25px; letter-spacing: -1.5px; }
.section-title p { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--text-muted); max-width: 650px; margin: 0 auto; line-height: 1.6; }

/* Team Section */
.team { padding: clamp(80px, 12vw, 140px) 0; background: var(--white); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; }
.aux-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 30px; margin-top: clamp(40px, 8vw, 80px); padding-top: clamp(40px, 8vw, 80px); border-top: 1px solid var(--border); }

.team-card { text-align: center; cursor: pointer; position: relative; }
.team-card .img-wrap { border-radius: 30px; overflow: hidden; margin-bottom: 20px; aspect-ratio: 3/4; background: var(--bg-light); transition: var(--transition); }
.team-card img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); will-change: transform; }
.team-card[data-doctor="agnieszka"] img { object-position: center 20%; } /* Fix for Agnieszka's forehead */

.team-card:hover .img-wrap { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,21,41,0.05); }
.team-card:hover img { transform: scale(1.03); }

.team-card h4 { font-size: 1.25rem; font-weight: 700; color: var(--primary); margin-bottom: 5px; }
.team-card p { color: var(--accent); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }

/* Bio Expander */
.bio-content { max-height: 0; overflow: hidden; transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1); opacity: 0; text-align: left; padding: 0 10px; }
.team-card.active .bio-content { max-height: 500px; opacity: 1; padding-top: 20px; padding-bottom: 20px; }
.bio-text { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; border-left: 2px solid var(--accent); padding-left: 15px; }

.read-more { display: inline-block; margin-top: 15px; font-size: 0.8rem; font-weight: 800; text-transform: uppercase; color: var(--primary); border-bottom: 2px solid var(--accent); padding-bottom: 2px; transition: var(--transition); }
.team-card.active .read-more { opacity: 0; pointer-events: none; }

/* Auxiliary Card Styles */
.aux-card .img-wrap { border-radius: 20px; }
.aux-card h4 { font-size: 1rem; }
.aux-card p { font-size: 0.75rem; }

/* Why Trust Us */
.why-us { padding: clamp(80px, 12vw, 140px) 0; background: var(--bg-light); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }
.why-item { display: flex; gap: 25px; align-items: flex-start; background: white; padding: 40px; border-radius: 40px; border: 1px solid var(--border); transition: var(--transition); }
.why-item:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: 0 20px 40px rgba(0,0,0,0.03); }
.why-icon { width: 50px; height: 50px; background: var(--bg-light); border-radius: 15px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.why-icon svg { width: 24px; height: 24px; color: var(--accent); }
.why-text h4 { font-size: 1.25rem; font-weight: 800; color: var(--primary); margin-bottom: 12px; }
.why-text p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; font-weight: 300; }

/* Testimonials */
.testimonials { background: var(--bg-light); padding: clamp(80px, 12vw, 140px) 0; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.review-card { background: white; padding: 30px; border-radius: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.02); border: 1px solid var(--border); transition: var(--transition); display: flex; flex-direction: column; }
.review-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.05); }
.review-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.user-info { display: flex; align-items: center; gap: 12px; }
.user-img { width: 45px; height: 45px; background: var(--accent); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.2rem; }
.user-info strong { display: block; font-size: 0.95rem; color: var(--primary); }
.review-date { display: block; font-size: 0.75rem; color: var(--text-muted); }
.google-icon svg { width: 18px; height: 18px; }
.review-card .stars { color: #ffc107; font-size: 1rem; margin-bottom: 15px; }
.review-text { font-size: 0.9rem; color: var(--text-main); line-height: 1.6; font-style: italic; }

/* 5 Guarantees */
.guarantees { padding: clamp(80px, 12vw, 140px) 0; background: var(--white); }
.guarantee-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.guarantee-card { padding: 50px 40px; border-radius: 40px; background: var(--bg-light); border: 1px solid var(--border); transition: var(--transition); text-align: left; }
.guarantee-card:hover { transform: translateY(-10px); background: var(--white); border-color: var(--accent); box-shadow: 0 30px 60px rgba(0, 209, 255, 0.08); }
.guarantee-card .icon-wrap { width: 60px; height: 60px; background: white; border-radius: 20px; display: flex; align-items: center; justify-content: center; margin-bottom: 30px; box-shadow: 0 10px 20px rgba(0,0,0,0.03); }
.guarantee-card svg { width: 30px; height: 30px; color: var(--accent); }
.guarantee-card h3 { font-size: 1.4rem; font-weight: 800; color: var(--primary); margin-bottom: 20px; letter-spacing: -0.5px; }
.guarantee-card p { font-size: 1rem; color: var(--text-muted); line-height: 1.7; font-weight: 300; }

/* Value Section */
.business-value { padding: clamp(80px, 12vw, 140px) 0; }
.value-box { background: var(--primary); border-radius: 60px; padding: 100px 80px; color: white; display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; position: relative; overflow: hidden; }
.value-box::before { content: ""; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(0, 209, 255, 0.1), transparent 70%); }
.value-content h3 { font-size: 2.8rem; margin-bottom: 25px; color: var(--accent); font-weight: 800; letter-spacing: -1px; }
.value-list { list-style: none; position: relative; z-index: 1; }
.value-list li { padding: 30px 0; border-bottom: 1px solid rgba(255,255,255,0.1); display: grid; grid-template-columns: 50px 1fr; gap: 15px; }
.value-list li:last-child { border-bottom: none; }
.value-list li .arrow { color: var(--accent); font-weight: 900; font-size: 1.5rem; }
.value-list li strong { color: white; font-weight: 700; font-size: 1.2rem; margin-bottom: 8px; display: block; }
.value-list li p { font-size: 1.05rem; opacity: 0.7; font-weight: 300; }

/* Specialists - Modern Tags */
.specialists { padding: clamp(80px, 12vw, 140px) 0; }
.spec-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 60px; }
.spec-item { padding: 20px 45px; background: white; border-radius: 100px; font-weight: 700; color: var(--primary); border: 1px solid var(--border); transition: var(--transition); box-shadow: 0 5px 15px rgba(0,0,0,0.02); }
.spec-item:hover { background: var(--primary); color: white; border-color: var(--primary); transform: scale(1.1); box-shadow: 0 20px 40px rgba(0,21,41,0.1); }

/* Path - Visual Standard */
.path-section { padding: clamp(80px, 12vw, 140px) 0; }
.path-timeline { max-width: 1000px; margin: 0 auto; }
.path-step { display: flex; gap: 60px; margin-bottom: 80px; position: relative; }
.path-step::after { content: ""; position: absolute; left: 50px; top: 100px; bottom: -40px; width: 1px; background: var(--border); }
.path-step:last-child::after { display: none; }
.path-num { font-size: 5rem; font-weight: 900; color: rgba(0, 209, 255, 0.12); min-width: 100px; line-height: 0.8; z-index: 1; }
.path-info { padding-top: 10px; }
.path-info h4 { font-size: 1.6rem; font-weight: 800; margin-bottom: 15px; color: var(--primary); letter-spacing: -0.5px; }
.path-info p { color: var(--text-muted); font-size: 1.1rem; font-weight: 300; }

/* Locations */
.locations { padding: clamp(80px, 12vw, 140px) 0; background: var(--bg-light); }
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.loc-card { background: white; padding: 60px; border-radius: 50px; border: 1px solid var(--border); transition: var(--transition); }
.loc-card:hover { border-color: var(--accent); }
.loc-card h3 { font-size: 2.2rem; margin-bottom: 30px; color: var(--primary); font-weight: 800; }
.loc-item { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; font-size: 1.1rem; font-weight: 600; }
.loc-item svg { width: 24px; color: var(--accent); }

/* CTA Final - Modern Glass */
.cta-final { padding: clamp(80px, 12vw, 160px) 0; }
.cta-card { background: var(--primary); color: white; padding: 120px 60px; border-radius: 80px; text-align: center; position: relative; z-index: 1; overflow: hidden; }
.cta-card h2 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; margin-bottom: 30px; line-height: 1; letter-spacing: -2px; }
.cta-card p { font-size: 1.3rem; opacity: 0.7; max-width: 700px; margin: 0 auto 60px; font-weight: 300; }
.btn-premium { display: inline-block; background: var(--accent); color: var(--primary); padding: 28px 80px; border-radius: 100px; text-decoration: none; font-weight: 800; font-size: 1.3rem; transition: var(--transition); box-shadow: 0 25px 50px rgba(0, 209, 255, 0.3); }
.btn-premium:hover { transform: translateY(-8px) scale(1.02); background: white; box-shadow: 0 40px 80px rgba(0, 209, 255, 0.5); }
.cta-email { margin-top: 50px; display: block; font-weight: 600; opacity: 0.6; color: white; text-decoration: none; font-size: 1.2rem; transition: var(--transition); }
.cta-email:hover { opacity: 1; color: var(--accent); }

footer { padding: 80px 0; text-align: center; color: var(--text-muted); font-size: 0.9rem; font-weight: 300; }

@media (max-width: 992px) {
    .container { padding: 0 25px; }
    .hero { padding: 140px 0 80px; }
    .hero h1 { letter-spacing: -1px; }
    .hero p { margin-bottom: 40px; }
    .hero-img-box { border-radius: 30px; }
    
    .value-box, .loc-grid { grid-template-columns: 1fr; padding: 60px 30px; }
    .value-box { border-radius: 40px; gap: 40px; }
    .value-content h3 { font-size: 2.2rem; }
    
    .path-step { flex-direction: row; gap: 30px; }
    .path-num { font-size: 3rem; min-width: 60px; }
}

@media (max-width: 768px) {
    header .container { flex-direction: column; gap: 10px; text-align: center; }
    .partner-tag { border-left: none; border-top: 2px solid var(--accent); padding-left: 0; padding-top: 5px; font-size: 0.6rem; }
    
    .path-step { flex-direction: column; gap: 15px; }
    .path-step::after { left: 20px; top: 60px; }
    .path-num { font-size: 2.5rem; }
    
    .cta-card { padding: 60px 25px; border-radius: 40px; }
    .btn-premium { padding: 20px 40px; font-size: 1.1rem; width: 100%; }
}

