/* =========================================
   INFRA DEVELOPERS - MAIN STYLESHEET
   Premium Construction Website
   ========================================= */

/* ===== CSS Variables & Reset ===== */
:root {
    --primary: #c8860a;
    --primary-dark: #a06a05;
    --primary-light: #f0a832;
    --secondary: #1a2332;
    --secondary-dark: #0f1720;
    --accent: #e8c060;
    --white: #ffffff;
    --off-white: #f8f6f2;
    --light-gray: #f0ede8;
    --gray: #8a8a8a;
    --dark-text: #1a1a1a;
    --gradient: linear-gradient(135deg, #c8860a 0%, #f0a832 100%);
    --gradient-dark: linear-gradient(135deg, #1a2332 0%, #243044 100%);
    --shadow-sm: 0 2px 12px rgba(200, 134, 10, 0.12);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.18);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Outfit', sans-serif;
    --font-display: 'Playfair Display', serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--dark-text);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 90px 0;
}

/* ===== LOADER ===== */
.loader {
    position: fixed;
    inset: 0;
    background: var(--secondary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    color: var(--white);
}

.loader-logo {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-bar {
    width: 200px;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    margin: 16px auto;
    overflow: hidden;
}

.loader-fill {
    height: 100%;
    background: var(--gradient);
    border-radius: 2px;
    animation: loadFill 2s ease-in-out forwards;
}

.loader-content p {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--accent);
}

@keyframes loadFill {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(200,134,10,0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(200,134,10,0); }
}

/* ===== FLOATING BUTTONS ===== */
.floating-btns {
    position: fixed;
    right: 24px;
    bottom: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.fab-btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    transition: var(--transition);
    position: relative;
    cursor: pointer;
}

.fab-call {
    background: var(--gradient);
    animation: floatAnim 3s ease-in-out infinite;
}

.fab-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    animation: floatAnim 3s ease-in-out infinite 0.5s;
}

.fab-btn:hover {
    transform: scale(1.15) translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}

.fab-tooltip {
    position: absolute;
    right: 70px;
    background: var(--secondary);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.fab-btn:hover .fab-tooltip {
    opacity: 1;
}

@keyframes floatAnim {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 900;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(15, 23, 32, 0.97);
    backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.logo-mark {
    width: 44px;
    height: 44px;
    background: var(--gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: white;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.brand-tagline {
    font-size: 0.7rem;
    color: var(--accent);
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    font-size: 0.92rem;
    padding: 8px 14px;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-light);
    border-radius: 2px;
    transition: width 0.3s ease;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.nav-cta {
    background: var(--gradient);
    color: white !important;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 8px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(200,134,10,0.35);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200,134,10,0.5);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 8px;
}

.hamburger span {
    width: 26px;
    height: 2.5px;
    background: white;
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center;
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 15, 25, 0.82) 0%,
        rgba(26, 35, 50, 0.70) 50%,
        rgba(10, 15, 25, 0.55) 100%
    );
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(200,134,10,0.6);
    border-radius: 50%;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% { transform: translateY(100vh) rotate(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 120px 24px 80px;
    margin: 0 auto 0 6%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200,134,10,0.2);
    border: 1px solid rgba(200,134,10,0.4);
    color: var(--accent);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease both;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-highlight {
    color: var(--primary-light);
    position: relative;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    max-width: 540px;
    margin-bottom: 36px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.5s both;
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
}

.stat-item > span:nth-child(2) {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
}

.stat-label {
    display: block;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.65);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.25);
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient);
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: 0 6px 25px rgba(200,134,10,0.4);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(200,134,10,0.55);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.12);
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    border: 1.5px solid rgba(255,255,255,0.4);
    transition: var(--transition);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.22);
    transform: translateY(-3px);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.78rem;
    letter-spacing: 1px;
    z-index: 2;
}

