/*
Theme Name: Miraval Tag & Multiservices
Theme URI: https://mdvatitletag.com/
Author: DNL IT SERVICES
Description: Custom WordPress theme for Miraval Tag & Multiservices.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: mdvatitletag
*/
:root {
    --bg: #eef3fa;
    --surface: #ffffff;
    --surface-alt: #f6f9ff;
    --text: #0f172a;
    --muted: #52607a;
    --line: rgba(15, 23, 42, 0.08);
    --primary: #143b8f;
    --primary-dark: #0f2c69;
    --accent: #f59e0b;
    --success: #0f766e;
    --shadow-lg: 0 28px 90px rgba(15, 23, 42, 0.14);
    --shadow-md: 0 16px 48px rgba(15, 23, 42, 0.11);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 16px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(20, 59, 143, 0.11), transparent 36%),
        radial-gradient(circle at top right, rgba(245, 158, 11, 0.12), transparent 24%),
        var(--bg);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

.container {
    width: min(var(--container), calc(100% - 2rem));
    margin: 0 auto;
}

.section {
    padding: 88px 0;
}

.section-tight {
    padding: 64px 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(20, 59, 143, 0.1);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.section-header {
    max-width: 720px;
    margin-bottom: 2.5rem;
    position: relative;
}

.section-header::after {
    content: "";
    display: block;
    width: 88px;
    height: 4px;
    margin-top: 1rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), rgba(245, 158, 11, 0.2));
}

.section-header h2,
.section-header h1 {
    margin: 0.85rem 0 0.75rem;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.05;
}

.section-header p {
    margin: 0;
    color: var(--muted);
    font-size: 1.06rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(18px);
    background: rgba(248, 250, 253, 0.86);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 84px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}

.brand img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.brand-copy {
    min-width: 0;
}

.brand-copy strong {
    display: block;
    font-size: 1rem;
    line-height: 1.2;
}

.brand-copy span {
    display: block;
    color: var(--muted);
    font-size: 0.86rem;
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-left: auto;
}

.nav-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.site-nav a {
    padding: 0.8rem 1rem;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 600;
}

.site-nav a:hover,
.site-nav a.active {
    background: rgba(20, 59, 143, 0.08);
    color: var(--primary);
}

.lang-switch,
.cta-link,
.btn,
.ghost-btn,
.menu-btn {
    border-radius: 999px;
    transition: 0.2s ease;
}

.lang-switch,
.ghost-btn {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.7);
    color: var(--text);
}

.lang-switch-flag {
    width: auto;
    min-width: 58px;
    height: 44px;
    padding: 0 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(20, 59, 143, 0.14);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(241, 245, 255, 0.94));
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    color: var(--primary-dark);
    font-size: 0.86rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-shadow: none;
    overflow: hidden;
    position: relative;
}

.lang-switch-es {
    background-image: none;
}

.lang-switch-en {
    background-image: none;
}

.lang-switch-flag::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 0.45rem;
    background: linear-gradient(135deg, rgba(20, 59, 143, 0.9), rgba(40, 95, 214, 0.72));
    box-shadow: 0 0 0 4px rgba(20, 59, 143, 0.08);
}

.lang-switch-flag:hover,
.lang-switch-flag:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(20, 59, 143, 0.24);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(235, 241, 255, 0.98));
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.lang-switch,
.ghost-btn,
.menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.82rem 1rem;
    font-weight: 700;
}

.menu-btn {
    display: none;
    gap: 0.28rem;
    flex-direction: column;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 1px solid var(--line);
    background: var(--surface);
}

.menu-btn span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
    transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.menu-btn[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-btn[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.btn,
.cta-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.95rem 1.25rem;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.btn:hover,
.cta-link:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #0c2457, var(--primary-dark));
}

.ghost-btn:hover,
.lang-switch:hover,
.menu-btn:hover {
    border-color: rgba(29, 78, 216, 0.3);
    color: var(--primary);
}

.hero {
    padding: 88px 0 56px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
}

.hero-copy h1 {
    margin: 1rem 0;
    font-size: clamp(2.6rem, 5vw, 5.2rem);
    line-height: 0.97;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.hero-title-main,
.hero-title-accent {
    display: block;
}

.hero-title-word {
    display: inline-block;
}

.hero-title-main .hero-title-word {
    margin-right: 0.22em;
}

.hero-title-main .hero-title-word:last-child {
    margin-right: 0;
}

.hero-title-accent {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 38%, #60a5fa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 10px 24px rgba(37, 99, 235, 0.16));
}

.hero-copy p {
    margin: 0 0 1.6rem;
    color: var(--muted);
    font-size: 1.1rem;
    max-width: 62ch;
}

.hero-services-list {
    font-weight: 600;
    line-height: 1.7;
}

.hero-actions,
.inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.hero-trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.hero-pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.85rem;
    margin: 1.35rem 0 1rem;
}

.hero-pillar-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem 1rem;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(20, 59, 143, 0.1);
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.hero-pillar-card strong {
    color: var(--heading);
    font-size: 0.95rem;
    line-height: 1.45;
}

.hero-pillar-number {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), #315fcb 60%, #6e93ef);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
}

.hero-trust-strip span {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    background: rgba(20, 59, 143, 0.08);
    border: 1px solid rgba(20, 59, 143, 0.08);
    color: var(--primary);
    font-size: 0.84rem;
    font-weight: 700;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.stat-card,
.info-card,
.service-card,
.value-card,
.testimonial-card,
.contact-panel,
.story-card,
.cta-panel,
.detail-card,
.form-card {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(20, 59, 143, 0.08);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-xl);
}

.stat-card {
    padding: 1.1rem 1.2rem;
    position: relative;
    overflow: hidden;
}

.stat-card::before,
.info-card::before,
.value-card::before,
.detail-card::before,
.contact-panel::before,
.form-card::before,
.story-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.stat-card strong {
    display: block;
    font-size: 1.6rem;
    margin-bottom: 0.2rem;
}

.stat-card span {
    color: var(--muted);
    font-size: 0.95rem;
}

.hero-visual {
    position: relative;
}

.visual-card {
    overflow: hidden;
    border-radius: 32px;
    background: linear-gradient(135deg, #d7e6ff, #eff5ff);
    box-shadow: var(--shadow-lg);
}

.visual-card>img {
    width: 100%;
    height: 620px;
    object-fit: cover;
}

.hero-slider {
    position: relative;
}

.hero-slider-viewport {
    overflow: hidden;
}

.hero-slider .gallery-track {
    gap: 0;
}

.hero-slider .gallery-card {
    flex: 0 0 100%;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.hero-slider .gallery-card img {
    width: 100%;
    height: 620px;
    aspect-ratio: auto;
    object-fit: cover;
}

.hero-slider .gallery-control {
    top: 50%;
    transform: translateY(-50%);
}

.hero-slider .gallery-control-prev {
    left: 1rem;
}

.hero-slider .gallery-control-next {
    right: 1rem;
}

.hero-slider-dots {
    position: absolute;
    left: 1.25rem;
    bottom: 1.25rem;
    z-index: 2;
    justify-content: flex-start;
    margin-top: 0;
    padding: 0.45rem 0.65rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.22);
    backdrop-filter: blur(12px);
}

.hero-slider .review-dot {
    background: rgba(255, 255, 255, 0.45);
}

.hero-slider .review-dot.active {
    background: linear-gradient(90deg, #ffffff, #dbeafe);
}

.floating-card {
    position: absolute;
    right: -12px;
    bottom: 24px;
    width: min(320px, 80%);
    padding: 1.2rem;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(20, 59, 143, 0.92));
    color: #fff;
    border-radius: 24px;
    box-shadow: 0 18px 60px rgba(15, 23, 42, 0.34);
}

.floating-card strong {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 1rem;
}

.floating-card p,
.floating-card ul {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
}

.floating-card ul {
    padding-left: 1rem;
    margin-top: 0.75rem;
}

.grid-2,
.grid-3,
.grid-4,
.service-grid,
.info-grid,
.contact-grid,
.story-grid,
.detail-grid {
    display: grid;
    gap: 1.4rem;
}

.grid-2,
.story-grid,
.contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3,
.service-grid,
.detail-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4,
.info-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card,
.value-card,
.story-card,
.detail-card,
.contact-panel,
.form-card {
    padding: 1.5rem;
    position: relative;
}

.info-card h3,
.service-card h3,
.value-card h3,
.story-card h3,
.detail-card h3,
.contact-panel h3,
.form-card h3 {
    margin: 0 0 0.7rem;
    font-size: 1.2rem;
}

.info-card p,
.service-card p,
.value-card p,
.story-card p,
.detail-card p,
.contact-panel p,
.contact-panel li,
.form-card p {
    margin: 0;
    color: var(--muted);
}

.story-card p+p,
.founder-card p+p {
    margin-top: 1rem;
}

.info-card .icon,
.value-card .icon,
.detail-card .icon {
    width: 52px;
    height: 52px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 1rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(20, 59, 143, 0.12), rgba(245, 158, 11, 0.2));
    color: var(--primary);
    font-weight: 800;
}

