@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Caslon+Display&display=swap');

/* =========================================================
   DOÇ. DR. SERDAR DEMİR
   PREMIUM MEDICAL WEBSITE
========================================================= */

:root {
    --navy: #092944;
    --navy-dark: #061d31;
    --navy-deep: #041728;

    --blue: #315f7c;
    --blue-soft: #dfeef6;
    --blue-pale: #eef6fa;

    --red: #d95d63;

    --white: #ffffff;
    --background: #f7fafc;
    --section: #f2f7fa;

    --text: #0d2b46;
    --body: #52697a;
    --muted: #8294a1;

    --border: #dce6ec;

    --serif: "Libre Caslon Display", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;

    --shadow: 0 20px 55px rgba(7, 37, 61, 0.09);
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 82px;
}

body {
    font-family: var(--sans);
    background: var(--white);
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

.container {
    width: min(1180px, 88%);
    margin: 0 auto;
}

.section {
    padding: 92px 0;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(8, 42, 69, 0.07);

    transition:
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 8px 30px rgba(8, 42, 69, 0.08);
}

.header-inner {
    width: min(1380px, 92%);
    height: 76px;
    margin: 0 auto;

    display: flex;
    align-items: center;
}


/* BRAND */

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-logo {
    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: var(--serif);
    font-size: 24px;

    color: var(--navy);

    border-right: 1px solid #d8e1e6;
    padding-right: 10px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-text strong {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
}

.brand-text span {
    margin-top: 2px;
    font-size: 9px;
    color: #718593;
}


/* NAV */

.nav {
    display: flex;
    align-items: center;
    gap: 27px;

    margin-left: auto;
    margin-right: 32px;
}

.nav a {
    position: relative;

    padding: 29px 0;

    font-size: 11px;
    font-weight: 500;

    color: #344f63;

    transition: color 0.2s ease;
}

.nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 19px;

    width: 0;
    height: 1px;

    background: var(--navy);

    transition: width 0.25s ease;
}

.nav a:hover {
    color: var(--navy);
}

.nav a:hover::after {
    width: 100%;
}


/* HEADER BUTTON */

.header-button {
    min-height: 42px;
    padding: 0 19px;

    display: inline-flex;
    align-items: center;
    gap: 14px;

    border-radius: 30px;

    background: var(--navy);
    color: white;

    font-size: 10px;
    font-weight: 600;

    white-space: nowrap;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.header-button:hover {
    background: #12466a;
    transform: translateY(-1px);
}

.mobile-menu {
    display: none;
    margin-left: auto;

    border: 0;
    background: transparent;

    color: var(--navy);
    font-size: 25px;

    cursor: pointer;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 72% 38%,
            rgba(194, 219, 232, 0.65),
            transparent 32%
        ),
        linear-gradient(
            105deg,
            #eef6fa 0%,
            #f8fbfc 45%,
            #e5eff4 100%
        );
}

.hero::before {
    content: "";

    position: absolute;

    width: 550px;
    height: 550px;

    right: 10%;
    top: -250px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.35);

    filter: blur(20px);
}

.hero-inner {
    position: relative;

    width: min(1380px, 88%);
    min-height: 610px;

    margin: auto;

    display: grid;
    grid-template-columns: 46% 54%;

    align-items: stretch;
}


/* HERO CONTENT */

.hero-content {
    position: relative;
    z-index: 5;

    padding: 78px 0 58px;
}

.hero-label {
    margin-bottom: 20px;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 3px;

    color: #57738a;
}

.hero h1 {
    font-family: var(--serif);

    font-size: clamp(60px, 5.8vw, 88px);

    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -2px;

    color: var(--navy);
}

.hero h1 span {
    display: block;
    margin-bottom: 4px;
    font-size: 0.67em;
}

.hero-description {
    max-width: 560px;

    margin-top: 27px;

    font-size: 15px;
    line-height: 1.7;

    color: #38556b;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-top: 29px;
}

