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

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

:root {
    --gold: #d4af37;
    --gold-dark: #8b6508;
    --gold-deep: #6f4f05;
    --gold-soft: #fff3cf;
    --cream: #fffaf0;
    --cream-2: #fdf6e7;
    --dark: #2b2113;
    --text: #5f513c;
    --muted: #8a7a62;
    --white: #ffffff;
    --line: #ead9b0;
    --shadow: 0 22px 55px rgba(139, 101, 8, 0.14);
    --shadow-soft: 0 10px 30px rgba(139, 101, 8, 0.12);
    --radius: 28px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--cream-2);
    color: var(--dark);
    overflow-x: hidden;
}

.back-home-btn {
    position: fixed;
    top: 22px;
    left: 42px;
    z-index: 100;
    height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    color: var(--dark);
    font-size: 13px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(12px);
    transition: 0.25s ease;
}

.back-home-btn:hover {
    transform: translateY(-3px);
    color: var(--gold-dark);
    border-color: var(--gold);
}

.hero {
    min-height: 100vh;
    padding: 150px 7% 90px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 48px;
    background:
        radial-gradient(
            circle at 12% 18%,
            rgba(212, 175, 55, 0.22),
            transparent 28%
        ),
        radial-gradient(
            circle at 90% 12%,
            rgba(139, 101, 8, 0.16),
            transparent 28%
        ),
        linear-gradient(135deg, #fffdf8, #fff3d7);
}

.tag,
.section-title span,
.branch-header span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 17px;
    border-radius: 999px;
    background: var(--gold-soft);
    color: var(--gold-dark);
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 18px;
}

.hero h1 {
    max-width: 820px;
    font-size: clamp(42px, 6vw, 74px);
    line-height: 1.02;
    letter-spacing: -2.5px;
    color: var(--dark);
}

.hero-text p {
    max-width: 680px;
    margin-top: 24px;
    color: var(--text);
    font-size: 18px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.btn {
    text-decoration: none;
    height: 54px;
    padding: 0 26px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 900;
    transition: 0.3s ease;
}

.primary-btn {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--white);
    box-shadow: 0 16px 30px rgba(139, 101, 8, 0.24);
}

.outline-btn {
    background: var(--white);
    color: var(--gold-dark);
    border: 1px solid var(--line);
}

.btn:hover {
    transform: translateY(-4px);
}

.hero-panel {
    position: relative;
    padding: 42px;
    border-radius: 38px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.hero-panel::before {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 30px;
    border: 1px dashed rgba(139, 101, 8, 0.22);
    pointer-events: none;
}

.hero-icon {
    width: 78px;
    height: 78px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    background: var(--gold-soft);
    color: var(--gold-dark);
    font-size: 34px;
    margin-bottom: 26px;
}

.hero-panel h3 {
    font-size: 32px;
    margin-bottom: 14px;
}

.hero-panel p {
    color: var(--text);
    line-height: 1.8;
    font-size: 16px;
}

.hero-mini-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.hero-mini-grid div {
    padding: 18px;
    border-radius: 20px;
    background: var(--cream);
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
}

.hero-mini-grid strong {
    display: block;
    width: 100%;
    color: var(--gold-dark);
    font-size: 28px;
    font-weight: 900;
}

.hero-mini-grid span {
    display: block;
    width: 100%;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.section,
.team-section,
.map-section {
    padding: 90px 7%;
}

.section-title {
    max-width: 760px;
    margin: 0 auto 50px;
    text-align: center;
}

.section-title h2,
.branch-header h2 {
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.12;
    letter-spacing: -1px;
}

.section-title p {
    text-align: left;
    margin-top: 14px;
    color: var(--text);
    line-height: 1.8;
}

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

.about-card {
    padding: 34px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    transition: 0.3s ease;
}

.about-card:hover {
    transform: translateY(-8px);
}

.about-card i {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: var(--gold-soft);
    color: var(--gold-dark);
    font-size: 26px;
    margin-bottom: 22px;
}

.about-card h3 {
    font-size: 23px;
    margin-bottom: 12px;
}

.about-card p {
    color: var(--text);
    line-height: 1.7;
}

.team-section {
    background: var(--white);
}

.owner-card {
    max-width: 1120px;
    margin: 0 auto 60px;
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 32px;
    align-items: stretch;
}

.owner-photo {
    width: 100%;
    min-height: 360px;
    border-radius: 34px;
    overflow: hidden;
    background: var(--gold-soft);
    box-shadow: var(--shadow);
}

.owner-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.owner-content {
    display: flex;
    flex-direction: column;
    min-height: 360px;
    padding: 40px 45px;
    border-radius: 30px;
    background:
        radial-gradient(
            circle at 92% 8%,
            rgba(255, 255, 255, 0.18),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #7a5705 0%,
            #a67c0b 45%,
            #d4af37 100%
        );
    color: #fff;
    box-shadow: 0 20px 45px rgba(139, 101, 8, 0.18);
    align-items: stretch;
}

.owner-content p {
    font-size: 16px;
    line-height: 1.9;
    color: inherit;
    margin-bottom: 16px;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.owner-label {
    display: inline-flex;
    width: fit-content;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    margin-top: 8px;
}

.owner-content h3 {
    width: 100%;
    font-size: clamp(32px, 3vw, 44px);
    line-height: 1;
    margin-top: 28px !important;
    margin-bottom: 12px;
    color: inherit;
    font-weight: 800;
}

.owner-role {
    width: 100%;
    color: inherit;
    font-size: 17px !important;
    font-weight: 700 !important;
    margin-top: 6px !important;
    margin-bottom: 0 !important;
}

.team-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.team-card {
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
}

.team-card img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: 24px;
    background: var(--gold-soft);
}

.team-info {
    text-align: center;
    padding-top: 16px;
}

.team-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 6px;
    line-height: 1.3;
}

.team-card .team-position {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: var(--gold-dark);
    line-height: 1.4;
}

.team-card .team-description {
    margin-top: 5px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    line-height: 1.6;
}

.branch-section {
    padding: 90px 7%;
    background:
        radial-gradient(
            circle at 12% 20%,
            rgba(212, 175, 55, 0.22),
            transparent 28%
        ),
        linear-gradient(135deg, #2b2113, #8b6508);
}

.branch-header {
    max-width: 1120px;
    margin: 0 auto 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.branch-header h2 {
    max-width: 820px;
    color: var(--white);
}

.branches-grid {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.branch-box {
    padding: 32px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
    transition: 0.3s ease;
}

.branch-box:hover {
    transform: translateY(-8px);
}

.branch-top {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
}

.branch-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.16);
    display: grid;
    place-items: center;
    color: var(--white);
    font-size: 26px;
    flex-shrink: 0;
}

.branch-top h3 {
    color: var(--white);
    font-size: 24px;
    margin-bottom: 6px;
}

.branch-top p {
    color: #fff0c2;
    font-size: 14px;
    font-weight: 800;
}

.branch-details {
    display: grid;
    gap: 18px;
}

.branch-details div {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.branch-details i {
    color: #fff4d6;
    margin-top: 5px;
}

.branch-details p {
    color: #fff4d6;
    line-height: 1.7;
}

.branch-btn {
    text-decoration: none;
    margin-top: 28px;
    height: 50px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--white);
    color: var(--gold-dark);
    font-weight: 900;
    transition: 0.3s ease;
}

.branch-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.16);
}