.service-card {
    overflow: hidden;
    position: relative;
}

.service-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.service-card-body {
    padding: 1.4rem;
}

.service-card-body::before {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.service-card h3 {
    margin-bottom: 0.55rem;
}

.about-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.service-spotlight-grid {
    align-items: stretch;
}

.service-spotlight-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 420px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, #12203d, #0b1220);
    box-shadow: 0 22px 54px rgba(15, 23, 42, 0.16);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.service-spotlight-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(7, 12, 24, 0.1) 0%, rgba(7, 12, 24, 0.28) 34%, rgba(7, 12, 24, 0.92) 100%),
        linear-gradient(135deg, rgba(20, 59, 143, 0.22), rgba(245, 158, 11, 0.12));
}

.service-spotlight-card:hover,
.service-spotlight-card:focus-within {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 28px 62px rgba(15, 23, 42, 0.2);
}

.service-spotlight-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.service-spotlight-card:hover img,
.service-spotlight-card:focus-within img {
    transform: scale(1.08);
}

.service-spotlight-card .service-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    padding: 0.48rem 0.78rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.service-spotlight-card .service-card-body {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: flex-end;
    margin-top: auto;
    padding: 5.5rem 1.2rem 1.15rem;
    background:
        linear-gradient(180deg, rgba(9, 16, 30, 0), rgba(9, 16, 30, 0.18) 16%, rgba(9, 16, 30, 0.9) 62%, rgba(9, 16, 30, 0.98) 100%);
}

.service-spotlight-card .service-card-body::before {
    width: 72px;
    height: 4px;
    margin-bottom: 0.9rem;
    background: linear-gradient(90deg, var(--accent), #fff);
}

.service-spotlight-card h3 {
    color: #fff;
    font-size: 1.16rem;
}

.service-spotlight-card p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.7;
}

.service-spotlight-card .service-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.service-spotlight-card .service-card-footer span {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.84rem;
    font-weight: 700;
}

.service-spotlight-card .service-card-footer strong {
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 0.84rem;
    font-weight: 800;
}

.service-card ul,
.detail-card ul,
.contact-panel ul {
    margin: 0.9rem 0 0;
    padding-left: 1.1rem;
    color: var(--muted);
}

.service-card li,
.detail-card li,
.contact-panel li {
    margin-bottom: 0.45rem;
}

.check-list {
    list-style: none;
    margin: 1.2rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: inherit;
    font-weight: 600;
}

.check-list li::before {
    content: "✓";
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(29, 78, 216, 0.12);
    color: var(--primary);
    flex: 0 0 auto;
}

.band {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(238, 244, 255, 0.92));
    border-block: 1px solid rgba(15, 23, 42, 0.04);
}

.highlight {
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    color: #fff;
}

.highlight .story-card,
.highlight .value-card,
.highlight .detail-card,
.highlight .contact-panel {
    background: linear-gradient(180deg, rgba(9, 16, 30, 0.84), rgba(15, 23, 42, 0.92));
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 60px rgba(2, 6, 23, 0.3);
}

.highlight .story-card::before,
.highlight .value-card::before,
.highlight .detail-card::before,
.highlight .contact-panel::before {
    background: linear-gradient(90deg, var(--accent), rgba(255, 255, 255, 0.55));
}

.highlight .section-header p,
.highlight .info-card p,
.highlight .value-card p,
.highlight .contact-panel p,
.highlight .contact-panel li,
.highlight .story-card p,
.highlight .detail-card p,
.highlight .detail-card li,
.highlight .eyebrow {
    color: rgba(255, 255, 255, 0.78);
}

.highlight .eyebrow {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.92);
}

.highlight .section-header h2,
.highlight .section-header h1,
.highlight h3,
.highlight strong {
    color: #fff;
}

.testimonial-card {
    padding: 1.6rem;
}

.testimonial-card p {
    margin: 0 0 1rem;
    color: var(--muted);
}

.testimonial-card strong {
    display: block;
    font-size: 0.95rem;
}

.reviews-showcase {
    overflow: hidden;
}

.reviews-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.reviews-slider {
    position: relative;
    padding: 1.35rem;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(246, 249, 255, 0.98));
    border: 1px solid rgba(20, 59, 143, 0.08);
    box-shadow: var(--shadow-lg);
}

.reviews-slider-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reviews-summary strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 0.15rem;
}

.reviews-summary span {
    color: var(--muted);
    font-size: 0.94rem;
}

.reviews-controls {
    display: flex;
    gap: 0.65rem;
}

.review-control {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(20, 59, 143, 0.12);
    border-radius: 999px;
    background: #fff;
    color: var(--primary);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.review-control:hover {
    background: rgba(20, 59, 143, 0.06);
}

.reviews-viewport {
    overflow: hidden;
}

.reviews-track {
    display: flex;
    gap: 1rem;
    transition: transform 0.45s ease;
    will-change: transform;
}

.review-card {
    flex: 0 0 calc((100% - 2rem) / 3);
    min-width: 0;
    position: relative;
    padding: 1.35rem;
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(245, 158, 11, 0.14), transparent 26%),
        linear-gradient(180deg, #ffffff, #f7faff);
    border: 1px solid rgba(20, 59, 143, 0.08);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.review-platform-mark {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(20, 59, 143, 0.08);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.google-logo-icon {
    width: 22px;
    height: 22px;
    display: block;
}

.review-stars {
    margin-bottom: 0.85rem;
    color: var(--accent);
    letter-spacing: 0.12em;
    font-size: 0.95rem;
}

.review-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.8;
}

.review-meta {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    margin-top: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(20, 59, 143, 0.08);
}

.review-meta strong {
    font-size: 0.98rem;
}

.review-meta span {
    color: var(--muted);
    font-size: 0.86rem;
}

.reviews-dots {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 1rem;
}

.review-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(20, 59, 143, 0.18);
    cursor: pointer;
}

.review-dot.active {
    width: 28px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.gallery-showcase {
    overflow: hidden;
}

.gallery-slider {
    position: relative;
    padding: 1.35rem;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(246, 249, 255, 0.98));
    border: 1px solid rgba(20, 59, 143, 0.08);
    box-shadow: var(--shadow-lg);
}

.gallery-slider-topbar {
    margin-bottom: 1rem;
}

.gallery-shell {
    position: relative;
}

.gallery-track {
    display: flex;
    gap: 1rem;
    transition: transform 0.45s ease;
    will-change: transform;
}

.gallery-card {
    flex: 0 0 calc((100% - 2rem) / 3);
    min-width: 0;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(20, 59, 143, 0.08);
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.gallery-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.gallery-control {
    position: absolute;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
}

.gallery-control-prev {
    left: -22px;
}

.gallery-control-next {
    right: -22px;
}

@media (max-width: 1080px) {
    .gallery-card {
        flex-basis: calc((100% - 1rem) / 2);
    }

    .gallery-control-prev {
        left: -12px;
    }

    .gallery-control-next {
        right: -12px;
    }
}

@media (max-width: 860px) {
    .gallery-card {
        flex-basis: 100%;
    }

    .gallery-slider {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }

    .gallery-control-prev {
        left: 8px;
    }

    .gallery-control-next {
        right: 8px;
    }
}

.about-showcase {
    align-items: start;
}

.founder-card {
    display: grid;
    gap: 0.25rem;
}

.founder-layout {
    display: grid;
    grid-template-columns: 420px minmax(0, 1fr);
    gap: 1.1rem;
    align-items: stretch;
}

.founder-media {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    min-height: 100%;
    box-shadow: var(--shadow-lg);
}

.founder-media img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
}

.founder-badge {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 1rem 1.05rem;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(10px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.28);
}

.founder-badge strong {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 1rem;
}

.founder-badge span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.92rem;
}

.founder-panel {
    align-content: center;
    padding: 1.7rem;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(245, 158, 11, 0.16), transparent 24%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.founder-panel h3 {
    margin-bottom: 0.8rem;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.founder-panel p {
    font-size: 1rem;
    line-height: 1.75;
}

.founder-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.2rem;
}

.founder-points span {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
}

body[data-page="home"] .hero {
    padding: 54px 0 28px;
}

body[data-page="home"] .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1.35rem;
    align-items: start;
}