.button {
    min-height: 48px;
    padding: 0 23px;

    display: inline-flex;
    align-items: center;
    gap: 28px;

    border-radius: 28px;

    font-size: 11px;
    font-weight: 600;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-dark {
    background: var(--navy);
    color: white;

    box-shadow: 0 10px 25px rgba(8, 42, 69, 0.15);
}

.button-light {
    background: rgba(255, 255, 255, 0.78);
    color: var(--navy);

    border: 1px solid rgba(8, 42, 69, 0.08);
}


/* HERO AFFILIATIONS */

.hero-affiliations {
    max-width: 590px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;

    margin-top: 54px;
}

.affiliation {
    display: flex;
    align-items: center;
    gap: 12px;
}

.affiliation + .affiliation {
    padding-left: 20px;
    border-left: 1px solid #cad8e0;
}

.affiliation-icon {
    width: 37px;
    height: 37px;

    flex: 0 0 37px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.75);

    color: var(--navy);

    font-size: 19px;
}

.affiliation p {
    max-width: 190px;

    font-size: 10px;
    line-height: 1.45;

    color: #3d596d;
}


/* =========================================================
   HERO IMAGE
========================================================= */

.hero-image-area {
    position: relative;
    min-height: 610px;
}

.hero-photo {
    position: absolute;

    left: 3%;
    bottom: 0;

    width: 67%;
    height: 94%;

    overflow: hidden;

    border-radius: 160px 160px 0 0;
}

.hero-photo::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(230, 240, 245, 0.16),
            transparent 35%
        );

    pointer-events: none;
}

.hero-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center top;

    transition: transform 1.1s cubic-bezier(.16, 1, .3, 1);
}

.hero-photo:hover img {
    transform: scale(1.025);
}


/* HERO QUOTE */

.hero-quote {
    position: absolute;

    z-index: 4;

    right: 0;
    top: 75px;

    width: 180px;

    color: var(--navy);

    transition: transform 0.35s ease;
}

.hero-quote:hover {
    transform: translateY(-3px);
}

.quote-mark {
    display: block;

    height: 23px;

    font-family: Georgia, serif;

    font-size: 42px;

    color: var(--red);
}

.hero-quote p {
    font-family: var(--serif);

    font-size: 20px;
    line-height: 1.4;

    transform: rotate(-3deg);
}


/* ESKİ CARDIAC RHYTHM KUTUSU */

.hero-monitor,
.monitor-line,
.hero-monitor span {
    display: none !important;
}


/* =========================================================
   SECTION LABELS
========================================================= */

.section-label {
    margin-bottom: 13px;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 3px;

    color: #547087;
}

.section-label-light {
    color: #8fb5ca;
}


/* =========================================================
   ABOUT
========================================================= */

.about {
    background: white;
}

.about-grid {
    display: grid;

    grid-template-columns: 0.95fr 1.05fr;

    gap: 70px;

    align-items: center;
}

.about-content h2 {
    font-family: var(--serif);

    font-size: clamp(40px, 4vw, 57px);

    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -1px;

    color: var(--navy);
}

.about-content > p {
    max-width: 560px;

    margin-top: 22px;

    font-size: 13px;
    line-height: 1.8;

    color: var(--body);
}

.about-content > p + p {
    margin-top: 13px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 17px;

    margin-top: 26px;

    font-size: 11px;
    font-weight: 600;

    color: var(--navy);
}

.text-link span {
    transition: transform 0.2s ease;
}

.text-link:hover span {
    transform: translateX(5px);
}


/* ABOUT IMAGES */

.about-images {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;
}

.about-image {
    height: 305px;

    overflow: hidden;

    border-radius: 10px;
}

.about-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.about-doctor img {
    object-position: center top;
}

.hospital-placeholder {
    position: relative;

    display: flex;
    align-items: flex-end;

    padding: 24px;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            rgba(21, 74, 107, 0.05),
            rgba(6, 39, 63, 0.65)
        ),
        linear-gradient(
            135deg,
            #b9d1dc,
            #e3edf1 55%,
            #9db9c6
        );
}

.hospital-placeholder::before {
    content: "";

    position: absolute;

    left: 14%;
    right: 8%;
    top: 20%;

    height: 47%;

    background: rgba(255, 255, 255, 0.65);

    box-shadow: 0 10px 30px rgba(20, 50, 70, 0.1);
}

