/* DRB Developers - Landing Page Styles */
:root {
    /* Primary premium palette */
    --navy: #0B1F33;         /* primary */
    --navy-mid: #071521;     /* darker accent for footer/overlays */
    --gold: #C9A15C;         /* accent */
    --gold-light: #B38C4A;   /* accent hover */
    --white: #ffffff;

    /* Backgrounds */
    --bg-light: #F5F7FA;

    /* Text */
    --text-dark: #0F172A;
    --text-muted: #475569;

    /* Neutrals / effects */
    --gray-100: rgba(255, 255, 255, 0.9);
    --gray-200: rgba(255, 255, 255, 0.7);
    --shadow-soft: 0 12px 40px rgba(11, 31, 51, 0.15);
    --shadow-card: 0 8px 30px rgba(11, 31, 51, 0.12);
    --glass: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.14);
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}

.navbar.navbar--solid {
    background: var(--navy-mid);
    backdrop-filter: blur(14px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.navbar__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar__logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color var(--transition), border-color var(--transition), box-shadow var(--transition);
    white-space: nowrap;
    padding: 0.5rem 1rem;
    border: 2px solid rgba(192, 198, 206, 0.75);
    border-radius: 8px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.navbar__logo:hover {
    color: var(--gold-light);
    border-color: rgba(210, 216, 224, 0.9);
}

.navbar__nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar__link {
    color: var(--white);
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color var(--transition);
}

.navbar__link:hover {
    color: var(--gold);
}

.navbar__search {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 0.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition), transform var(--transition);
}

.navbar__search:hover {
    color: var(--gold);
    transform: scale(1.05);
}

.navbar__toggle {
    display: none;
    flex-shrink: 0;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 0.5rem;
}

.navbar__toggle span {
    width: 24px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.navbar__toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar__toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.navbar__toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 4rem;
    overflow: hidden;
}

.hero__wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero__bg-slider {
    position: absolute;
    inset: 0;
    animation: heroZoom 20s ease-in-out infinite alternate;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero__bg--1,
.hero__bg--2,
.hero__bg--3 {
    animation: heroFade 15s ease-in-out infinite;
}

.hero__bg--1 { animation-delay: 0s; }
.hero__bg--2 { animation-delay: -5s; }
.hero__bg--3 { animation-delay: -10s; }

@keyframes heroFade {
    0%, 30% { opacity: 1; }
    33%, 100% { opacity: 0; }
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 0%, rgba(201, 161, 92, 0.10) 0, transparent 45%),
        linear-gradient(135deg, rgba(7, 21, 33, 0.48) 0%, rgba(11, 31, 51, 0.42) 50%, rgba(11, 31, 51, 0.38) 100%);
}

.hero__land-card {
    position: absolute;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.hero__land-3d {
    width: 200px;
    height: 140px;
    background: linear-gradient(145deg, #8B6914 0%, #6B4F0F 30%, #4a3810 100%);
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: perspective(400px) rotateX(15deg) rotateY(-5deg);
    position: relative;
}

.hero__land-3d::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 8px;
    right: 8px;
    height: 12px;
    background: linear-gradient(180deg, #5a4520 0%, #3d3015 100%);
    border-radius: 0 0 4px 4px;
}

.hero__pin {
    position: absolute;
    left: 50%;
    top: -28px;
    transform: translateX(-50%);
    color: #c0392b;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    animation: pinBounce 2.5s ease-in-out infinite;
}

.hero__pin svg {
    width: 32px;
    height: 32px;
}

@keyframes pinBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-4px); }
}

.hero__content {
    text-align: left;
    width: 100%;
    max-width: 520px;
}

.hero__form-column {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    width: 100%;
    min-width: 0;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    margin-bottom: 0.25rem;
}

.hero__title {
    font-size: clamp(2.6rem, 5vw, 3.8rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    animation: fadeUp 0.9s ease-out;
}

.hero__subtitle {
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    color: var(--gray-200);
    font-weight: 400;
    margin-bottom: 2rem;
    animation: fadeUp 0.9s ease-out 0.15s both;
}

.hero__cta {
    display: inline-block;
    padding: 1rem 2.25rem;
    background: var(--gold);
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-decoration: none;
    border-radius: 8px;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    animation: fadeUp 0.9s ease-out 0.3s both;
    box-shadow: 0 4px 16px rgba(201, 164, 108, 0.35);
}

.hero__cta:hover {
    background: var(--gold-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(201, 164, 108, 0.45);
}

/* Hero contact form - right column (desktop), below CTAs on mobile */
.hero__form-wrap {
    width: 100%;
    max-width: 420px;
    margin-top: 0;
}

.hero__form-toggle {
    flex: 0 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.25rem;
    min-height: 48px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--white);
    background: var(--gold);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(201, 164, 108, 0.35);
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.hero__form-toggle:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(201, 164, 108, 0.45);
}

.hero__form-toggle:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: 2px;
}