body[data-page="home"] .hero-copy h1 {
    margin: 0.7rem 0 0.8rem;
    font-size: clamp(2.5rem, 4.6vw, 4.6rem);
    max-width: none;
}

body[data-page="home"] .hero-copy p {
    margin-bottom: 1.1rem;
    font-size: 1rem;
    max-width: 54ch;
}

body[data-page="home"] .hero-actions {
    gap: 0.75rem;
}

body[data-page="home"] .hero-contact-links {
    margin-top: 0.95rem;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.55rem;
}

body[data-page="home"] .hero-contact-links .social-link {
    min-width: 0;
    padding: 0.66rem 0.82rem;
    gap: 0.5rem;
    font-size: clamp(0.74rem, 1.65vw, 0.94rem);
}

body[data-page="home"] .hero-contact-links .social-link span {
    white-space: nowrap;
}

body[data-page="home"] .hero-contact-links .social-link svg {
    width: clamp(16px, 1.8vw, 20px);
    height: clamp(16px, 1.8vw, 20px);
    flex: 0 0 clamp(16px, 1.8vw, 20px);
}

body[data-page="home"] .hero-trust-strip {
    margin-top: 0.9rem;
    gap: 0.55rem;
}

body[data-page="home"] .hero-pillars-grid {
    margin: 1.15rem 0 0.95rem;
}

body[data-page="home"] .hero-pillar-card {
    padding: 0.88rem 0.95rem;
}

body[data-page="home"] .hero-pillar-card strong {
    font-size: 0.88rem;
}

body[data-page="home"] .hero-trust-strip span {
    padding: 0.45rem 0.7rem;
    font-size: 0.8rem;
}

body[data-page="home"] .hero-stats {
    gap: 0.8rem;
    margin-top: 1.2rem;
}

body[data-page="home"] .stat-card {
    padding: 0.95rem 1rem;
    border-radius: 22px;
}

body[data-page="home"] .stat-card strong {
    font-size: 1.15rem;
    margin-bottom: 0.1rem;
}

body[data-page="home"] .stat-card span {
    font-size: 0.9rem;
    line-height: 1.45;
}

body[data-page="home"] .visual-card {
    border-radius: 26px;
}

body[data-page="home"] .visual-card img {
    height: 520px;
}

body[data-page="home"] .floating-card {
    right: -8px;
    bottom: 18px;
    padding: 1rem;
    border-radius: 20px;
}

body[data-page="home"] .section,
body[data-page="home"] .section-tight {
    padding: 58px 0;
}

body[data-page="home"] .section-header {
    margin-bottom: 1.6rem;
}

body[data-page="home"] .section-header h2 {
    margin: 0.65rem 0 0.55rem;
    font-size: clamp(1.85rem, 3.1vw, 2.8rem);
}

body[data-page="home"] .section-header p {
    font-size: 0.98rem;
}

body[data-page="home"] .info-grid,
body[data-page="home"] .service-grid,
body[data-page="home"] .story-grid,
body[data-page="home"] .grid-2,
body[data-page="home"] .founder-layout {
    gap: 1rem;
}

body[data-page="home"] .about-showcase {
    grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
    align-items: stretch;
}

body[data-page="home"] .info-card,
body[data-page="home"] .story-card,
body[data-page="home"] .testimonial-card,
body[data-page="home"] .cta-panel {
    border-radius: 22px;
}

body[data-page="home"] .info-card,
body[data-page="home"] .story-card {
    padding: 1.25rem;
}

body[data-page="home"] .core-solutions-grid {
    gap: 1.1rem;
}

body[data-page="home"] .core-solution-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 100%;
    padding: 1.5rem 1.35rem 1.35rem;
    background:
        radial-gradient(circle at top, rgba(245, 158, 11, 0.12), transparent 26%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 246, 255, 0.98));
    border: 1px solid rgba(20, 59, 143, 0.1);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

body[data-page="home"] .core-solution-card:hover,
body[data-page="home"] .core-solution-card:focus-within {
    transform: translateY(-4px);
    border-color: rgba(20, 59, 143, 0.18);
    box-shadow: 0 24px 52px rgba(15, 23, 42, 0.11);
}

body[data-page="home"] .core-solution-card::before {
    display: none;
}

body[data-page="home"] .core-solution-card .icon {
    width: 68px;
    height: 68px;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #143b8f, #315fcb 62%, #6e93ef);
    color: #fff;
    box-shadow:
        0 16px 34px rgba(20, 59, 143, 0.24),
        inset 0 0 0 7px rgba(255, 255, 255, 0.16);
    font-size: 1rem;
    font-weight: 800;
}

body[data-page="home"] .core-solution-card h3 {
    color: #143b8f;
    margin-bottom: 0.65rem;
    font-size: 1.12rem;
    line-height: 1.35;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

body[data-page="home"] .core-solution-card p {
    max-width: 30ch;
    line-height: 1.72;
}

body[data-page="home"] .founder-media {
    border-radius: 22px;
    max-height: 220px;
    background-color: #ffffff;
}

body[data-page="home"] .founder-media img {
    max-height: 220px;
    max-width: 90%;
}

body[data-page="home"] .founder-badge {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 0.85rem 0.9rem;
    border-radius: 18px;
}

body[data-page="home"] .founder-panel {
    padding: 1.35rem;
    border-radius: 22px;
}

body[data-page="home"] .founder-panel h3 {
    font-size: clamp(1.45rem, 2.5vw, 2rem);
}

body[data-page="home"] .founder-panel p {
    font-size: 0.96rem;
    line-height: 1.7;
}

body[data-page="home"] .founder-points {
    margin-top: 1rem;
    gap: 0.55rem;
}

body[data-page="home"] .founder-points span {
    padding: 0.5rem 0.75rem;
    font-size: 0.82rem;
}

body[data-page="home"] .service-card {
    border-radius: 22px;
}

body[data-page="home"] .service-card-body {
    padding: 1.1rem;
}

body[data-page="home"] .home-featured-services .featured-service-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    height: auto;
    min-height: 0;
    aspect-ratio: 9 / 10;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, #12203d, #0b1220);
    box-shadow: 0 22px 54px rgba(15, 23, 42, 0.16);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

body[data-page="services"] .home-featured-services .featured-service-card {
    aspect-ratio: 9 / 10;
    min-height: 0;
}

body[data-page="home"] .home-featured-services .featured-service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(7, 12, 24, 0.12) 0%, rgba(7, 12, 24, 0.3) 38%, rgba(7, 12, 24, 0.9) 100%),
        linear-gradient(135deg, rgba(20, 59, 143, 0.2), rgba(245, 158, 11, 0.14));
}

body[data-page="home"] .home-featured-services .featured-service-card:hover,
body[data-page="home"] .home-featured-services .featured-service-card:focus-within {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 28px 62px rgba(15, 23, 42, 0.2);
}

body[data-page="home"] .home-featured-services .featured-service-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
    transition: transform 0.45s ease;
}

body[data-page="home"] .home-featured-services .featured-service-card:hover img,
body[data-page="home"] .home-featured-services .featured-service-card:focus-within img {
    transform: scale(1);
}

body[data-page="home"] .home-featured-services .featured-service-card .service-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    padding: 0.48rem 0.78rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

body[data-page="home"] .home-featured-services .featured-service-card .service-card-body {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: flex-end;
    margin-top: auto;
    padding: 5.5rem 1.2rem 1.15rem;
    background:
        linear-gradient(180deg, rgba(9, 16, 30, 0), rgba(9, 16, 30, 0.16) 14%, rgba(9, 16, 30, 0.9) 62%, rgba(9, 16, 30, 0.98) 100%);
}

body[data-page="home"] .home-featured-services .featured-service-card .service-card-body::before {
    width: 72px;
    height: 4px;
    margin-bottom: 0.9rem;
    background: linear-gradient(90deg, var(--accent), #fff);
}

body[data-page="home"] .home-featured-services .featured-service-card h3 {
    color: #fff;
    font-size: 1.16rem;
}

body[data-page="home"] .home-featured-services .featured-service-card p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.7;
}

body[data-page="home"] .home-featured-services .featured-service-card .service-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

body[data-page="home"] .home-featured-services .featured-service-card .service-card-footer span {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.84rem;
    font-weight: 700;
}

body[data-page="home"] .home-featured-services .featured-service-card .service-card-footer strong {
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 0.84rem;
}

body[data-page="home"] .home-featured-services .featured-service-card.is-expandable,
body[data-page="services"] .home-featured-services .featured-service-card.is-expandable {
    cursor: pointer;
}

body[data-page="home"] .home-featured-services .featured-service-card.is-expandable:focus-visible,
body[data-page="services"] .home-featured-services .featured-service-card.is-expandable:focus-visible {
    outline: 3px solid rgba(245, 158, 11, 0.58);
    outline-offset: 5px;
}