.hospital-placeholder::after {
    content: "";

    position: absolute;

    left: 18%;
    right: 12%;
    top: 27%;

    height: 5px;

    background:
        repeating-linear-gradient(
            90deg,
            #7698a8 0 18px,
            transparent 18px 28px
        );

    box-shadow:
        0 28px 0 rgba(118, 152, 168, 0.8),
        0 56px 0 rgba(118, 152, 168, 0.8);
}

.hospital-placeholder-content {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;

    color: white;
}

.hospital-placeholder-content span {
    font-size: 9px;
    letter-spacing: 3px;
}

.hospital-placeholder-content strong {
    margin-top: 3px;
    font-size: 19px;
}

.hospital-placeholder-content small {
    max-width: 190px;

    margin-top: 5px;

    font-size: 9px;
    line-height: 1.4;

    opacity: 0.8;
}


/* =========================================================
   SPECIALTIES
========================================================= */

.specialties {
    background:
        linear-gradient(
            180deg,
            #f1f7fa,
            #eaf3f8
        );
}

.specialties-heading {
    display: grid;

    grid-template-columns: 1fr 0.7fr;

    gap: 70px;

    align-items: end;

    margin-bottom: 38px;
}

.specialties-heading h2 {
    font-family: var(--serif);

    font-size: clamp(38px, 4vw, 54px);

    font-weight: 400;
    line-height: 1;

    color: var(--navy);
}

.specialties-heading > p {
    max-width: 400px;

    justify-self: end;

    font-size: 12px;
    line-height: 1.7;

    color: var(--body);
}

.specialty-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 12px;
}

.specialty-card {
    position: relative;

    min-height: 230px;

    padding: 24px;

    border-radius: 9px;

    background: rgba(255, 255, 255, 0.9);

    border: 1px solid rgba(8, 42, 69, 0.05);

    box-shadow: 0 10px 25px rgba(18, 62, 88, 0.025);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.specialty-card:hover {
    transform: translateY(-6px);

    box-shadow: 0 20px 45px rgba(18, 62, 88, 0.09);
}

.specialty-icon {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    border-radius: 50%;

    background: #edf5fa;

    color: #2f73a2;

    font-size: 24px;
}

.specialty-card:nth-child(1) .specialty-icon,
.specialty-card:nth-child(3) .specialty-icon {
    color: var(--red);
}

.specialty-card h3 {
    font-family: var(--serif);

    font-size: 21px;
    font-weight: 400;

    color: var(--navy);
}

.specialty-card p {
    margin-top: 9px;

    font-size: 11px;
    line-height: 1.6;

    color: var(--body);
}

.specialty-arrow {
    position: absolute;

    left: 24px;
    bottom: 20px;

    font-size: 17px;

    color: var(--navy);
}


/* =========================================================
   ELECTROPHYSIOLOGY
========================================================= */

.ep-section {
    position: relative;

    overflow: hidden;

    padding: 68px 0;

    color: white;

    background:
        radial-gradient(
            circle at 58% 50%,
            rgba(35, 111, 156, 0.45),
            transparent 30%
        ),
        linear-gradient(
            110deg,
            #06243d,
            #0a3657 58%,
            #061e34
        );
}

.ep-section::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    left: 52%;
    top: 50%;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background: rgba(26, 110, 161, 0.13);

    filter: blur(25px);
}

.ep-grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns: 1.1fr 0.8fr 0.5fr;

    gap: 50px;

    align-items: center;
}

.ep-content h2 {
    max-width: 550px;

    font-family: var(--serif);

    font-size: clamp(40px, 4vw, 57px);

    font-weight: 400;
    line-height: 1.03;
}

.ep-content > p {
    max-width: 560px;

    margin-top: 20px;

    font-size: 12px;
    line-height: 1.8;

    color: #c3d3dd;
}

.ep-button {
    min-height: 43px;

    display: inline-flex;
    align-items: center;

    gap: 25px;

    margin-top: 25px;

    padding: 0 19px;

    border-radius: 24px;

    background: white;

    color: var(--navy);

    font-size: 10px;
    font-weight: 600;
}