.hero__form-toggle-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.hero__form-toggle-text i {
    font-size: 1em;
    opacity: 0.95;
}

.hero__form-toggle-text--close {
    display: none;
}

.hero--form-open .hero__form-toggle-text--open {
    display: none;
}

.hero--form-open .hero__form-toggle-text--close {
    display: inline-flex;
}

.hero__form-panel {
    width: 100%;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    pointer-events: none;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease, margin-top 0.35s ease;
}

.hero__form-wrap--open .hero__form-panel {
    max-height: 1000px;
    opacity: 1;
    margin-top: 0.75rem;
    pointer-events: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hero__form {
    width: 100%;
    max-width: 420px;
    background: rgba(7, 21, 33, 0.62);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border: 1px solid rgba(201, 161, 92, 0.22);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.hero__form-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.hero__form-group {
    margin-bottom: 1.25rem;
}

.hero__form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-200);
    margin-bottom: 0.4rem;
    letter-spacing: 0.04em;
}

.hero__form-input {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    transition: border-color var(--transition), background var(--transition);
}

.hero__form-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.hero__form-input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.08);
}

.hero__form-textarea {
    resize: vertical;
    min-height: 100px;
}

.hero__form-submit {
    width: 100%;
    padding: 1rem 1.5rem;
    margin-top: 0.5rem;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--white);
    background: var(--gold);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.hero__form-submit:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
}

.hero__form-submit:focus-visible {
    outline: 2px solid var(--champagne);
    outline-offset: 2px;
}

/* Section common */
.section__tag {
    display: inline-block;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.section__tag--light {
    color: var(--gold);
}

.section__title {
    font-size: clamp(2rem, 3.8vw, 2.6rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section__title--light {
    color: var(--white);
}

/* About */
.about {
    padding: 5rem 2rem;
    background: var(--white);
}

.about__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about__video-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.about__video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
}

.about__video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.about__text {
    padding-left: 0.5rem;
}

.about__desc {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.75rem;
    line-height: 1.75;
}

.about__director-role {
    font-size: clamp(1.15rem, 2.4vw, 1.45rem);
    font-weight: 600;
    margin-bottom: 0;
    line-height: 1.5;
}

.btn {
    display: inline-block;
    padding: 0.9rem 1.75rem;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn--gold {
    background: var(--gold);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(201, 161, 92, 0.35);
}

.btn--gold:hover {
    background: var(--gold-light);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 28px rgba(201, 164, 108, 0.45);
}

/* Projects / Carousel */
.projects {
    padding: 5rem 2rem;
    background: var(--navy);
    position: relative;
}

.projects__inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.carousel {
    position: relative;
    margin-top: 3rem;
    padding: 0 3.5rem;
}

.carousel__prev,
.carousel__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    background: transparent;
    color: var(--gold);
    font-size: 1.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), color var(--transition);
    z-index: 5;
}

.carousel__prev { left: 0; }
.carousel__next { right: 0; }

.carousel__prev:hover,
.carousel__next:hover {
    background: var(--gold);
    color: var(--white);
}

.carousel__track-wrap {
    overflow: hidden;
}

.carousel__track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel__slide {
    flex: 0 0 calc(100% / 3 - 1.34rem);
    min-width: 280px;
}

.project-card {
    background: rgba(5, 15, 30, 0.9);
    backdrop-filter: blur(14px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--glass-border);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
    opacity: 0.7;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
    border-color: rgba(201, 161, 92, 0.35);
}

.project-card__img {
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.project-card:hover .project-card__img {
    transform: scale(1.05);
}

.project-card__info {
    padding: 1.5rem;
}

.project-card__category {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 0.35rem;
}

.project-card__name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
}

.carousel__dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.carousel__dot {
    width: 8px;
    height: 24px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: background var(--transition), height var(--transition);
}

.carousel__dot.active {
    background: var(--gold);
    height: 32px;
}

/* Blog */
.blog {
    padding: 5rem 2rem;
    background: var(--white);
}

.blog__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.blog__intro {
    max-width: 640px;
    margin-top: 0.75rem;
    margin-bottom: 2.5rem;
    color: var(--text-muted);
    font-size: 0.98rem;
}

.blog__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(11, 31, 51, 0.06);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
    border-color: rgba(201, 161, 92, 0.4);
}

