/* styles.css */

:root {
    --bg: #f5f9fe;
    --surface: rgba(255, 255, 255, 0.85);
    --surface-strong: rgba(255, 255, 255, 0.98);
    --text: #10324b;
    --muted: #4a6881;
    --accent: rgb(32, 144, 200);
    --accent-strong: rgb(40, 112, 176);
    --highlight-green: #2090c8;
    --pin-green: #2870b0;
    --mint: #d9ecf8;
    --teal: #4e99c8;
    --green: rgb(40, 112, 176);
    --line: rgba(10, 30, 44, 0.1);
    --shadow: 0 24px 50px rgba(9, 36, 52, 0.08);
}

/* Mobile First Approach */
body {
    margin: 0;
    font-family: 'Space Grotesk', system-ui, sans-serif;
    background:
        radial-gradient(circle at 20% 20%, rgba(40, 112, 176, 0.18), rgba(255, 255, 255, 0) 45%),
        radial-gradient(circle at 80% 10%, rgba(32, 144, 200, 0.18), rgba(255, 255, 255, 0) 40%),
        linear-gradient(180deg, #ffffff 0%, #f4fbff 45%, #eaf4ff 100%);
    color: var(--text);
    line-height: 1.6;
}

* {
    box-sizing: border-box;
}

.glass-morph {
    background: var(--surface);
    backdrop-filter: blur(18px);
    border-radius: 18px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.85);
}

.navbar.glass-morph {
    background: transparent;
    box-shadow: none;
    border: none;
    backdrop-filter: none;
}

.floating-element {
    transition: transform 0.3s ease;
}

.floating-element:hover {
    transform: translateY(-5px);
}

.hero {
    background: url("images/portada.webp") center/cover no-repeat;
    color: white;
    text-align: left;
    padding: 170px 20px 110px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(8, 39, 56, 0.5) 0%, rgba(8, 39, 56, 0.3) 35%, rgba(8, 39, 56, 0.16) 60%, rgba(8, 39, 56, 0) 100%);
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -160px;
    top: -180px;
    background: radial-gradient(circle, rgba(40, 112, 176, 0.45), rgba(32, 144, 200, 0));
    z-index: 1;
    filter: blur(18px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px clamp(16px, 3vw, 40px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.3s;
    gap: 16px;
}

.menu-toggle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.6);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-direction: column;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(12, 32, 50, 0.08);
    backdrop-filter: blur(16px);
}

.menu-bar {
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 999px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.open .menu-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open .menu-bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open .menu-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.logo {
    width: 140px;
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 8px 16px rgba(10, 45, 73, 0.28));
    transition: width 0.3s ease, filter 0.3s ease;
}