/* HEART VISUAL */

.heart-visual {
    position: relative;

    min-height: 300px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.heart-glow {
    position: absolute;

    width: 230px;
    height: 230px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(57, 157, 220, 0.35),
            rgba(57, 157, 220, 0.08) 50%,
            transparent 72%
        );
}

.heart-symbol {
    position: relative;
    z-index: 2;

    font-size: 170px;
    line-height: 1;

    color: #4c9ad1;

    text-shadow:
        0 0 15px rgba(69, 167, 230, 0.7),
        0 0 40px rgba(34, 118, 177, 0.4);
}

.heart-symbol::after {
    content: "♥";

    position: absolute;

    left: 7px;
    top: 8px;

    color: transparent;

    -webkit-text-stroke: 1px rgba(255, 101, 83, 0.65);

    font-size: 155px;
}

.ep-ecg {
    position: absolute;

    z-index: 4;

    width: 150%;
    height: 80px;

    left: 15%;
    top: 50%;

    transform: translateY(-50%);
}

.ep-ecg path {
    fill: none;

    stroke: #a9dcf5;
    stroke-width: 2;

    filter: drop-shadow(0 0 4px rgba(113, 207, 250, 0.8));
}

.ep-topics {
    display: flex;
    flex-direction: column;

    gap: 19px;

    padding-left: 30px;

    border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.ep-topics span {
    font-size: 11px;
    color: #bfd0dc;
}


/* =========================================================
   KNOWLEDGE / ACADEMIC / PATIENT INFO
========================================================= */

.knowledge {
    background: white;
}

.knowledge-grid {
    display: grid;

    grid-template-columns: 0.95fr 1.05fr;

    gap: 70px;
}

.academic,
.patient-information {
    min-width: 0;
}

.academic {
    padding-right: 50px;

    border-right: 1px solid var(--border);
}

.academic h2,
.patient-information h2 {
    font-family: var(--serif);

    font-size: clamp(34px, 3vw, 45px);

    font-weight: 400;
    line-height: 1.04;

    color: var(--navy);
}

.academic > p,
.patient-intro {
    max-width: 530px;

    margin-top: 13px;

    font-size: 11px;
    line-height: 1.7;

    color: var(--body);
}

.soft-button {
    min-height: 43px;

    display: inline-flex;
    align-items: center;

    gap: 30px;

    margin-top: 25px;

    padding: 0 20px;

    border-radius: 24px;

    background: #e8f2f8;

    color: var(--navy);

    font-size: 10px;
    font-weight: 600;
}


/* PUBLICATIONS */

.publication-visual {
    position: relative;

    height: 150px;

    margin-top: 28px;
}

.paper {
    position: absolute;

    width: 150px;
    height: 115px;

    padding: 16px;

    background: white;

    border: 1px solid #dce3e7;

    box-shadow: 0 14px 25px rgba(16, 47, 66, 0.1);

    display: flex;
    flex-direction: column;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.paper small {
    font-size: 7px;
    color: var(--red);
}

.paper strong {
    margin-top: 13px;

    font-family: var(--serif);

    font-size: 16px;

    color: var(--navy);
}

.paper-one {
    left: 60px;
    top: 18px;

    transform: rotate(-8deg);
}

.paper-two {
    left: 180px;
    top: 5px;

    transform: rotate(2deg);
}

.paper-three {
    left: 300px;
    top: 24px;

    transform: rotate(8deg);

    background: var(--navy);

    color: white;
}

.paper-three strong {
    color: white;
}


/* =========================================================
   PATIENT CARDS
========================================================= */

.patient-cards {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 10px;

    margin-top: 25px;
}

.patient-card {
    overflow: hidden;

    border: 1px solid var(--border);

    border-radius: 8px;

    background: white;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.patient-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow);
}

.patient-image {
    height: 105px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}


/* ECG CARD */

.rhythm-image {
    padding: 20px;

    background:
        linear-gradient(
            135deg,
            #0c3c5d,
            #09263f
        );
}

.rhythm-image svg {
    width: 100%;
    height: 70px;
}

.rhythm-image path {
    fill: none;

    stroke: #83cce9;
    stroke-width: 2;

    stroke-dasharray: 800;
    stroke-dashoffset: 800;

    animation: patientECG 4.8s cubic-bezier(.4, 0, .2, 1) infinite;
}

@keyframes patientECG {
    0% {
        stroke-dashoffset: 800;
    }

    45%,
    80% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dashoffset: -800;
    }
}