.scroll-arrow {
    margin-top: 8px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ===== MARQUEE ===== */
.marquee-strip {
    background: var(--gradient);
    padding: 14px 0;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-track {
    display: inline-flex;
    animation: marqueeScroll 25s linear infinite;
}

.marquee-track span {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0 40px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: rgba(200,134,10,0.12);
    color: var(--primary);
    border: 1px solid rgba(200,134,10,0.3);
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.section-tag.light {
    background: rgba(255,255,255,0.1);
    color: var(--accent);
    border-color: rgba(255,255,255,0.25);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.25;
    margin-bottom: 16px;
}

.section-title.light {
    color: white;
}

.highlight {
    color: var(--primary);
}

.highlight-light {
    color: var(--accent);
}

.section-sub {
    font-size: 1rem;
    color: var(--gray);
    max-width: 560px;
    margin: 0 auto;
}

/* ===== ABOUT SECTION ===== */
.about {
    background: var(--off-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-img-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-img-wrap:hover .about-img {
    transform: scale(1.04);
}

.about-badge-card {
    position: absolute;
    top: 24px;
    left: 24px;
    background: white;
    padding: 14px 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-md);
    font-size: 1.5rem;
    color: var(--primary);
}

.about-badge-card div {
    display: flex;
    flex-direction: column;
}

.about-badge-card strong {
    font-size: 1rem;
    color: var(--secondary);
    line-height: 1.2;
}

.about-badge-card span {
    font-size: 0.78rem;
    color: var(--gray);
}

.about-card-float {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: var(--gradient);
    padding: 14px 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-md);
    color: white;
    font-size: 1.2rem;
}

.about-card-float div {
    display: flex;
    flex-direction: column;
}

.about-card-float strong {
    font-size: 0.95rem;
    line-height: 1.2;
}

.about-card-float span {
    font-size: 0.78rem;
    opacity: 0.85;
}

.about-desc {
    color: #555;
    font-size: 1rem;
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 28px 0 36px;
}

.feat-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: white;
    border-radius: var(--radius-sm);
    border: 1px solid #e8e0d0;
    transition: var(--transition);
}

.feat-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.feat-icon {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.feat-item div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.feat-item strong {
    font-size: 0.9rem;
    color: var(--secondary);
}

.feat-item span {
    font-size: 0.8rem;
    color: var(--gray);
}

/* ===== SERVICES SECTION ===== */
.services {
    background: white;
}

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

.service-card {
    background: var(--off-white);
    border: 1.5px solid #e8e0d0;
    border-radius: var(--radius-md);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: default;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    background: white;
}

.service-card.featured {
    background: var(--gradient-dark);
    border-color: transparent;
    color: white;
}

.service-card.featured:hover {
    background: var(--secondary-dark);
}

.svc-badge {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.svc-icon {
    width: 60px;
    height: 60px;
    background: rgba(200,134,10,0.12);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card.featured .svc-icon {
    background: rgba(255,255,255,0.1);
    color: var(--accent);
}

.service-card:hover .svc-icon {
    background: var(--gradient);
    color: white;
    transform: scale(1.1) rotate(-5deg);
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
}

.service-card.featured h3 {
    color: white;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
}

.service-card.featured p {
    color: rgba(255,255,255,0.72);
}

.svc-line {
    height: 2px;
    background: var(--gradient);
    border-radius: 2px;
    margin-top: 20px;
    width: 40px;
    transition: width 0.4s ease;
}

.service-card:hover .svc-line {
    width: 80px;
}

/* ===== PROJECTS SECTION ===== */
.projects {
    background: var(--off-white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 50px;
}

.project-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.proj-img-wrap {
    position: relative;
    overflow: hidden;
    height: 320px;
}

.proj-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .proj-img-wrap img {
    transform: scale(1.08);
}

.proj-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,15,25,0.92) 0%, rgba(10,15,25,0.2) 60%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .proj-overlay {
    opacity: 1;
}

.proj-detail {
    color: white;
}

.proj-tag {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.proj-detail h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.proj-detail p {
    font-size: 0.82rem;
    opacity: 0.75;
    margin-bottom: 12px;
}

.proj-info {
    display: flex;
    gap: 16px;
    font-size: 0.82rem;
    opacity: 0.9;
}

.proj-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.proj-info i {
    color: var(--primary-light);
}

.projects-cta {
    text-align: center;
}

.projects-cta p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 20px;
}

/* ===== WHY US SECTION ===== */
.why-us {
    position: relative;
    overflow: hidden;
}

.why-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-dark);
}

.why-us .container {
    position: relative;
    z-index: 1;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 36px 24px;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.why-card:hover::before {
    opacity: 0.1;
}

.why-card:hover {
    transform: translateY(-8px);
    border-color: rgba(200,134,10,0.4);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.why-num {
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(200,134,10,0.12);
    font-family: var(--font-display);
    position: absolute;
    top: 10px;
    right: 16px;
    line-height: 1;
}

.why-icon {
    width: 64px;
    height: 64px;
    background: rgba(200,134,10,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-light);
    margin: 0 auto 20px;
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background: var(--gradient);
    color: white;
    transform: scale(1.1);
}

.why-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.why-card p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    background: white;
}

.testimonials-slider {
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.testi-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testi-card {
    min-width: 100%;
    padding: 48px;
    background: var(--off-white);
    border: 1.5px solid #e8e0d0;
    border-radius: var(--radius-lg);
    position: relative;
}

.testi-quote {
    font-size: 2.5rem;
    color: var(--primary-light);
    opacity: 0.5;
    margin-bottom: 20px;
}

.testi-card > p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 30px;
    max-width: 700px;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testi-avatar {
    width: 52px;
    height: 52px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
}

.testi-author > div:nth-child(2) {
    display: flex;
    flex-direction: column;
}

.testi-author strong {
    font-size: 1rem;
    color: var(--secondary);
}

.testi-author span {
    font-size: 0.82rem;
    color: var(--gray);
}

.testi-stars {
    margin-left: auto;
    color: var(--primary-light);
    font-size: 1rem;
    display: flex;
    gap: 4px;
}

.testi-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: 5px;
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: var(--off-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
    align-items: start;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px;
    background: white;
    border-radius: var(--radius-md);
    border: 1.5px solid #e8e0d0;
    margin-bottom: 16px;
    transition: var(--transition);
}

.info-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.info-icon {
    width: 48px;
    height: 48px;
    background: rgba(200,134,10,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    flex-shrink: 0;
}

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

.info-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-content h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary);
}

.info-content a {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
}

.info-content span {
    font-size: 0.8rem;
    color: var(--gray);
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 8px;
}

.btn-call-big,
.btn-whatsapp-big {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 700;
    transition: var(--transition);
    color: white;
}

.btn-call-big {
    background: var(--gradient);
    box-shadow: 0 6px 20px rgba(200,134,10,0.35);
}

.btn-call-big:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(200,134,10,0.5);
}

.btn-whatsapp-big {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    box-shadow: 0 6px 20px rgba(37,211,102,0.3);
}

.btn-whatsapp-big:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(37,211,102,0.45);
}

.btn-call-big i,
.btn-whatsapp-big i {
    font-size: 1.4rem;
}

.btn-call-big div,
.btn-whatsapp-big div {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.btn-call-big span,
.btn-whatsapp-big span {
    font-size: 0.75rem;
    opacity: 0.85;
    font-weight: 500;
}

/* ===== CONTACT FORM ===== */
.contact-form-wrap {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1.5px solid #e8e0d0;
}

.contact-form h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 6px;
}

.contact-form > p {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #e0d8cc;
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 0.92rem;
    color: var(--dark-text);
    background: var(--off-white);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(200,134,10,0.12);
}

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

.btn-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(37,211,102,0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37,211,102,0.45);
}

/* ===== MAP SECTION ===== */
.map-section {
    border-top: 3px solid var(--primary-light);
}

.map-header {
    background: var(--gradient-dark);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.95rem;
}

.map-container iframe {
    display: block;
    filter: saturate(0.8);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--secondary-dark);
}