.map-section {
    background: var(--cream-2);
}

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

.map-card {
    background: var(--white);
    border-radius: 34px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.map-header {
    padding: 28px;
}

.map-header h3 {
    font-size: 28px;
    margin-bottom: 8px;
}

.map-header p {
    color: var(--text);
    line-height: 1.7;
}

.map-wrapper {
    width: 100%;
    height: 380px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.branch-map-card {
    position: relative;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.branch-map-card.map-highlight {
    animation: branchMapFocus 2s ease;
}

@keyframes branchMapFocus {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }

    20% {
        transform: scale(1.03);
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0.2);
    }

    45% {
        transform: scale(1.015);
        box-shadow: 0 0 0 18px rgba(212, 175, 55, 0.1);
    }

    70% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0.15);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

footer {
    padding: 28px;
    text-align: center;
    background: var(--dark);
    color: #fff0c2;
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 1400px) {
    .hero {
        padding: 140px 6% 80px;
        gap: 60px;
        grid-template-columns: 1fr;
    }

    .owner-card {
        grid-template-columns: 1fr;
    }

    .hero-text {
        text-align: center;
    }

    .hero-text p {
        margin-inline: auto;
    }

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

    .hero-panel {
        width: min(700px, 100%);
        margin: auto;
    }
}

@media (max-width: 1200px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .branches-grid,
    .map-grid {
        grid-template-columns: 1fr;
    }

    .owner-photo {
        min-height: 420px;
    }

    .owner-content {
        padding: 38px;
    }
}

@media (max-width: 992px) {
    .hero {
        padding: 120px 5% 70px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-text p {
        font-size: 17px;
    }

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

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

    .about-grid,
    .owner-card,
    .branches-grid,
    .map-grid {
        grid-template-columns: 1fr;
    }

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

    .section,
    .team-section,
    .branch-section,
    .map-section {
        padding: 70px 5%;
    }

    .owner-photo {
        min-height: 360px;
    }

    .owner-content {
        text-align: center;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 96px 20px 48px;
    }

    .hero h1 {
        font-size: 34px;
        line-height: 1.15;
    }

    .hero-text p {
        font-size: 15px;
        line-height: 1.65;
    }

    .hero-actions {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        padding: 20px;
        border-radius: 24px;
    }

    .hero-mini-grid,
    .about-grid,
    .team-grid,
    .branches-grid,
    .map-grid {
        grid-template-columns: 1fr;
    }

    .section-title h2,
    .branch-header h2 {
        font-size: 30px;
    }

    .owner-photo {
        min-height: 270px;
    }

    .team-card img {
        height: 270px;
    }

    .map-wrapper {
        height: 280px;
    }
}

@media (max-width: 576px) {
    .back-home-btn {
        top: 14px;
        left: 14px;
    }

    .hero {
        padding: 86px 16px 44px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero-text p {
        font-size: 14px;
    }

    .hero-panel {
        padding: 18px;
    }

    .hero-mini-grid {
        grid-template-columns: 1fr;
    }

    .section,
    .team-section,
    .branch-section,
    .map-section {
        padding: 46px 16px;
    }

    .section-title h2,
    .branch-header h2 {
        font-size: 25px;
    }

    .about-card,
    .branch-box,
    .owner-content {
        padding: 18px;
    }

    .team-card img {
        height: 225px;
    }

    .map-wrapper {
        height: 225px;
    }
}

@media (max-width: 400px) {
    .hero {
        padding: 80px 14px 40px;
    }

    .hero h1 {
        font-size: 25px;
    }

    .hero-text p {
        font-size: 13px;
    }

    .hero-panel {
        padding: 16px;
    }

    .hero-icon {
        width: 48px;
        height: 48px;
        font-size: 21px;
    }

    .hero-panel h3 {
        font-size: 20px;
    }

    .hero-mini-grid strong {
        font-size: 20px;
    }

    .owner-photo {
        min-height: 205px;
    }

    .team-card img {
        height: 200px;
    }

    .map-wrapper {
        height: 190px;
    }
}