/* ABLATION CARD */

.ablation-image {
    background:
        radial-gradient(
            circle at center,
            #c97a65,
            #8f3f39 50%,
            #40252a
        );
}

.mini-heart {
    font-size: 70px;

    color: #d99882;

    text-shadow: 0 0 20px rgba(255, 145, 100, 0.5);

    transform-origin: center;

    animation: subtleHeartBeat 3.6s ease-in-out infinite;
}

@keyframes subtleHeartBeat {
    0%,
    15%,
    100% {
        transform: scale(1);
    }

    5% {
        transform: scale(1.06);
    }

    9% {
        transform: scale(1.015);
    }

    12% {
        transform: scale(1.045);
    }
}


/* PACEMAKER */

.pacemaker-image {
    background:
        linear-gradient(
            135deg,
            #dfe8ed,
            #aabcc6
        );
}

.pacemaker {
    position: relative;

    width: 65px;
    height: 75px;

    border-radius: 17px;

    background:
        linear-gradient(
            135deg,
            #f6f8f9,
            #aebcc3
        );

    border: 2px solid white;

    box-shadow: 0 10px 20px rgba(17, 48, 64, 0.18);

    transition: transform 0.3s ease;
}

.patient-card:hover .pacemaker {
    transform: translateY(-3px);
}

.pacemaker span {
    position: absolute;

    width: 24px;
    height: 7px;

    top: 13px;
    left: 20px;

    border-radius: 6px;

    background: #81949f;
}

.pacemaker i {
    position: absolute;

    width: 60px;
    height: 60px;

    left: 55px;
    top: 42px;

    border: 2px solid #697f8c;

    border-radius: 50%;
}

.patient-card-bottom {
    min-height: 72px;

    padding: 12px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 10px;
}

.patient-card-bottom h3 {
    font-family: var(--serif);

    font-size: 16px;
    font-weight: 400;

    line-height: 1.05;

    color: var(--navy);
}

.patient-card-bottom span {
    font-size: 16px;

    color: var(--navy);

    transition: transform 0.25s ease;
}

.patient-card:hover .patient-card-bottom span {
    transform: translateX(4px);
}


/* =========================================================
   CONTACT
========================================================= */

.contact {
    background: #f2f7f9;

    border-top: 1px solid #e2ebef;
}

.contact-grid {
    display: grid;

    grid-template-columns: 1fr 0.75fr 0.4fr;

    gap: 45px;

    align-items: center;
}

.contact-main h2 {
    max-width: 570px;

    font-family: var(--serif);

    font-size: clamp(35px, 3.5vw, 48px);

    font-weight: 400;
    line-height: 1.05;

    color: var(--navy);
}

.contact-information {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 22px 35px;

    margin-top: 32px;
}

.contact-item {
    display: flex;
    align-items: center;

    gap: 11px;

    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(4px);
}

.contact-item > span {
    width: 31px;
    height: 31px;

    flex: 0 0 31px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: white;

    color: var(--navy);
}

.contact-item div {
    display: flex;
    flex-direction: column;
}

.contact-item small {
    font-size: 7px;
    letter-spacing: 1px;

    color: #85959f;
}

.contact-item strong {
    margin-top: 3px;

    max-width: 180px;

    font-size: 9px;
    font-weight: 600;

    line-height: 1.4;

    color: var(--navy);
}


/* =========================================================
   MAP
========================================================= */

.map-box {
    position: relative;

    min-height: 230px;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            #e6ecef,
            #f6f8f9
        );
}

.map-grid-lines {
    position: absolute;

    inset: -50%;

    background-image:
        linear-gradient(
            rgba(104, 127, 140, 0.12) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(104, 127, 140, 0.12) 1px,
            transparent 1px
        );

    background-size: 30px 30px;

    transform: rotate(25deg);
}