body[data-page="home"] .home-featured-services .featured-service-card.is-expanded,
body[data-page="services"] .home-featured-services .featured-service-card.is-expanded {
    aspect-ratio: auto;
    min-height: 0;
}

body[data-page="home"] .home-featured-services .featured-service-card.is-expanded:hover,
body[data-page="home"] .home-featured-services .featured-service-card.is-expanded:focus-within,
body[data-page="services"] .home-featured-services .featured-service-card.is-expanded:hover,
body[data-page="services"] .home-featured-services .featured-service-card.is-expanded:focus-within {
    transform: none;
}

body[data-page="home"] .home-featured-services .featured-service-card.is-expanded .service-card-body,
body[data-page="services"] .home-featured-services .featured-service-card.is-expanded .service-card-body {
    justify-content: flex-start;
    gap: 0.95rem;
    padding-top: 5.3rem;
}

.service-card-details {
    display: grid;
    gap: 1rem;
    max-height: 0;
    overflow: hidden;
    margin-top: 0;
    padding: 0 1rem;
    border-radius: 20px;
    background: rgba(9, 16, 30, 0.72);
    border: 0 solid rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    opacity: 0;
    transform: translateY(-14px) scaleY(0.96);
    transform-origin: top center;
    transition:
        max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.28s ease,
        transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
        margin-top 0.3s ease,
        padding 0.3s ease,
        border-width 0.3s ease;
}

body[data-page="home"] .home-featured-services .featured-service-card.is-expanded .service-card-details,
body[data-page="services"] .home-featured-services .featured-service-card.is-expanded .service-card-details {
    max-height: 1400px;
    margin-top: 0.2rem;
    padding: 1rem;
    border-width: 1px;
    opacity: 1;
    transform: translateY(0) scaleY(1);
}

.service-card-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.service-card-detail-block {
    min-width: 0;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.service-card-detail-label {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.75rem;
    padding: 0.34rem 0.6rem;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.18);
    color: #fde68a;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.service-card-detail-block h4 {
    margin: 0 0 0.75rem;
    color: #fff;
    font-size: 1.05rem;
    line-height: 1.35;
}

body[data-page="home"] .home-featured-services .featured-service-card .service-card-details p,
body[data-page="services"] .home-featured-services .featured-service-card .service-card-details p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
    line-height: 1.7;
}

body[data-page="services"] .home-featured-services .featured-service-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 420px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, #12203d, #0b1220);
    box-shadow: 0 22px 54px rgba(15, 23, 42, 0.16);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

body[data-page="services"] .home-featured-services .featured-service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(7, 12, 24, 0.1) 0%, rgba(7, 12, 24, 0.28) 34%, rgba(7, 12, 24, 0.92) 100%),
        linear-gradient(135deg, rgba(20, 59, 143, 0.22), rgba(245, 158, 11, 0.12));
}

body[data-page="services"] .home-featured-services .featured-service-card:hover,
body[data-page="services"] .home-featured-services .featured-service-card:focus-within {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 28px 62px rgba(15, 23, 42, 0.2);
}

body[data-page="services"] .home-featured-services .featured-service-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
    transition: transform 0.45s ease;
}

body[data-page="services"] .home-featured-services .featured-service-card:hover img,
body[data-page="services"] .home-featured-services .featured-service-card:focus-within img {
    transform: scale(1);
}

body[data-page="services"] .home-featured-services .featured-service-card .service-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    padding: 0.48rem 0.78rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

body[data-page="services"] .home-featured-services .featured-service-card .service-card-body {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: flex-end;
    margin-top: auto;
    padding: 5.5rem 1.2rem 1.15rem;
    background:
        linear-gradient(180deg, rgba(9, 16, 30, 0), rgba(9, 16, 30, 0.16) 14%, rgba(9, 16, 30, 0.9) 62%, rgba(9, 16, 30, 0.98) 100%);
}

body[data-page="services"] .home-featured-services .featured-service-card .service-card-body::before {
    width: 72px;
    height: 4px;
    margin-bottom: 0.9rem;
    background: linear-gradient(90deg, var(--accent), #fff);
}

body[data-page="services"] .home-featured-services .featured-service-card h3 {
    color: #fff;
    font-size: 1.16rem;
}

body[data-page="services"] .home-featured-services .featured-service-card p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.7;
}

body[data-page="services"] .home-featured-services .featured-service-card .service-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

body[data-page="services"] .home-featured-services .featured-service-card .service-card-footer span {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.84rem;
    font-weight: 700;
}

body[data-page="services"] .home-featured-services .featured-service-card .service-card-footer strong {
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 0.84rem;
}

body[data-page="home"] .featured-services-actions {
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

body[data-page="home"] .featured-services-actions a {
    min-width: 108px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.68rem 0.95rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

body[data-page="home"] .featured-services-actions a:first-child {
    background: linear-gradient(135deg, #214fb7, #143b8f);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
}

body[data-page="home"] .featured-services-actions a:last-child {
    background: linear-gradient(135deg, var(--accent), #f8bd49);
    color: #12203d;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body[data-page="home"] .featured-services-actions a:hover,
body[data-page="home"] .featured-services-actions a:focus-visible {
    transform: translateY(-2px);
}

body[data-page="home"] .service-card h3,
body[data-page="home"] .info-card h3,
body[data-page="home"] .story-card h3 {
    font-size: 1.08rem;
    margin-bottom: 0.45rem;
}

body[data-page="home"] .testimonial-card {
    padding: 1.3rem;
}

body[data-page="home"] .reviews-slider {
    padding: 1.1rem;
    border-radius: 22px;
}

body[data-page="home"] .review-card {
    border-radius: 20px;
    padding: 1.1rem;
}

body[data-page="home"] .cta-panel {
    padding: 1.4rem;
}

body[data-page="home"] .kicker-list {
    margin-top: 0.9rem;
    gap: 0.55rem;
}

body[data-page="home"] .kicker-list span {
    padding: 0.45rem 0.7rem;
    font-size: 0.84rem;
}

.story-photo,
.about-photo {
    overflow: hidden;
    border-radius: var(--radius-xl);
    min-height: 100%;
    box-shadow: var(--shadow-lg);
}

.about-photo {
    min-height: 0;
    aspect-ratio: 4 / 3;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(238, 243, 250, 0.94));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.story-photo img,
.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-photo img {
    object-fit: contain;
}

.about-founder-photo {
    position: relative;
    isolation: isolate;
    min-height: auto;
    align-self: stretch;
    width: 100%;
    max-width: 360px;
    justify-self: center;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.35rem 1.2rem 1rem;
    background:
        radial-gradient(circle at 20% 18%, rgba(245, 158, 11, 0.22), transparent 24%),
        radial-gradient(circle at 78% 16%, rgba(59, 130, 246, 0.18), transparent 28%),
        radial-gradient(circle at 50% 72%, rgba(255, 255, 255, 0.78), rgba(244, 247, 252, 0.96) 48%, rgba(232, 239, 248, 0.98) 100%);
    border: 1px solid rgba(20, 59, 143, 0.08);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        0 24px 60px rgba(15, 23, 42, 0.12);
}

.about-founder-photo::before,
.about-founder-photo::after {
    content: "";
    position: absolute;
    border-radius: 28px;
    pointer-events: none;
    z-index: 0;
}

.about-founder-photo::before {
    inset: 14% 10% 22% 10%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(234, 241, 249, 0.58));
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    filter: blur(0.5px);
}

.about-founder-photo::after {
    left: 50%;
    bottom: 10%;
    width: 74%;
    height: 28%;
    transform: translateX(-50%);
    border-radius: 999px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.14), rgba(245, 158, 11, 0.08) 45%, transparent 72%);
    filter: blur(18px);
    opacity: 0.95;
}

.about-founder-photo img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    max-height: 320px;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 20px 24px rgba(15, 23, 42, 0.18));
}

body[data-page="home"] .about-showcase .story-card {
    height: 100%;
}

.cta-panel {
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cta-panel h2 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.cta-panel p {
    margin: 0;
    color: var(--muted);
}

.kicker-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.25rem;
}

.kicker-list span {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: rgba(20, 59, 143, 0.08);
    color: var(--primary);
    font-size: 0.92rem;
    font-weight: 700;
}

.page-hero {
    padding: 76px 0 30px;
}

body[data-page="about"] .page-hero,
body[data-page="services"] .page-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