.logo-container {
    position: relative;
    isolation: isolate;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8px 14px;
    border-radius: 18px;
    line-height: 0;
    background: rgba(255, 255, 255, 0.94);
    border: none;
    box-shadow:
        0 12px 28px rgba(8, 37, 61, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(14px) saturate(130%);
    -webkit-backdrop-filter: blur(14px) saturate(130%);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.logo-link::before {
    content: "";
    position: absolute;
    inset: -28%;
    background: radial-gradient(circle at 35% 30%, rgba(32, 144, 200, 0.55), rgba(40, 112, 176, 0.22) 42%, rgba(40, 112, 176, 0) 72%);
    filter: blur(14px);
    z-index: 0;
    pointer-events: none;
}

.logo-link::after {
    content: none;
}

.logo-link:hover {
    transform: translateY(-1px);
    box-shadow:
        0 16px 34px rgba(8, 37, 61, 0.28),
        0 0 36px rgba(32, 144, 200, 0.25);
}

.logo-link:focus-visible {
    outline: 2px solid rgba(32, 144, 200, 0.6);
    outline-offset: 3px;
}

.navbar.scrolled .logo-link {
    padding: 6px 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
}

.navbar.scrolled .logo {
    filter: drop-shadow(0 6px 12px rgba(10, 45, 73, 0.24));
}

.navbar.scrolled .logo-link::after {
    content: none;
}

.navbar.scrolled .logo-link::before {
    opacity: 0.75;
}

.navbar.scrolled .logo {
    width: 80px;
}

.nav-links {
    list-style: none;
    display: none;
    flex-direction: column;
    gap: 10px;
    margin: 14px 0 0;
    padding: 18px;
    width: auto;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 60px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.nav-links.active {
    display: flex;
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    padding: 10px 12px;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--accent-strong);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 520px;
    margin: 0 auto;
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 12px 24px rgba(8, 39, 56, 0.2);
    backdrop-filter: blur(12px);
    color: #f7fffb;
    font-weight: 600;
    margin-bottom: 16px;
}

.star-row {
    display: inline-flex;
    gap: 4px;
    margin-left: 2px;
}

.star {
    width: 14px;
    height: 14px;
    background: linear-gradient(180deg, #ffd86b, #f5b942);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    transform: scaleY(0.1);
    transform-origin: bottom;
    animation: starFill 4.2s ease-in-out infinite;
}

.star:nth-child(2) {
    animation-delay: 0.1s;
}

.star:nth-child(3) {
    animation-delay: 0.2s;
}

.star:nth-child(4) {
    animation-delay: 0.3s;
}

.star:nth-child(5) {
    animation-delay: 0.4s;
}

@keyframes starFill {
    0% {
        transform: scaleY(0.1);
        opacity: 0.4;
    }
    50% {
        transform: scaleY(1);
        opacity: 1;
    }
    100% {
        transform: scaleY(0.1);
        opacity: 0.4;
    }
}

.hero-content h1 {
    font-family: 'Syne', system-ui, sans-serif;
    font-size: 2.25em;
    line-height: 1.1;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
    text-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.hero-highlight {
    color: var(--highlight-green);
}

.hero-content p {
    font-size: 1.15em;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.92);
    max-width: 520px;
}

.cta-button {
    background: linear-gradient(120deg, rgb(40, 112, 176), rgb(32, 144, 200));
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 999px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 12px 28px rgba(40, 112, 176, 0.28);
}

.cta-button:hover {
    background: linear-gradient(120deg, rgb(32, 144, 200), rgb(40, 112, 176));
    transform: scale(1.05);
}

.contact-form .cta-button.is-spam-locked,
.contact-form .cta-button:disabled {
    opacity: 0.45;
    filter: saturate(0.55);
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
    box-shadow: 0 8px 16px rgba(40, 112, 176, 0.14);
}

.contact-form .cta-button.is-spam-locked:hover,
.contact-form .cta-button:disabled:hover {
    background: linear-gradient(120deg, rgb(40, 112, 176), rgb(32, 144, 200));
    transform: none;
}

.scroll-top-button {
    position: fixed;
    right: clamp(14px, 3vw, 28px);
    bottom: clamp(14px, 3vw, 28px);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.5);
    color: var(--accent-strong);
    box-shadow: 0 16px 32px rgba(9, 36, 52, 0.16);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 950;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(0.94);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.scroll-top-button svg {
    width: 22px;
    height: 22px;
}

.scroll-top-button.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.scroll-top-button:hover {
    transform: translateY(-2px) scale(1.02);
}

.scroll-top-button:focus-visible {
    outline: 2px solid rgba(40, 112, 176, 0.5);
    outline-offset: 3px;
}

.section {
    padding: 60px 20px;
    text-align: center;
}

.about-section {
    position: relative;
}

.about-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
    z-index: -1;
}

.section-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    gap: 30px;
}

.section-content.reverse {
    direction: rtl;
}

.section-content.reverse > * {
    direction: ltr;
}

.section-text {
    text-align: left;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75em;
    color: var(--green);
    margin-bottom: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 24px rgba(12, 32, 50, 0.08);
    backdrop-filter: blur(14px);
}

.section h2 {
    font-family: 'Syne', system-ui, sans-serif;
    color: var(--text);
    font-size: 2em;
}

.section p {
    color: var(--muted);
}

.section-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: grid;
    gap: 16px;
}

.feature-card {
    background: var(--surface-strong);
    border: 1px solid var(--line);
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(12, 32, 50, 0.08);
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 14px;
    align-items: start;
}

.feature-card h3 {
    margin: 0 0 4px;
    font-size: 1.05em;
    font-weight: 600;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95em;
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(40, 112, 176, 0.25);
    background: rgba(40, 112, 176, 0.08);
    position: relative;
    overflow: hidden;
}

.feature-icon::before {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 8px;
    border: 2px solid var(--green);
}

.feature-icon::after {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 8px;
    background: linear-gradient(180deg, rgb(32, 144, 200), var(--green));
    transform: scaleY(0.1);
    transform-origin: bottom;
    animation: iconFill 2.2s ease-in-out infinite;
}

.icon-shield::before {
    border-radius: 10px 10px 12px 12px;
}

.icon-sparkle::before {
    border-radius: 50%;
}

.icon-leaf::before {
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    margin: 2px;
}

.icon-clock::before {
    border-radius: 50%;
}