.map-marker {
    position: relative;

    z-index: 2;

    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50% 50% 50% 0;

    transform: rotate(-45deg);

    background: var(--red);

    color: white;

    font-size: 17px;

    box-shadow: 0 10px 20px rgba(177, 73, 77, 0.25);
}

.map-box p {
    position: absolute;

    z-index: 3;

    left: 55%;
    top: 52%;

    max-width: 140px;

    font-size: 9px;
    line-height: 1.4;

    color: var(--navy);
}


/* REAL GOOGLE MAP */

.location-map-wrap {
    position: relative;

    width: 100%;
    min-height: 230px;

    overflow: hidden;

    border-radius: 10px;

    background: #e6ecef;
}

.location-map-wrap iframe {
    display: block;

    width: 100%;
    height: 230px;

    border: 0;

    filter:
        grayscale(0.72)
        saturate(0.6)
        contrast(0.96);

    transition:
        filter 0.45s ease,
        transform 0.65s ease;
}

.location-map-wrap:hover iframe {
    filter:
        grayscale(0.25)
        saturate(0.85)
        contrast(0.98);

    transform: scale(1.01);
}

.map-link {
    position: absolute;

    right: 12px;
    bottom: 12px;

    z-index: 4;

    padding: 8px 11px;

    border-radius: 5px;

    background: rgba(255, 255, 255, 0.94);

    box-shadow: 0 7px 20px rgba(8, 42, 69, 0.12);

    color: var(--navy);

    font-size: 8px;
    font-weight: 600;
}


/* CONTACT ACTION */

.contact-action {
    align-self: start;

    padding-top: 15px;
}

.contact-button {
    min-height: 45px;

    padding: 0 17px;

    display: inline-flex;
    align-items: center;

    gap: 24px;

    border-radius: 6px;

    background: var(--navy);

    color: white;

    font-size: 10px;
    font-weight: 600;
}

.contact-action p {
    margin-top: 15px;

    font-size: 9px;
    line-height: 1.6;

    color: #71838f;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    padding: 32px 0;

    background: var(--navy-dark);

    color: white;
}

.footer-grid {
    display: grid;

    grid-template-columns: 0.8fr 1.5fr 0.8fr;

    gap: 40px;

    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;

    gap: 12px;
}

.footer-logo {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: var(--serif);

    font-size: 22px;

    border-right: 1px solid rgba(255, 255, 255, 0.2);

    padding-right: 10px;
}

.footer-brand > div:last-child {
    display: flex;
    flex-direction: column;
}

.footer-brand strong {
    font-size: 11px;
}

.footer-brand span {
    margin-top: 2px;

    font-size: 8px;

    color: #859baa;
}

.footer-nav {
    display: flex;

    justify-content: center;

    gap: 22px;
}

.footer-nav a {
    font-size: 8px;

    color: #91a5b2;

    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: white;
}

.footer-note {
    text-align: right;
}

.footer-note p {
    font-size: 7px;

    line-height: 1.5;

    color: #91a4b0;
}

.footer-note p + p {
    margin-top: 4px;
}


/* =========================================================
   ANIMATIONS
========================================================= */