body[data-page="about"] .page-hero::before,
body[data-page="services"] .page-hero::before {
    content: "";
    position: absolute;
    inset: 18px -130px 0 auto;
    width: min(38vw, 500px);
    height: min(38vw, 500px);
    border-radius: 38% 62% 58% 42% / 42% 44% 56% 58%;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.08) 28%, transparent 52%),
        radial-gradient(circle at 68% 34%, rgba(245, 158, 11, 0.26), transparent 36%),
        linear-gradient(145deg, rgba(20, 59, 143, 0.28), rgba(15, 44, 105, 0.12) 46%, rgba(255, 255, 255, 0.46));
    border: 1px solid rgba(255, 255, 255, 0.48);
    box-shadow:
        0 38px 90px rgba(15, 23, 42, 0.15),
        inset -20px -24px 40px rgba(15, 23, 42, 0.08),
        inset 18px 22px 32px rgba(255, 255, 255, 0.4);
    filter: blur(0.2px);
    opacity: 0.95;
    transform: perspective(1100px) rotateX(14deg) rotateY(-18deg) rotateZ(-10deg);
    z-index: 0;
}

body[data-page="about"] .page-hero::after,
body[data-page="services"] .page-hero::after {
    content: "";
    position: absolute;
    right: 90px;
    top: 138px;
    width: 180px;
    height: 180px;
    border-radius: 32px;
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.12)),
        linear-gradient(135deg, rgba(20, 59, 143, 0.16), rgba(245, 158, 11, 0.14));
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        0 26px 60px rgba(15, 23, 42, 0.12),
        inset 14px 14px 20px rgba(255, 255, 255, 0.28),
        inset -14px -16px 24px rgba(15, 23, 42, 0.08);
    opacity: 0.9;
    transform: perspective(900px) rotateX(22deg) rotateY(-16deg) rotateZ(18deg);
    z-index: 0;
}

.page-hero .section-header h1 {
    max-width: 12ch;
}

body[data-page="about"] .page-hero .section-header h1 {
    max-width: 18ch;
}

body[data-page="about"] .page-hero .section-header h1 .page-hero-title-bubble {
    display: inline-block;
    padding: 0.7rem 1rem 0.85rem;
    border-radius: 28px;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 255, 0.9)),
        linear-gradient(135deg, rgba(20, 59, 143, 0.12), rgba(245, 158, 11, 0.12));
    border: 1px solid rgba(20, 59, 143, 0.14);
    box-shadow:
        0 20px 40px rgba(15, 23, 42, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body[data-page="home"] .home-about-section .section-header h2 .page-hero-title-bubble {
    display: inline-block;
    padding: 0.7rem 1rem 0.85rem;
    border-radius: 28px;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 255, 0.9)),
        linear-gradient(135deg, rgba(20, 59, 143, 0.12), rgba(245, 158, 11, 0.12));
    border: 1px solid rgba(20, 59, 143, 0.14);
    box-shadow:
        0 20px 40px rgba(15, 23, 42, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body[data-page="services"] .page-hero .section-header h1 {
    max-width: 18ch;
}

.page-hero-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 1.5rem;
    align-items: end;
    position: relative;
    z-index: 1;
}

.page-hero-card {
    padding: 1.4rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(246, 249, 255, 0.96));
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
}

.page-hero-card strong {
    display: block;
    margin-bottom: 0.45rem;
}

.form-grid {
    display: grid;
    gap: 1rem;
}

.form-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.smart-help-section {
    padding-top: 10px;
    padding-bottom: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(246, 249, 255, 0.88) 50%, transparent 50%, transparent 100%);
}

.smart-help-card {
    padding: 1.35rem;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 255, 0.98));
    border: 1px solid rgba(20, 59, 143, 0.08);
    box-shadow: var(--shadow-lg);
}

.smart-help-head {
    margin-bottom: 1rem;
}

.smart-help-head h2 {
    margin: 0.8rem 0 0;
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    line-height: 1.08;
}

.smart-help-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr 1.6fr auto;
    gap: 0.85rem;
    align-items: center;
}

.smart-help-form .input,
.smart-help-form .btn {
    min-height: 56px;
}