@keyframes iconFill {
    0% {
        transform: scaleY(0.1);
        opacity: 0.4;
    }
    50% {
        transform: scaleY(1);
        opacity: 1;
    }
    100% {
        transform: scaleY(0.1);
        opacity: 0.4;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.service-card {
    padding: 20px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: var(--surface-strong);
    box-shadow: 0 18px 35px rgba(12, 32, 50, 0.08);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(32, 144, 200, 0.1), rgba(40, 112, 176, 0));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.section-subtitle {
    max-width: 760px;
    margin: 0 auto 28px;
    color: var(--muted);
}

.services-stack {
    max-width: 1100px;
    margin: 26px auto 0;
    display: grid;
    gap: 40px;
}

.service-row {
    display: grid;
    gap: 22px;
    align-items: center;
    position: relative;
    padding: 18px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 18px 40px rgba(9, 36, 52, 0.08);
    scroll-margin-top: 110px;
}

.service-row.reverse {
    direction: rtl;
}

.service-row.reverse > * {
    direction: ltr;
}

.service-row::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(40, 112, 176, 0.06), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.service-row:hover::before {
    opacity: 1;
}

.service-row > * {
    position: relative;
    z-index: 1;
}

.service-media {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background: rgba(255, 255, 255, 0.7);
}

.service-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    transform: scale(1.01);
}

.service-icon {
    position: absolute;
    left: 16px;
    top: 16px;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(14px);
    display: grid;
    place-items: center;
    box-shadow: 0 14px 28px rgba(9, 36, 52, 0.12);
    color: var(--green);
}

.service-icon svg {
    width: 26px;
    height: 26px;
}

.service-body {
    text-align: left;
    position: relative;
}

.service-body h3 {
    margin: 0 0 8px;
    font-size: 1.45em;
    letter-spacing: -0.2px;
}

.service-body p {
    margin: 0 0 14px;
    color: var(--muted);
}

.service-points {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    display: grid;
    gap: 10px;
}

.service-points li {
    position: relative;
    padding-left: 34px;
    color: var(--text);
}

.service-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(40, 112, 176, 0.55);
    background: linear-gradient(180deg, rgb(32, 144, 200), var(--green));
    transform: scaleY(0.12);
    transform-origin: bottom;
    animation: checkFill 5.4s ease-in-out infinite;
    box-shadow: 0 10px 20px rgba(40, 112, 176, 0.12);
}

.service-points li::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 9px;
    width: 9px;
    height: 5px;
    border-left: 2.5px solid #ffffff;
    border-bottom: 2.5px solid #ffffff;
    transform: rotate(-45deg);
    opacity: 0.95;
}

.service-points li:nth-child(2)::before {
    animation-delay: 0.2s;
}

.service-points li:nth-child(3)::before {
    animation-delay: 0.4s;
}

.service-points li:nth-child(4)::before {
    animation-delay: 0.6s;
}

.service-points li:nth-child(5)::before {
    animation-delay: 0.8s;
}

@keyframes checkFill {
    0% {
        transform: scaleY(0.12);
        opacity: 0.45;
    }
    50% {
        transform: scaleY(1);
        opacity: 1;
    }
    100% {
        transform: scaleY(0.12);
        opacity: 0.45;
    }
}

.service-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border-radius: 14px;
    background: linear-gradient(120deg, rgb(32, 144, 200), rgb(40, 112, 176));
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 12px 26px rgba(40, 112, 176, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: transform 0.2s ease, filter 0.2s ease;
}

.service-cta:hover {
    filter: brightness(1.02);
    transform: translateY(-1px);
}

.areas-list {
    list-style: none;
    padding: 0;
    margin: 30px auto 0;
    display: grid;
    gap: 14px;
    max-width: 900px;
}

.areas-list li {
    background: var(--surface-strong);
    color: var(--text);
    margin: 0;
    padding: 16px 18px;
    border-radius: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(12, 32, 50, 0.08);
    text-align: left;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 12px;
}

.areas-list li:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 32px rgba(12, 32, 50, 0.12);
}

.areas-list li::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(32, 144, 200, 0.12), rgba(40, 112, 176, 0));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.areas-list li:hover::after {
    opacity: 1;
}

.pin {
    width: 22px;
    height: 22px;
    border-radius: 50% 50% 50% 0;
    border: 2px solid var(--pin-green);
    transform: rotate(-45deg);
    position: relative;
    flex-shrink: 0;
}

.pin::before {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--pin-green);
    opacity: 0.2;
}

.pin::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: linear-gradient(180deg, #84c8e6, var(--pin-green));
    transform: scaleY(0.1);
    transform-origin: bottom;
    animation: pinFill 2.2s ease-in-out infinite;
}

