:root {
    --bg-color: #F7F2EC;
    --navy-blue: #142B52;
    --navy-blue-hover: #1e3a6c;
    --gold: #C6A46A;
    --text-main: #142B52;
    --text-secondary: #5D5D5D;
    --white: #FFFFFF;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-full: 999px;
    
    --shadow-soft: 0 10px 30px rgba(20, 43, 82, 0.05);
    --shadow-medium: 0 15px 40px rgba(20, 43, 82, 0.1);
    --shadow-gold: 0 8px 24px rgba(198, 164, 106, 0.15);
}

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

body {
    background:
        linear-gradient(180deg, #F7F2EC 0%, #FBF8F4 48%, #F4EEE7 100%);
    font-family: var(--font-body);
    color: var(--text-secondary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
}

/* Premium Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-1 {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(198,164,106,0.1) 0%, rgba(247,242,236,0) 70%);
    border-radius: 50%;
    filter: blur(60px);
}

.glow-2 {
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(20,43,82,0.03) 0%, rgba(247,242,236,0) 70%);
    border-radius: 50%;
    filter: blur(80px);
}

.line-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M-100,50 Q200,150 500,50 T1100,50' fill='none' stroke='%23C6A46A' stroke-opacity='0.1' stroke-width='1'/%3E%3Cpath d='M-100,250 Q200,350 500,250 T1100,250' fill='none' stroke='%23C6A46A' stroke-opacity='0.05' stroke-width='1'/%3E%3C/svg%3E");
    background-size: cover;
    opacity: 0.6;
}

/* Layout */
.hero-section {
    width: 100%;
    min-height: 500px;
    background-image: url('background.png');
    background-size: cover;
    background-position: 72% top;
    background-repeat: no-repeat;
    position: relative;
    padding-top: 52px;
    padding-bottom: 24px;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(247, 242, 236, 0.82) 0%, rgba(247, 242, 236, 0.58) 34%, rgba(247, 242, 236, 0.02) 72%),
        linear-gradient(180deg, rgba(20, 43, 82, 0.02) 0%, rgba(247, 242, 236, 0) 58%, var(--bg-color) 100%);
    pointer-events: none;
}

.container {
    max-width: 420px;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.main-content {
    margin-top: -18px;
    padding-top: 0;
    padding-bottom: 64px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Header */
.header {
    margin-bottom: 24px;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 20px;
}

.logo-area {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 62%;
    padding: 16px 0;
}

.logo-icon {
    color: var(--gold);
    font-size: 28px;
    margin-bottom: 10px;
    opacity: .95;
}

.label {
    font-size: 9px;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 4px;
    font-weight: 600;
}

.name {
    font-family: var(--font-heading);
    color: var(--navy-blue);
    font-size: 42px;
    line-height: 1.05;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0;
}

.crp-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.crp-wrapper .dot {
    width: 4px;
    height: 4px;
    background-color: var(--gold);
    border-radius: 50%;
}

.crp {
    font-size: 12px;
    color: var(--gold);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.divider {
    width: 30px;
    height: 2px;
    background-color: var(--gold);
    margin-bottom: 16px;
}

.description {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
    max-width: 250px;
}

.quote {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 15px;
    color: var(--navy-blue);
    line-height: 1.4;
    max-width: 250px;
}

/* Desktop Responsiveness */
@media (min-width: 768px) {
    .container {
        max-width: 600px; /* Slightly wider for desktop */
    }
    
    .hero-section {
        min-height: 560px;
        background-position: 68% top;
        padding-top: 80px;
    }
    
    .logo-area {
        max-width: 280px;
    }
    .description, .quote {
        max-width: 280px; /* Wider on desktop — safe area stays left of the photo */
    }
    
    .footer-bottom {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

@media (max-width: 767px) {
    .hero-section {
        min-height: 560px;
        padding-top: 58px;
        background-size: auto 100%;
        background-position: 52% top;
    }

    .hero-section::before {
        background:
            linear-gradient(90deg,
                rgba(247, 242, 236, 0.98) 0%,
                rgba(247, 242, 236, 0.86) 34%,
                rgba(247, 242, 236, 0.36) 58%,
                rgba(247, 242, 236, 0.02) 86%
            ),
            linear-gradient(180deg,
                rgba(247, 242, 236, 0) 0%,
                rgba(247, 242, 236, 0.06) 48%,
                var(--bg-color) 100%
            );
    }

    .main-content {
        margin-top: -54px;
    }

    .header {
        margin-bottom: 0;
    }

    .header-content {
        padding-top: 0;
    }

    .logo-area {
        max-width: 58%;
        padding: 0;
    }

    .logo-icon {
        font-size: 26px;
        margin-bottom: 14px;
    }

    .label {
        font-size: 9px;
        letter-spacing: 2.4px;
        margin-bottom: 8px;
    }

    .name {
        font-size: clamp(38px, 12vw, 48px);
        line-height: .98;
        margin-bottom: 14px;
    }

    .crp-wrapper {
        margin-bottom: 14px;
    }

    .divider {
        width: 38px;
        margin-bottom: 18px;
    }

    .description {
        max-width: 230px;
        font-size: 14px;
        line-height: 1.55;
        margin-bottom: 20px;
        color: rgba(47, 47, 47, 0.74);
    }

    .quote {
        max-width: 240px;
        font-size: 15.5px;
        line-height: 1.45;
    }

    .btn-main {
        min-height: 78px;
        border-radius: 24px;
        padding: 0 18px;
    }

    .btn-icon {
        width: 44px;
        height: 44px;
    }

    .btn-arrow {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 430px) {
    .hero-section {
        min-height: 548px;
        background-position: 50% top;
    }

    .logo-area {
        max-width: 61%;
    }

    .name {
        font-size: clamp(37px, 11.6vw, 45px);
    }
}

/* Main Button */
.btn-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(145deg, var(--navy-blue) 0%, #0F274F 100%);
    min-height: 84px;
    border-radius: 24px;
    padding: 0 22px;
    color: var(--white);
    box-shadow: 0 18px 42px rgba(20, 43, 82, 0.18);
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
}

.btn-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.btn-main:hover {
    background: linear-gradient(145deg, var(--navy-blue-hover) 0%, var(--navy-blue) 100%);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(20, 43, 82, 0.2);
}

.btn-main:hover::before {
    transform: translateX(100%);
}

.btn-icon {
    font-size: 26px;
    color: var(--white);
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background-color: rgba(255,255,255,0.1);
}

.btn-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 16px;
}

.btn-text strong {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-text span {
    font-size: 12px;
    opacity: 0.8;
    margin-top: 2px;
}

.btn-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(198, 164, 106, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 18px;
    transition: all 0.3s ease;
}

.btn-main:hover .btn-arrow {
    background-color: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

/* Links List */
.links-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 26px;
}

.link-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(233, 222, 209, 0.92);
    min-height: 72px;
    border-radius: 22px;
    padding: 0 18px;
    box-shadow: 0 10px 28px rgba(20, 43, 82, 0.045);
}

.link-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    border-color: var(--gold);
    background: var(--white);
}

.link-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background-color: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-blue);
    font-size: 22px;
    transition: all 0.3s ease;
}

.link-icon.whatsapp {
    color: #25D366;
    background-color: rgba(37, 211, 102, 0.1);
}

.link-icon.instagram {
    color: #E1306C;
    background-color: rgba(225, 48, 108, 0.1);
}

.link-item:hover .link-icon {
    background-color: var(--navy-blue);
    color: var(--white);
}

.link-item:hover .link-icon.whatsapp {
    background-color: #25D366;
    color: var(--white);
}

.link-item:hover .link-icon.instagram {
    background-color: #E1306C;
    color: var(--white);
}

.link-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 16px;
}

.link-text strong {
    font-size: 13px;
    letter-spacing: .2px;
    font-weight: 600;
    color: var(--navy-blue);
    line-height: 1.2;
}

.link-text span {
    font-size: 11.5px;
    color: var(--text-secondary);
    margin-top: 2px;
    line-height: 1.35;
}

.link-arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(198, 164, 106, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 16px;
    transition: all 0.3s ease;
}

.link-item:hover .link-arrow {
    background-color: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

.btn-main:active,
.link-item:active,
.social-icons a:active {
    transform: scale(0.985);
}

/* Authority Section */
.authority-card {
    background: linear-gradient(145deg, #142B52 0%, #0d1c36 100%);
    border: 1px solid rgba(198, 164, 106, 0.15); /* delicate gold border */
    border-radius: 24px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 28px 12px;
    box-shadow: 0 20px 40px rgba(20, 43, 82, 0.2);
    margin-bottom: 26px;
    position: relative;
    overflow: hidden;
}

.authority-card::before {
    content: '';
    position: absolute;
    top: 0; left: 15%; right: 15%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(198, 164, 106, 0.4), transparent);
}

.authority-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 2px;
}

.authority-item i {
    color: var(--gold);
    font-size: 25px;
    margin-bottom: 12px;
    filter: drop-shadow(0 4px 8px rgba(198, 164, 106, 0.25)); /* glowing icon effect */
}

.authority-item strong {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.1;
    color: var(--white);
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.authority-item strong.text-long {
    font-size: 14.5px;
    letter-spacing: 0;
    text-transform: uppercase;
}

.authority-item span {
    font-size: 8.5px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
    font-weight: 600;
}

.authority-item small {
    font-size: 9.5px;
    opacity: 0.7;
    line-height: 1.3;
}

.authority-divider {
    width: 1px;
    height: 90px;
    background: linear-gradient(to bottom, transparent, rgba(198, 164, 106, 0.3), transparent);
    align-self: center;
}

/* Testimonial */
.testimonial-card {
    background-color: var(--white);
    border-radius: 24px;
    padding: 28px 22px;
    display: grid;
    grid-template-columns: 1fr 64px;
    gap: 18px;
    align-items: center;
    box-shadow: 0 16px 42px rgba(20, 43, 82, 0.07);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 16px;
    font-family: var(--font-heading);
    font-size: 120px;
    color: var(--gold);
    opacity: 0.1;
    line-height: 1;
}

.testimonial-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.testimonial-content i {
    color: var(--gold);
    font-size: 26px;
    margin-bottom: 12px;
    display: block;
}

.testimonial-content p {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 15.5px;
    color: var(--navy-blue);
    line-height: 1.6;
}

.testimonial-photo {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(198, 164, 106, 0.4);
    box-shadow: 0 8px 16px rgba(20, 43, 82, 0.1);
    position: relative;
    z-index: 1;
}

.photo-small {
    width: 100%;
    height: 100%;
    background-image: url('dobra02.png');
    background-size: cover;
    background-position: right top; /* Adjusted to better focus on face if image is full mockup */
}

/* Footer */
.footer {
    background-color: var(--navy-blue);
    color: var(--white);
    margin-top: 54px;
    border-top-left-radius: 34px;
    border-top-right-radius: 34px;
    box-shadow: 0 -10px 40px rgba(20, 43, 82, 0.05);
    position: relative;
}

.footer-container {
    max-width: 420px;
    margin: 0 auto;
    padding: 50px 30px 32px;
    position: relative;
    z-index: 2;
}

.footer-top {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 34px;
}

.footer h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 500;
    color: var(--gold);
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.footer-divider-title {
    width: 40px;
    height: 1px;
    background-color: var(--gold);
    margin-bottom: 20px;
    opacity: 0.5;
}

.contact-info ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 13.5px;
    opacity: 0.95;
    line-height: 1.6;
}

.contact-info i {
    color: var(--gold);
    font-size: 20px;
    margin-top: 2px;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(198, 164, 106, 0.2);
}

.footer-bottom {
    border-top: 1px solid rgba(198, 164, 106, 0.2);
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    font-size: 10px;
    color: rgba(255,255,255,0.5);
}

.credits {
    display: flex;
    align-items: center;
    gap: 4px;
}

.credits i {
    color: var(--gold);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 1; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.container > * {
    animation: fadeIn 0.45s ease-out forwards;
    opacity: 1;
}

.header { animation-delay: 0.1s; }
.btn-main { animation-delay: 0.2s; }
.links-list { animation-delay: 0.3s; }
.authority-card { animation-delay: 0.4s; }
.testimonial-card { animation-delay: 0.5s; }

/* Responsive adjustments */
@media (max-width: 380px) {
    .container { padding-left: 16px; padding-right: 16px; }
    .hero-section { min-height: 530px; background-position: 48% top; }
    .logo-area { max-width: 64%; }
    .name { font-size: 35px; }
    .description,
    .quote { font-size: 12.5px; max-width: 210px; }
    .btn-main { padding: 0 16px; min-height: 80px; }
    .btn-icon { width: 42px; height: 42px; }
    .btn-text { padding: 0 12px; }
    .link-item { padding: 0 14px; min-height: 70px; }
    .link-icon { width: 40px; height: 40px; }
    .link-text { padding: 0 12px; }
    .authority-card { padding: 24px 8px; border-radius: 22px; }
    .authority-item strong { font-size: 15px; }
    .authority-item span { font-size: 7.5px; }
    .authority-item small { font-size: 8px; }
    .testimonial-card { grid-template-columns: 1fr; }
    .testimonial-photo { display: none; }
}