.blog-card__video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.blog-card__video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.blog-card__content {
    padding: 1.5rem 1.5rem 1.7rem;
}

.blog-card__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.blog-card__excerpt {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Testimonials */
.testimonials {
    padding: 5.5rem 2rem;
    background: radial-gradient(circle at top left, rgba(201, 161, 92, 0.08), transparent 42%), var(--bg-light);
}

.testimonials__inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.testimonial-card {
    position: relative;
    background: var(--white);
    padding: 2.25rem 2rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(11, 31, 51, 0.08);
    text-align: left;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.testimonial-card::before {
    content: '“';
    position: absolute;
    top: 0.6rem;
    right: 1.4rem;
    font-size: 4rem;
    line-height: 1;
    color: rgba(201, 161, 92, 0.18);
    pointer-events: none;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    opacity: 0.9;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
    border-color: rgba(201, 161, 92, 0.4);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(245, 247, 250, 1) 100%);
}

.testimonial-card__text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-style: italic;
}

.testimonial-card__name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: var(--navy);
    color: var(--white);
    padding: 4rem 2rem 2rem;
    position: relative;
}

.footer__bg-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30z' fill='%23ffffff' fill-opacity='0.02' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.footer__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.footer__logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.footer__desc {
    font-size: 0.95rem;
    color: var(--gray-200);
    line-height: 1.65;
    max-width: 320px;
}

.footer__heading {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.footer__links ul {
    list-style: none;
}

.footer__links li {
    margin-bottom: 0.6rem;
}

.footer__links a {
    color: var(--gray-200);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color var(--transition);
}

.footer__links a::before {
    content: '›';
    color: var(--gold);
    font-weight: 700;
}

.footer__links a:hover {
    color: var(--gold);
}

.footer__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--gray-200);
    margin-bottom: 1rem;
    line-height: 1.55;
    text-align: left;
}

.footer__item svg {
    flex-shrink: 0;
    align-self: center;
    color: var(--gold);
}

.footer__bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer__bottom p {
    font-size: 0.85rem;
    color: var(--gray-200);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .about__inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about__video-wrap {
        order: -1;
    }

    .about__text {
        padding-left: 0;
    }

    .carousel__slide {
        flex: 0 0 50%;
        min-width: 260px;
    }

    .blog__grid {
        grid-template-columns: 1fr 1fr;
    }

    .testimonials__grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer__inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .navbar__inner {
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .navbar__logo {
        font-size: 1.2rem;
        max-width: calc(100% - 52px);
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .navbar__nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        background: rgba(13, 27, 42, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        gap: 0;
        transition: max-height 0.35s ease, opacity 0.3s ease;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
        z-index: 999;
    }

    .navbar__nav.navbar__nav--open {
        max-height: 80vh;
        opacity: 1;
        overflow-y: auto;
    }

    .navbar__link {
        display: block;
        padding: 1rem 2rem;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar__link:last-child {
        border-bottom: none;
    }

    .navbar__toggle {
        display: flex;
        z-index: 1001;
    }
}

@media (max-width: 768px) {
    .navbar__logo {
        font-size: 1.1rem;
    }

    .carousel {
        padding: 0 2.5rem;
    }

    .carousel__slide {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .carousel__prev,
    .carousel__next {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .hero__land-card {
        display: none;
    }

    .hero__wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
        max-width: 100%;
    }

    .hero__content {
        text-align: center;
        max-width: none;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__form-column {
        justify-content: center;
    }

    .hero__form-wrap {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__form {
        max-width: 100%;
    }

    .blog__grid,
    .testimonials__grid,
    .footer__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__desc {
        max-width: none;
    }
}

/* Contact Info: phones & small tablets (below Tailwind md to avoid utility conflicts) */
@media (max-width: 767px) {
    .footer__contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding-inline: 0.75rem;
    }

    .footer__contact .footer__heading {
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }

    .footer__contact .footer__item {
        width: 100%;
        max-width: 22rem;
        margin-left: auto;
        margin-right: auto;
        justify-content: flex-start;
    }

    .footer__contact .footer__social {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .navbar__logo {
        font-size: 1rem;
    }

    .hero {
        padding: 5rem 1.25rem 3rem;
    }

    .hero__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .hero__cta,
    .hero__form-toggle {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .hero__form-wrap {
        max-width: 100%;
    }

    .about,
    .projects,
    .testimonials {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}