.city-name {
    font-weight: 600;
    letter-spacing: 0.2px;
}

@keyframes pinFill {
    0% {
        transform: scaleY(0.1);
        opacity: 0.4;
    }
    50% {
        transform: scaleY(1);
        opacity: 1;
    }
    100% {
        transform: scaleY(0.1);
        opacity: 0.4;
    }
}

.contact-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 251, 255, 0.6));
}

.contact-head {
    max-width: 720px;
    margin: 0 auto 30px;
    text-align: center;
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(40, 112, 176, 0.1);
    color: var(--green);
    font-weight: 600;
    border: 1px solid rgba(40, 112, 176, 0.25);
    margin-bottom: 10px;
}

.contact-grid {
    display: grid;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    grid-template-columns: minmax(0, 1fr);
}

.contact-card {
    background: var(--surface-strong);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow);
    text-align: left;
    min-width: 0;
}

.contact-card h3 {
    margin-top: 0;
}

.form-grid {
    display: grid;
    gap: 14px;
    margin-bottom: 14px;
}

.contact-form {
    display: grid;
    gap: 14px;
}

.contact-form label {
    display: grid;
    gap: 6px;
    font-weight: 600;
    color: var(--text);
    font-size: 0.95em;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-status {
    margin: 0;
    font-weight: 600;
    color: var(--muted);
}

.form-status[data-state="ok"] {
    color: var(--green);
}

.form-status[data-state="error"] {
    color: #b21b1b;
}

.contact-form input,
.contact-form textarea {
    margin-bottom: 0;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.95);
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.contact-form textarea {
    min-height: 140px;
}

.contact-info {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.info-item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 14px;
    border-radius: 14px;
    background: rgba(40, 112, 176, 0.07);
    border: 1px solid rgba(40, 112, 176, 0.15);
}

.info-item p {
    margin: 0 0 4px;
    font-weight: 600;
}

.info-item a,
.info-item span {
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.info-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(40, 112, 176, 0.2);
    color: var(--green);
    font-size: 18px;
}

.footer {
    background: linear-gradient(135deg, rgb(22, 76, 127), rgb(16, 108, 158));
    color: #ffffff;
    padding: 50px 20px 30px;
    border-top: none;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 30px;
}

.footer-brand {
    display: grid;
    gap: 14px;
}

.footer-logo {
    width: 140px;
    height: auto;
}

.footer-logo-link {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.footer-contact {
    display: grid;
    gap: 8px;
    color: rgba(233, 243, 251, 0.9);
}

.footer-contact a {
    color: #e9f3fb;
    text-decoration: none;
}

.footer-col h4 {
    margin: 0 0 12px;
    font-size: 1.05em;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.footer-col a {
    color: rgba(231, 247, 241, 0.85);
    text-decoration: none;
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 30px;
    padding-top: 16px;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95em;
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

/* Desktop Styles */
@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }

    .nav-links {
        display: flex;
        flex-direction: row;
        position: static;
        width: auto;
        background: rgba(255, 255, 255, 0.7);
        padding: 10px 18px;
        margin: 0;
        border: 1px solid rgba(255, 255, 255, 0.8);
        border-radius: 999px;
        box-shadow: var(--shadow);
        backdrop-filter: blur(18px);
        justify-content: flex-end;
        flex-wrap: wrap;
        gap: 18px;
    }

    .hero {
        padding: 190px 40px 130px;
    }

    .hero-content h1 {
        font-size: 3.1em;
        line-height: 1.08;
    }

    .hero-content {
        margin-left: clamp(0px, 8vw, 80px);
    }

    .section-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: center;
    }

    .service-row {
        grid-template-columns: 1.25fr 1fr;
        gap: 30px;
        padding: 24px;
    }

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

    .feature-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .areas-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .section {
        padding: 60px 40px;
    }

    .contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

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

    .footer-grid {
        grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
        align-items: start;
    }
}

@media (max-width: 767px) {
    .hero {
        text-align: center;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }

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

    .section-content {
        grid-template-columns: 1fr;
    }

    .section-media {
        order: -1;
    }

    .section-content.reverse {
        direction: ltr;
    }

    .service-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-row.reverse {
        direction: ltr;
    }

    .contact-section {
        overflow-x: hidden;
    }

    .contact-grid {
        gap: 16px;
    }

    .contact-card {
        padding: 20px 16px;
    }

    .info-item {
        gap: 12px;
        padding: 12px;
    }

    .scroll-top-button {
        width: 46px;
        height: 46px;
        right: 12px;
        bottom: 12px;
    }

    .scroll-top-button svg {
        width: 18px;
        height: 18px;
    }
}