.smart-help-form .input {
    padding: 0.85rem 0.2rem;
    border: 0;
    border-bottom: 2px solid rgba(20, 59, 143, 0.18);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.smart-help-form .input:focus {
    outline: none;
    border-bottom-color: var(--primary);
}

.smart-help-form .input::placeholder {
    color: rgba(82, 96, 122, 0.9);
}

.smart-help-form .btn {
    white-space: nowrap;
    padding-inline: 1.35rem;
}

.smart-help-form .notice {
    grid-column: 1 / -1;
    margin-top: 0;
}

.input {
    width: 100%;
    padding: 1rem 1.05rem;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #fff;
    color: var(--text);
}

textarea.input {
    min-height: 160px;
    resize: vertical;
}

.form-note,
.small-copy {
    color: var(--muted);
    font-size: 0.92rem;
}

.notice {
    margin-top: 1rem;
    padding: 0.95rem 1rem;
    border-radius: 14px;
    background: rgba(15, 118, 110, 0.09);
    color: var(--success);
    display: none;
}

.notice.visible {
    display: block;
}

.map-frame {
    width: 100%;
    min-height: 360px;
    border: 0;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

.contact-custom {
    padding-top: 76px;
}

.contact-shell {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1.5rem;
    align-items: stretch;
}

.contact-shell>*,
.contact-info-grid>*,
.form-grid>* {
    min-width: 0;
}

.contact-intro {
    padding: 2rem;
    border-radius: 32px;
    background: linear-gradient(135deg, #0f172a, #15367f 58%, #c88400 160%);
    color: #fff;
    box-shadow: 0 22px 70px rgba(15, 23, 42, 0.24);
}

.contact-intro h1 {
    margin: 1rem 0 0.85rem;
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    line-height: 1.02;
}

.contact-intro p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.03rem;
    max-width: 58ch;
}

.contact-intro .eyebrow {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.contact-methods {
    display: grid;
    gap: 1rem;
    margin-top: 1.6rem;
}

.contact-method {
    display: block;
    padding: 1.1rem 1.15rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-method:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.12);
}

.contact-method strong {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.contact-method span {
    display: block;
    color: rgba(255, 255, 255, 0.82);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.contact-method-links {
    display: grid;
    gap: 0.18rem;
}

.contact-method-links a {
    display: block;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.contact-method-links a:hover,
.contact-method-links a:focus-visible {
    color: #ffffff;
}

.contact-form-card {
    background: rgba(255, 255, 255, 0.92);
}

.contact-form-card .btn,
.contact-panel .btn,
.contact-panel .ghost-btn,
.contact-panel a,
.form-card p {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.4rem;
}

.contact-map-layout {
    display: grid;
    gap: 1.5rem;
}

.home-contact-section {
    padding-top: 0;
    margin-top: 18px;
}

.home-contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: stretch;
}

.home-contact-intro {
    min-height: 100%;
    max-width: 920px;
    margin: 0;
    background: transparent;
    box-shadow: none;
    border: 0;
    color: var(--text);
}

.home-contact-form {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(20, 59, 143, 0.08);
    box-shadow: var(--shadow-lg);
}

.home-contact-form .btn {
    width: fit-content;
}

.home-contact-intro h1 {
    color: var(--text);
}

.home-contact-intro p {
    color: var(--muted);
}

.home-contact-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.15rem;
}

.home-contact-social .social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.78rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow:
        0 16px 36px rgba(15, 23, 42, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
    color: var(--text);
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.home-contact-social .social-link:hover,
.home-contact-social .social-link:focus-visible {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 1);
    box-shadow:
        0 20px 42px rgba(15, 23, 42, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.home-contact-social .social-link svg {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    color: currentColor;
}

.home-contact-social .social-link-facebook {
    border-color: rgba(24, 119, 242, 0.2);
    color: #1877f2;
}

.home-contact-social .social-link-facebook:hover,
.home-contact-social .social-link-facebook:focus-visible {
    border-color: rgba(24, 119, 242, 0.35);
    color: #125ec7;
}

.home-contact-social .social-link-instagram {
    border-color: rgba(225, 48, 108, 0.22);
    color: #d62976;
}

.home-contact-social .social-link-instagram:hover,
.home-contact-social .social-link-instagram:focus-visible {
    border-color: rgba(225, 48, 108, 0.36);
    color: #ad1457;
}

.home-contact-social .social-link-tiktok {
    border-color: rgba(17, 24, 39, 0.18);
    color: #111827;
}

.home-contact-social .social-link-tiktok:hover,
.home-contact-social .social-link-tiktok:focus-visible {
    border-color: rgba(17, 24, 39, 0.32);
    color: #000000;
}

.home-contact-social .social-link-whatsapp {
    border-color: rgba(37, 211, 102, 0.24);
    color: #169c4b;
}

.home-contact-social .social-link-whatsapp:hover,
.home-contact-social .social-link-whatsapp:focus-visible {
    border-color: rgba(37, 211, 102, 0.4);
    color: #128c7e;
}

.home-contact-social .social-link-email {
    border-color: rgba(234, 67, 53, 0.24);
    color: #d93025;
}

.home-contact-social .social-link-email:hover,
.home-contact-social .social-link-email:focus-visible {
    border-color: rgba(234, 67, 53, 0.38);
    color: #b3261e;
}

.home-contact-social .social-link-phone {
    border-color: rgba(20, 59, 143, 0.2);
    color: var(--primary);
}

.home-contact-social .social-link-phone:hover,
.home-contact-social .social-link-phone:focus-visible {
    border-color: rgba(20, 59, 143, 0.34);
    color: #0f2f73;
}

.home-contact-intro .eyebrow {
    background: rgba(20, 59, 143, 0.1);
    color: var(--primary);
}

.home-contact-cards {
    display: grid;
    gap: 1rem;
    align-items: stretch;
}

.home-contact-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.1rem;
}

.home-contact-strip span {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.84rem;
    font-weight: 700;
}

.home-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    height: 100%;
}

.home-contact-card {
    min-height: 100%;
}

body[data-page="home"] .home-contact-section {
    padding-top: 0;
    padding-bottom: 58px;
    margin-top: 18px;
}

body[data-page="home"] .home-contact-layout {
    gap: 1rem;
}

body[data-page="home"] .home-contact-intro {
    padding: 1.5rem;
    border-radius: 24px;
    background: transparent;
    box-shadow: none;
}

body[data-page="home"] .home-contact-social {
    margin-top: 1rem;
    gap: 0.7rem;
}

body[data-page="home"] .home-contact-social .social-link {
    padding: 0.72rem 0.95rem;
}

body[data-page="home"] .home-contact-form {
    padding: 1.35rem;
    border-radius: 22px;
}

body[data-page="home"] .home-contact-cards .contact-panel {
    padding: 1.2rem;
    border-radius: 22px;
}

body[data-page="home"] .home-contact-strip {
    margin-top: 0.9rem;
}

body[data-page="home"] .home-contact-strip span {
    padding: 0.5rem 0.7rem;
    font-size: 0.8rem;
}

.site-footer {
    padding: 26px 0 56px;
    color: #e2e8f0;
}

.footer-inner {
    display: grid;
    gap: 1.2rem;
    padding: 1.35rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at top left, rgba(96, 165, 250, 0.18), transparent 32%),
        radial-gradient(circle at bottom right, rgba(245, 158, 11, 0.14), transparent 26%),
        linear-gradient(135deg, #0b1222, #10244f 58%, #163878);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.2);
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.8fr) minmax(220px, 0.9fr);
    gap: 1rem;
    align-items: start;
}

.footer-brand-panel,
.footer-column {
    min-width: 0;
}

.footer-brand {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.9rem;
}

.footer-brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    padding: 0.45rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand-copy strong {
    display: block;
    color: #ffffff;
    font-size: 1.05rem;
    line-height: 1.25;
}

.footer-brand-copy span {
    display: block;
    margin-top: 0.4rem;
    color: rgba(226, 232, 240, 0.8);
    font-size: 0.94rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1rem;
}

.footer-column {
    padding: 1rem 1.05rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-icon-link {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid transparent;
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.22);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.footer-icon-facebook {
    background: linear-gradient(135deg, #1877f2, #0f5ec9);
    border-color: rgba(24, 119, 242, 0.5);
}

.footer-icon-instagram {
    background: linear-gradient(135deg, #f58529, #dd2a7b 55%, #8134af);
    border-color: rgba(221, 42, 123, 0.5);
}

.footer-icon-tiktok {
    background: linear-gradient(135deg, #0f172a, #25f4ee 55%, #fe2c55);
    border-color: rgba(37, 244, 238, 0.36);
}

.footer-icon-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-color: rgba(37, 211, 102, 0.5);
}

.footer-icon-email {
    background: linear-gradient(135deg, #ea4335, #c5221f);
    border-color: rgba(234, 67, 53, 0.5);
}

.footer-icon-phone {
    background: linear-gradient(135deg, #0ea5e9, #0369a1);
    border-color: rgba(14, 165, 233, 0.5);
}

.footer-icon-link svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
}

.footer-icon-link:hover,
.footer-icon-link:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.3);
}

.footer-title {
    display: block;
    margin-bottom: 0.85rem;
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.72rem;
    color: rgba(226, 232, 240, 0.82);
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.72rem;
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.9rem;
}

.footer-links a,
.footer-contact-list a,
.footer-bottom-links a {
    color: rgba(226, 232, 240, 0.82);
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-contact-list a:hover,
.footer-contact-list a:focus-visible,
.footer-bottom-links a:hover,
.footer-bottom-links a:focus-visible {
    color: #ffffff;
    transform: translateX(2px);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .small-copy {
    color: rgba(226, 232, 240, 0.72);
}

@media (max-width: 860px) {
    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-inner {
        padding: 1.1rem;
        border-radius: 24px;
    }

    .footer-brand {
        flex-direction: column;
        align-items: center;
    }

    .footer-column {
        width: 100%;
        padding: 0.95rem;
    }
}

.floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 45;
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #25d366, #1fa855);
    color: #fff;
    box-shadow: 0 20px 44px rgba(37, 211, 102, 0.34);
    border: 3px solid rgba(255, 255, 255, 0.88);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.floating-whatsapp svg {
    width: 31px;
    height: 31px;
    fill: currentColor;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 24px 52px rgba(37, 211, 102, 0.42);
    filter: saturate(1.05);
}

.reveal-up {
    opacity: 0;
    transform: translateY(14px);
    transition: 0.45s ease;
}

.reveal-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1080px) {

    body[data-page="about"] .page-hero::before,
    body[data-page="services"] .page-hero::before {
        right: -100px;
        top: 34px;
        width: min(54vw, 420px);
        height: min(54vw, 420px);
        opacity: 0.72;
    }

    body[data-page="about"] .page-hero::after,
    body[data-page="services"] .page-hero::after {
        right: 32px;
        top: 160px;
        width: 140px;
        height: 140px;
        opacity: 0.68;
    }

    .section {
        padding: 74px 0;
    }

    .section-tight {
        padding: 54px 0;
    }

    .hero-grid,
    .page-hero-grid,
    .grid-2,
    .story-grid,
    .contact-grid,
    .detail-grid,
    .grid-4,
    .contact-shell,
    .contact-info-grid,
    .founder-layout,
    .home-contact-layout {
        grid-template-columns: 1fr;
    }

    .grid-3,
    .service-grid,
    .info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body[data-page="home"] .home-featured-services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body[data-page="home"] .hero-grid,
    body[data-page="home"] .about-showcase {
        grid-template-columns: 1fr;
    }

    body[data-page="home"] .hero-grid {
        gap: 1.4rem;
    }

    body[data-page="home"] .hero-copy,
    body[data-page="home"] .hero-visual {
        max-width: 760px;
        width: 100%;
        margin: 0 auto;
    }

    body[data-page="home"] .about-showcase {
        gap: 1rem;
    }

    body[data-page="home"] .about-showcase .story-card {
        height: auto;
    }

    body[data-page="home"] .about-founder-photo {
        max-width: 420px;
        width: 100%;
        margin: 0 auto;
    }

    .home-contact-grid {
        grid-template-columns: 1fr;
    }

    .visual-card img {
        height: 500px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .cta-panel {
        flex-direction: column;
        align-items: flex-start;
    }

    body[data-page="home"] .hero {
        padding-top: 38px;
    }

    body[data-page="home"] .visual-card img {
        height: 380px;
    }

    .founder-media img {
        min-height: 420px;
    }

    .about-founder-photo {
        min-height: auto;
    }

    .about-founder-photo img {
        max-height: 290px;
    }

    body[data-page="home"] .home-featured-services .featured-service-card {
        min-height: 390px;
    }

    body[data-page="home"] .home-contact-social {
        justify-content: flex-start;
    }

    body[data-page="home"] .home-contact-social .social-link {
        flex: 0 1 auto;
    }

    .review-card {
        flex: 0 0 calc((100% - 1rem) / 2);
    }
}

@media (max-width: 860px) {
    .container {
        width: min(var(--container), calc(100% - 1.5rem));
    }

    .section {
        padding: 64px 0;
    }

    .section-tight {
        padding: 48px 0;
    }

    .menu-btn {
        display: inline-flex;
    }

    .header-inner {
        min-height: 76px;
    }

    .brand-copy span {
        display: none;
    }

    .brand-copy strong {
        font-size: 0.94rem;
    }

    .header-tools {
        gap: 0.55rem;
        margin-left: 0;
    }

    .nav-wrap {
        position: absolute;
        top: calc(100% + 0.5rem);
        right: 0.75rem;
        left: 0.75rem;
        display: none;
        padding: 1rem;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.96);
        border: 1px solid rgba(15, 23, 42, 0.08);
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        align-items: stretch;
    }

    .nav-wrap.open {
        display: flex;
    }

    .site-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .site-nav a,
    .cta-link {
        width: 100%;
        justify-content: center;
    }

    .site-nav a {
        padding: 0.9rem 1rem;
    }

    body[data-page="contact"] .contact-intro,
    body[data-page="contact"] .contact-form-card {
        padding: 1.5rem;
        border-radius: 24px;
    }

    body[data-page="contact"] .contact-intro h1 {
        font-size: clamp(1.95rem, 7vw, 3rem);
    }

    body[data-page="contact"] .contact-methods,
    body[data-page="contact"] .inline-actions {
        gap: 0.85rem;
    }

    body[data-page="contact"] .inline-actions a,
    body[data-page="contact"] .contact-form-card .btn {
        width: 100%;
        min-width: 0;
        justify-content: center;
    }

    .hero {
        padding-top: 42px;
    }

    body[data-page="home"] .hero {
        padding-top: 26px;
    }

    body[data-page="home"] .hero-grid {
        gap: 1.15rem;
    }

    body[data-page="home"] .hero-pillars-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body[data-page="home"] .hero-pillar-card {
        justify-content: center;
        text-align: center;
    }

    body[data-page="home"] .hero-copy {
        text-align: center;
    }

    body[data-page="home"] .hero-copy p {
        max-width: 100%;
    }

    body[data-page="home"] .hero-actions,
    body[data-page="home"] .featured-services-actions {
        justify-content: center;
    }

    body[data-page="home"] .hero-actions a,
    body[data-page="home"] .featured-services-actions a {
        min-width: 150px;
    }

    body[data-page="home"] .hero-trust-strip {
        justify-content: center;
        flex-wrap: nowrap;
        gap: 0.45rem;
        overflow-x: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    body[data-page="home"] .hero-trust-strip::-webkit-scrollbar {
        display: none;
    }

    body[data-page="home"] .hero-trust-strip span {
        flex: 0 0 auto;
        white-space: nowrap;
        font-size: 0.78rem;
        padding: 0.46rem 0.72rem;
        background: linear-gradient(180deg, rgba(191, 219, 254, 0.96), rgba(147, 197, 253, 0.94));
        border-color: rgba(59, 130, 246, 0.28);
        color: #0f3d91;
        box-shadow: 0 10px 24px rgba(59, 130, 246, 0.16);
    }

    body[data-page="home"] .hero-stats {
        margin-top: 1rem;
    }

    body[data-page="home"] .hero-visual {
        max-width: 100%;
    }

    .visual-card img {
        height: 320px;
    }

    .floating-card {
        position: static;
        width: auto;
        margin-top: 1rem;
        right: auto;
        bottom: auto;
    }

    .founder-badge {
        position: static;
        margin: 0.85rem;
    }

    .grid-3,
    .info-grid,
    .service-grid,
    body[data-page="home"] .home-featured-services {
        grid-template-columns: 1fr;
    }

    body[data-page="home"] .core-solutions-grid {
        grid-template-columns: 1fr;
    }

    body[data-page="home"] .core-solution-card {
        padding: 1.25rem 1.1rem 1.15rem;
    }

    body[data-page="home"] .core-solution-card .icon {
        width: 62px;
        height: 62px;
        margin-bottom: 0.9rem;
    }

    body[data-page="home"] .section-header {
        margin-bottom: 1.9rem;
    }

    body[data-page="home"] .home-featured-services .featured-service-card,
    body[data-page="services"] .home-featured-services .featured-service-card {
        min-height: 0;
    }

    body[data-page="home"] .home-featured-services .featured-service-card .service-card-body {
        padding: 4.6rem 1rem 1rem;
    }

    body[data-page="services"] .home-featured-services .featured-service-card .service-card-body {
        padding: 4.6rem 1rem 1rem;
    }

    body[data-page="home"] .home-featured-services .featured-service-card .service-card-badge {
        top: 14px;
        left: 14px;
        font-size: 0.72rem;
    }

    body[data-page="services"] .home-featured-services .featured-service-card .service-card-badge {
        top: 14px;
        left: 14px;
        font-size: 0.72rem;
    }

    .service-card-detail-grid {
        grid-template-columns: 1fr;
    }

    .service-card-detail-block {
        padding: 0.9rem;
    }

    .about-founder-photo {
        min-height: auto;
        padding: 0.75rem;
    }

    body[data-page="home"] .about-showcase {
        gap: 0.9rem;
    }

    body[data-page="home"] .about-founder-photo {
        max-width: 380px;
    }

    body[data-page="home"] .about-showcase .story-card {
        text-align: left;
    }

    .about-founder-photo::before,
    .about-founder-photo::after {
        opacity: 0.5;
    }

    .about-founder-photo img {
        max-height: 230px;
    }

    .reviews-slider-topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .reviews-controls {
        width: 100%;
        justify-content: space-between;
    }

    body[data-page="home"] .home-contact-social .social-link {
        flex: 1 1 calc(50% - 0.35rem);
        justify-content: center;
    }

    .review-card {
        flex: 0 0 100%;
    }
}

@media (max-width: 640px) {

    body[data-page="about"] .page-hero::before,
    body[data-page="services"] .page-hero::before {
        right: -92px;
        top: 62px;
        width: 260px;
        height: 260px;
        opacity: 0.5;
    }

    body[data-page="about"] .page-hero::after,
    body[data-page="services"] .page-hero::after {
        right: 14px;
        top: 164px;
        width: 92px;
        height: 92px;
        border-radius: 24px;
        opacity: 0.46;
    }

    .container {
        width: min(var(--container), calc(100% - 1.1rem));
    }

    .section,
    .section-tight {
        padding: 56px 0;
    }

    .header-inner {
        min-height: 70px;
        gap: 0.7rem;
    }

    .brand img {
        width: 44px;
        height: 44px;
    }

    .brand-copy strong {
        font-size: 0.88rem;
    }

    .header-tools {
        gap: 0.45rem;
    }

    body[data-page="contact"] .contact-custom {
        padding-top: 56px;
    }

    body[data-page="contact"] .contact-shell {
        gap: 1rem;
    }

    body[data-page="contact"] .contact-intro,
    body[data-page="contact"] .contact-form-card,
    body[data-page="contact"] .contact-panel {
        padding: 1.1rem;
        border-radius: 20px;
    }

    body[data-page="contact"] .contact-intro h1 {
        font-size: clamp(1.75rem, 9vw, 2.25rem);
        line-height: 1.08;
    }

    body[data-page="contact"] .contact-intro p,
    body[data-page="contact"] .contact-method span,
    body[data-page="contact"] .form-card p,
    body[data-page="contact"] .contact-panel p,
    body[data-page="contact"] .contact-panel li {
        font-size: 0.94rem;
    }

    body[data-page="contact"] .contact-method {
        padding: 0.95rem 1rem;
        border-radius: 18px;
    }

    body[data-page="contact"] .map-frame {
        min-height: 300px;
    }

    .hero-copy h1 {
        font-size: clamp(2.3rem, 11vw, 3.5rem);
    }

    .hero-copy p {
        font-size: 1rem;
    }

    body[data-page="home"] .hero {
        padding: 18px 0 18px;
    }

    body[data-page="home"] .hero-grid {
        gap: 1rem;
    }

    body[data-page="home"] .hero-copy h1 {
        margin: 0.55rem 0 0.7rem;
        font-size: clamp(1.9rem, 9vw, 3rem);
    }

    body[data-page="home"] .hero-title-main {
        white-space: normal;
    }

    body[data-page="home"] .hero-title-main .hero-title-word,
    body[data-page="home"] .hero-title-accent.hero-title-word {
        display: block;
        margin-right: 0;
    }

    body[data-page="home"] .hero-actions,
    body[data-page="home"] .featured-services-actions {
        flex-direction: column;
        align-items: stretch;
    }

    body[data-page="home"] .hero-trust-strip {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 0.35rem;
        overflow-x: auto;
        padding-bottom: 0.1rem;
    }

    body[data-page="home"] .hero-actions a,
    body[data-page="home"] .featured-services-actions a {
        width: 100%;
        min-width: 0;
    }

    body[data-page="home"] .hero-trust-strip span {
        flex: 0 0 auto;
        justify-content: center;
        white-space: nowrap;
        font-size: 0.72rem;
        padding: 0.42rem 0.62rem;
    }

    body[data-page="home"] .hero-stats {
        grid-template-columns: 1fr;
    }

    body[data-page="home"] .stat-card strong {
        font-size: 1.05rem;
    }

    body[data-page="home"] .visual-card {
        border-radius: 22px;
    }

    body[data-page="home"] .visual-card img {
        height: 250px;
    }

    body[data-page="home"] .floating-card {
        padding: 0.95rem;
        border-radius: 18px;
    }

    body[data-page="home"] .home-featured-services .featured-service-card,
    body[data-page="services"] .home-featured-services .featured-service-card {
        min-height: 0;
    }

    body[data-page="home"] .about-showcase {
        gap: 0.85rem;
    }

    body[data-page="home"] .core-solution-card {
        border-radius: 20px;
        padding: 1.15rem 1rem 1.05rem;
    }

    body[data-page="home"] .core-solution-card .icon {
        width: 58px;
        height: 58px;
        font-size: 0.94rem;
    }

    body[data-page="home"] .core-solution-card h3 {
        color: #143b8f;
        font-size: 1.02rem;
        font-weight: 800;
    }

    body[data-page="home"] .core-solution-card p {
        max-width: none;
        font-size: 0.95rem;
        line-height: 1.62;
    }

    body[data-page="home"] .about-founder-photo {
        max-width: 100%;
        padding: 0.7rem;
        border-radius: 22px;
    }

    body[data-page="home"] .about-showcase .story-card {
        padding: 1.05rem;
    }

    body[data-page="home"] .about-showcase .story-card h3 {
        font-size: 1.02rem;
    }

    body[data-page="home"] .home-featured-services .featured-service-card .service-card-body {
        padding: 4.1rem 0.9rem 0.95rem;
    }

    body[data-page="home"] .home-featured-services .featured-service-card.is-expanded .service-card-body,
    body[data-page="services"] .home-featured-services .featured-service-card.is-expanded .service-card-body {
        padding-top: 4.5rem;
    }

    body[data-page="home"] .home-featured-services .featured-service-card.is-expanded .service-card-details,
    body[data-page="services"] .home-featured-services .featured-service-card.is-expanded .service-card-details {
        padding: 0.9rem;
    }

    body[data-page="home"] .home-featured-services .featured-service-card .service-card-footer {
        gap: 0.55rem;
    }

    body[data-page="home"] .home-featured-services .featured-service-card .service-card-footer span {
        font-size: 0.78rem;
    }

    .service-card-detail-label {
        margin-bottom: 0.6rem;
        font-size: 0.68rem;
    }

    .service-card-detail-block h4 {
        font-size: 0.98rem;
    }

    body[data-page="home"] .home-featured-services .featured-service-card .service-card-details p,
    body[data-page="services"] .home-featured-services .featured-service-card .service-card-details p {
        font-size: 0.9rem;
    }

    body[data-page="home"] .home-contact-intro,
    body[data-page="home"] .home-contact-form {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    body[data-page="home"] .home-contact-intro h1 {
        font-size: clamp(1.9rem, 8vw, 2.35rem);
    }

    body[data-page="home"] .home-contact-social .social-link {
        flex: 1 1 100%;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .reviews-slider {
        padding: 1rem;
    }

    .review-control {
        width: 40px;
        height: 40px;
    }

    .floating-whatsapp {
        right: 14px;
        bottom: 14px;
        width: 56px;
        height: 56px;
    }

    .floating-whatsapp svg {
        width: 28px;
        height: 28px;
    }

    .form-grid.two {
        grid-template-columns: 1fr;
    }

    .smart-help-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .smart-help-form input[name="email"],
    .smart-help-form input[name="message"],
    .smart-help-form .btn,
    .smart-help-form .notice {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .eyebrow {
        font-size: 0.76rem;
        padding: 0.38rem 0.72rem;
    }

    body[data-page="home"] .section-header h2 {
        font-size: clamp(1.65rem, 8vw, 2.1rem);
    }

    .hero-copy h1 {
        letter-spacing: -0.03em;
    }

    body[data-page="home"] .hero-copy {
        text-align: left;
    }

    body[data-page="home"] .hero-pillars-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
    }

    body[data-page="home"] .hero-pillar-card {
        justify-content: center;
        text-align: center;
        padding: 0.85rem 0.75rem;
    }

    body[data-page="home"] .hero-pillar-card strong {
        font-size: 0.82rem;
        line-height: 1.35;
    }

    body[data-page="home"] .hero-actions,
    body[data-page="home"] .featured-services-actions {
        align-items: stretch;
    }

    body[data-page="home"] .hero-trust-strip {
        align-items: center;
        justify-content: center;
        gap: 0.32rem;
    }

    body[data-page="home"] .hero-contact-links {
        gap: 0.4rem;
        width: 100%;
    }

    body[data-page="home"] .hero-contact-links .social-link {
        padding: 0.58rem 0.65rem;
        gap: 0.38rem;
        font-size: 0.7rem;
    }

    body[data-page="home"] .hero-contact-links .social-link-phone {
        flex: 1 1 auto;
        justify-content: center;
        padding-inline: 0.75rem;
    }

    body[data-page="home"] .hero-contact-links .social-link-whatsapp {
        flex: 0 0 auto;
        padding-inline: 0.56rem;
    }

    body[data-page="home"] .hero-contact-links .social-link svg {
        width: 15px;
        height: 15px;
        flex-basis: 15px;
    }

    body[data-page="home"] .hero-trust-strip span,
    body[data-page="home"] .featured-services-actions a {
        justify-content: center;
    }

    body[data-page="home"] .hero-trust-strip span {
        font-size: 0.69rem;
        padding: 0.4rem 0.56rem;
    }

    .hero-stats {
        gap: 0.8rem;
    }

    .stat-card {
        padding: 1rem;
    }

    body[data-page="home"] .visual-card img {
        height: 220px;
    }

    .floating-card p,
    .floating-card ul {
        font-size: 0.9rem;
    }

    body[data-page="home"] .about-founder-photo img {
        max-height: 210px;
    }

    body[data-page="home"] .about-showcase .story-card {
        padding: 1rem;
    }

    body[data-page="home"] .home-featured-services .featured-service-card {
        min-height: 300px;
    }

    body[data-page="services"] .home-featured-services .featured-service-card {
        min-height: 300px;
    }

    body[data-page="home"] .home-featured-services .featured-service-card .service-card-badge {
        top: 12px;
        left: 12px;
        padding: 0.4rem 0.65rem;
    }

    body[data-page="services"] .home-featured-services .featured-service-card .service-card-badge {
        top: 12px;
        left: 12px;
        padding: 0.4rem 0.65rem;
    }

    body[data-page="home"] .home-featured-services .featured-service-card .service-card-body {
        padding: 3.8rem 0.85rem 0.9rem;
    }

    body[data-page="services"] .home-featured-services .featured-service-card .service-card-body {
        padding: 3.8rem 0.85rem 0.9rem;
    }

    body[data-page="home"] .home-contact-social .social-link {
        padding: 0.72rem 0.85rem;
        font-size: 0.9rem;
    }

    .review-card {
        padding: 1rem;
    }
}

@media (max-width: 860px) {

    body[data-page="about"] .inline-actions,
    body[data-page="services"] .inline-actions {
        justify-content: center;
    }

    body[data-page="about"] .inline-actions a,
    body[data-page="services"] .inline-actions a {
        margin-left: auto;
        margin-right: auto;
    }

    .section-header,
    .hero-copy,
    .page-hero .section-header,
    .page-hero-card,
    .story-card,
    .info-card,
    .detail-card,
    .service-card-body,
    .reviews-summary,
    .review-card,
    .contact-intro,
    .contact-form-card,
    .contact-panel,
    .home-contact-intro,
    .home-contact-form,
    .cta-panel,
    .footer-inner {
        text-align: center;
    }

    .section-header,
    .reviews-header,
    .contact-intro,
    .home-contact-intro,
    .footer-inner {
        align-items: center;
    }

    .section-header::after {
        margin-left: auto;
        margin-right: auto;
    }

    .page-hero-card,
    .contact-method,
    .contact-method-links,
    .contact-method-links a,
    .review-meta {
        text-align: center;
    }

    .reviews-slider-topbar,
    .footer-inner {
        align-items: center;
    }

    .reviews-controls {
        justify-content: center;
    }

    .check-list {
        justify-items: center;
    }

    .check-list li {
        justify-content: center;
        text-align: center;
    }

    .detail-card ul,
    .service-card ul,
    .contact-panel ul {
        padding-left: 0;
        list-style-position: inside;
        text-align: center;
    }
}

@media (max-width: 480px) {

    body[data-page="home"] .hero-copy,
    body[data-page="home"] .about-showcase .story-card {
        text-align: center;
    }
}