.footer-top {
    padding: 70px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-logo .logo-mark {
    background: var(--gradient);
}

.footer-brand > p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.65);
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gradient);
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-services h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--gradient);
    border-radius: 2px;
}

.footer-links ul,
.footer-services ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a,
.footer-services a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
}

.footer-contact-item i {
    color: var(--primary-light);
    margin-top: 2px;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.footer-contact-item a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-contact-item a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

.footer-bottom strong {
    color: var(--accent);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { gap: 40px; }
}

@media (max-width: 900px) {
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .about-visual { order: 1; }
    .about-content { order: 2; }
}

@media (max-width: 768px) {
    .section { padding: 70px 0; }

    .nav-menu {
        position: fixed;
        top: 0; right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--secondary-dark);
        flex-direction: column;
        align-items: flex-start;
        padding: 90px 32px 40px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0,0,0,0.4);
        gap: 4px;
        z-index: 899;
    }

    .nav-menu.open { right: 0; }

    .nav-link {
        font-size: 1.05rem;
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 20px;
        width: 100%;
        justify-content: center;
    }

    .hamburger { display: flex; z-index: 901; }

    .hero-content {
        margin: 0;
        padding: 120px 24px 80px;
        text-align: center;
        max-width: 100%;
    }

    .hero-subtitle { margin: 0 auto 36px; }
    .hero-stats { justify-content: center; }
    .hero-actions { justify-content: center; }

    .about-features { grid-template-columns: 1fr; }

    .services-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }

    .contact-form-wrap { padding: 28px 20px; }
    .form-row { grid-template-columns: 1fr; }

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

    .testi-card { padding: 32px 24px; }
    .testi-stars { display: none; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 16px; flex-wrap: wrap; }
    .stat-divider { display: none; }
    .floating-btns { right: 16px; bottom: 20px; }
    .fab-btn { width: 52px; height: 52px; font-size: 1.2rem; }
}

/* ===== MOBILE NAV OVERLAY ===== */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 898;
}

.nav-overlay.show { display: block; }

/* ===== Scroll to top ===== */
.scroll-top {
    position: fixed;
    bottom: 110px;
    right: 26px;
    width: 44px;
    height: 44px;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 800;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary);
    transform: translateY(-3px);
}