.reveal-ready {
    opacity: 0;

    transform: translateY(18px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal-ready.visible {
    opacity: 1;

    transform: translateY(0);
}

.reveal-on-scroll {
    opacity: 0;

    transform: translateY(22px);

    filter: blur(2px);

    transition:
        opacity 0.85s cubic-bezier(.16, 1, .3, 1),
        transform 0.85s cubic-bezier(.16, 1, .3, 1),
        filter 0.85s cubic-bezier(.16, 1, .3, 1);
}

.reveal-on-scroll.is-visible {
    opacity: 1;

    transform: translateY(0);

    filter: blur(0);
}

.patient-card:nth-child(1) {
    transition-delay: 0s;
}

.patient-card:nth-child(2) {
    transition-delay: 0.1s;
}

.patient-card:nth-child(3) {
    transition-delay: 0.2s;
}

.location-map-wrap.map-reveal {
    opacity: 0;

    transform: scale(1.025) translateY(10px);

    transition:
        opacity 0.8s ease,
        transform 0.8s cubic-bezier(.16, 1, .3, 1);
}

.location-map-wrap.map-reveal.map-visible {
    opacity: 1;

    transform: scale(1) translateY(0);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .nav {
        gap: 17px;
        margin-right: 20px;
    }

    .nav a {
        font-size: 10px;
    }

    .header-button {
        display: none;
    }

    .hero-inner {
        width: min(1180px, 90%);

        grid-template-columns: 50% 50%;
    }

    .hero h1 {
        font-size: 65px;
    }

    .hero-photo {
        width: 78%;
    }

    .specialty-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ep-grid {
        grid-template-columns: 1fr 0.8fr;
    }

    .ep-topics {
        grid-column: 1 / -1;

        flex-direction: row;
        flex-wrap: wrap;

        padding-left: 0;
        padding-top: 25px;

        border-left: 0;

        border-top: 1px solid rgba(255, 255, 255, 0.13);
    }

    .knowledge-grid {
        gap: 40px;
    }

    .academic {
        padding-right: 35px;
    }

    .contact-grid {
        grid-template-columns: 1fr 0.8fr;
    }

    .contact-action {
        grid-column: 1 / -1;
    }
}


/* =========================================================
   TABLET / MOBILE NAV
========================================================= */

@media (max-width: 850px) {

    .header-inner {
        width: 90%;
    }

    .mobile-menu {
        display: block;
    }

    .nav {
        display: none;

        position: absolute;

        top: 76px;
        left: 0;

        width: 100%;

        margin: 0;

        padding: 25px 5%;

        flex-direction: column;
        align-items: flex-start;

        gap: 0;

        background: white;

        border-top: 1px solid var(--border);

        box-shadow: 0 15px 30px rgba(8, 42, 69, 0.08);
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        width: 100%;

        padding: 13px 0;

        font-size: 12px;

        border-bottom: 1px solid #edf1f3;
    }

    .nav a::after {
        display: none;
    }


    /* HERO */

    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding: 65px 0 20px;
    }

    .hero-image-area {
        min-height: 570px;
    }

    .hero-photo {
        left: 0;

        width: 70%;
        height: 95%;
    }

    .hero-quote {
        right: 3%;
    }


    /* ABOUT */

    .about-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }


    /* SPECIALTIES */

    .specialties-heading {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .specialties-heading > p {
        justify-self: start;
    }


    /* KNOWLEDGE */

    .knowledge-grid {
        grid-template-columns: 1fr;
    }

    .academic {
        padding-right: 0;
        padding-bottom: 60px;

        border-right: 0;

        border-bottom: 1px solid var(--border);
    }


    /* CONTACT */

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .map-box,
    .location-map-wrap {
        min-height: 280px;
    }

    .location-map-wrap iframe {
        height: 280px;
    }


    /* FOOTER */

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .footer-nav {
        justify-content: flex-start;

        flex-wrap: wrap;
    }

    .footer-note {
        text-align: left;
    }
}


/* =========================================================
   PHONE
========================================================= */

@media (max-width: 600px) {

    .container {
        width: 88%;
    }

    .section {
        padding: 70px 0;
    }


    /* HEADER */

    .header-inner {
        height: 70px;
    }

    .brand-logo {
        width: 38px;
        height: 38px;

        font-size: 20px;
    }

    .brand-text strong {
        font-size: 11px;
    }

    .nav {
        top: 70px;
    }


    /* HERO */

    .hero-inner {
        width: 88%;
    }

    .hero-content {
        padding-top: 55px;
    }

    .hero-label {
        font-size: 7px;

        letter-spacing: 2px;
    }

    .hero h1 {
        font-size: 53px;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-buttons {
        align-items: stretch;

        flex-direction: column;
    }

    .button {
        justify-content: space-between;

        width: 100%;
    }

    .hero-affiliations {
        grid-template-columns: 1fr;

        gap: 14px;

        margin-top: 40px;
    }

    .affiliation + .affiliation {
        padding-left: 0;

        border-left: 0;
    }

    .hero-image-area {
        min-height: 470px;
    }

    .hero-photo {
        width: 82%;
        height: 95%;

        border-radius: 100px 100px 0 0;
    }

    .hero-quote {
        width: 120px;

        right: 0;
        top: 45px;
    }

    .hero-quote p {
        font-size: 15px;
    }


    /* ABOUT */

    .about-content h2 {
        font-size: 42px;
    }

    .about-images {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 330px;
    }


    /* SPECIALTIES */

    .specialties-heading h2 {
        font-size: 40px;
    }

    .specialty-grid {
        grid-template-columns: 1fr;
    }

    .specialty-card {
        min-height: 210px;
    }


    /* EP */

    .ep-section {
        padding: 60px 0;
    }

    .ep-grid {
        grid-template-columns: 1fr;
    }

    .ep-content h2 {
        font-size: 42px;
    }

    .heart-visual {
        min-height: 260px;
    }

    .heart-symbol {
        font-size: 145px;
    }

    .ep-ecg {
        width: 110%;

        left: -5%;
    }

    .ep-topics {
        flex-direction: column;
    }


    /* KNOWLEDGE */

    .academic h2,
    .patient-information h2 {
        font-size: 36px;
    }

    .publication-visual {
        transform-origin: left top;

        transform: scale(0.82);

        width: 120%;
    }

    .patient-cards {
        grid-template-columns: 1fr;
    }

    .patient-image {
        height: 160px;
    }


    /* CONTACT */

    .contact-main h2 {
        font-size: 38px;
    }

    .contact-information {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }

    .reveal-ready,
    .reveal-on-scroll,
    .location-map-wrap.map-reveal {
        opacity: 1 !important;

        transform: none !important;

        filter: none !important;
    }
}
/* =====================================================
   FEATURED VIDEO
===================================================== */

.featured-video {
    position: relative;
    overflow: hidden;
    background: #f7fafc;
}


/* HEADER */

.featured-video-header {
    max-width: 820px;
    margin-bottom: 48px;
}


.featured-video-header h2 {
    margin: 18px 0 20px;

    color: #092944;

    font-family:
        "Libre Caslon Display",
        Georgia,
        serif;

    font-size: clamp(42px, 5vw, 70px);
    font-weight: 400;
    line-height: 1.04;

    letter-spacing: -1.5px;
}


.featured-video-header p {
    max-width: 620px;

    margin: 0;

    color: #647985;

    font-family:
        "DM Sans",
        Arial,
        sans-serif;

    font-size: 16px;
    line-height: 1.8;
}


/* VIDEO */

.featured-video-player {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    border-radius: 14px;

    background: #092944;

    box-shadow:
        0 30px 80px
        rgba(7, 37, 61, .14);

    transform: translateZ(0);
}


.featured-video-player iframe {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    border: 0;
}


/* FOOTER */

.featured-video-footer {
    display: flex;

    justify-content: flex-end;

    margin-top: 24px;
}


.featured-video-footer .text-link {
    display: inline-flex;

    align-items: center;

    gap: 10px;
}


.featured-video-footer .text-link span {
    transition:
        transform .3s
        cubic-bezier(.16, 1, .3, 1);
}


/* DESKTOP */

@media (hover: hover) and (pointer: fine) {

    .featured-video-footer
    .text-link:hover span {

        transform:
            translate(3px, -3px);
    }

}


/* MOBILE */

@media (max-width: 850px) {

    .featured-video-header {
        margin-bottom: 34px;
    }

}


@media (max-width: 600px) {

    .featured-video-header h2 {
        margin-top: 14px;

        font-size: 39px;
        line-height: 1.08;

        letter-spacing: -.7px;
    }


    .featured-video-header p {
        font-size: 14px;
        line-height: 1.7;
    }


    .featured-video-player {
        border-radius: 9px;

        box-shadow:
            0 20px 45px
            rgba(7, 37, 61, .12);
    }


    .featured-video-footer {
        justify-content: flex-start;

        margin-top: 20px;
    }

}