/* ========================================
   TOPOMAT - Dark Industrial Theme
   ======================================== */

/* CSS Custom Properties */
:root {
    /* Colors */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --bg-card: #FFFFFF;
    --text-primary: #0A4D92;
    --text-secondary: #1E40AF;
    --text-muted: #6B7280;
    --accent: #0A4D92;
    --accent-hover: #083b70;
    --accent-dark: #052a52;

    /* Typography */
    --font-heading: 'Bebas Neue', 'Impact', sans-serif;
    --font-body: 'Inter', 'Roboto', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 5rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 50px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Container */
    --container-max: 1400px;
    --container-padding: 2rem;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    /* Compensa a altura do Header fixo */
}

body {
    font-family: var(--font-body);
    background: linear-gradient(135deg, #0f568c 0%, #0a3d66 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* Topographic Pattern Overlay */
.topo-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.03;
    z-index: 1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 800'%3E%3Cg fill='none' stroke='%23000000' stroke-width='1'%3E%3Ccircle cx='400' cy='400' r='50'/%3E%3Ccircle cx='400' cy='400' r='100'/%3E%3Ccircle cx='400' cy='400' r='150'/%3E%3Ccircle cx='400' cy='400' r='200'/%3E%3Ccircle cx='400' cy='400' r='250'/%3E%3Ccircle cx='400' cy='400' r='300'/%3E%3Ccircle cx='400' cy='400' r='350'/%3E%3Ccircle cx='400' cy='400' r='400'/%3E%3Cpath d='M0,200 Q200,100 400,200 T800,200'/%3E%3Cpath d='M0,400 Q200,300 400,400 T800,400'/%3E%3Cpath d='M0,600 Q200,500 400,600 T800,600'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 800px 800px;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Section Title */
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.section-title--center {
    text-align: center;
}

.section-title--large {
    font-size: clamp(3rem, 8vw, 6rem);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn--primary {
    background-color: #042446;
    color: #FFFFFF;
}

.btn--primary:hover {
    background-color: #021224;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(4, 36, 70, 0.4);
}

.btn--whatsapp {
    background-color: var(--accent);
    color: #FFFFFF;
    font-size: 0.85rem;
    padding: 0.75rem 1.5rem;
}

.btn--whatsapp:hover {
    background-color: var(--accent-hover);
    transform: scale(1.02);
}

.btn--outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn--outline:hover {
    background-color: var(--accent);
    color: #FFFFFF;
}

.btn--large {
    padding: 1.25rem 3rem;
    font-size: 1rem;
}

.whatsapp-icon {
    width: 18px;
    height: 18px;
}

/* Social Media Icons */
.header__social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-secondary);
    transition: var(--transition-normal);
}

.social-icon:hover {
    background: var(--accent);
    color: #FFFFFF;
    transform: scale(1.1);
}

.social-icon svg {
    width: 18px;
    height: 18px;
}

.social-icon--footer {
    width: 40px;
    height: 40px;
    background: rgba(10, 77, 146, 0.1);
    color: var(--accent);
}

.social-icon--footer:hover {
    background: var(--accent);
    color: #FFFFFF;
}

.footer__social {
    display: flex;
    gap: 1rem;
    margin-top: var(--spacing-md);
}

.mobile-whatsapp {
    display: none;
}

/* ========================================
   HEADER
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--spacing-sm) 0 var(--spacing-sm) 0;
    padding: calc(var(--spacing-sm) + env(safe-area-inset-top, 0px)) 0 var(--spacing-sm) 0;
    transition: var(--transition-normal);
    background: #FFFFFF;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: var(--spacing-xs) 0 var(--spacing-xs) 0;
    padding: calc(var(--spacing-xs) + env(safe-area-inset-top, 0px)) 0 var(--spacing-xs) 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
}

.header__logo {
    flex-shrink: 0;
    margin-right: 60px;
    /* Compensate for the visual scaling of the logo */
}

.header__logo img {
    height: 90px;
    width: auto;
    transform: scale(1.625);
    transform-origin: left center;
}

.header__nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.header__menu {
    display: flex;
    gap: var(--spacing-lg);
}

.header__link {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    position: relative;
}

.header__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition-fast);
}

.header__link:hover {
    color: var(--text-primary);
}

.header__link:hover::after {
    width: 100%;
}

.header__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.header__toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-fast);
}

.header__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.header__toggle.active span:nth-child(2) {
    opacity: 0;
}

.header__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.header__nav-close {
    display: none;
}

/* ========================================
   HERO
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 280px 0;
    overflow: hidden;
}

.hero__topo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.08;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000'%3E%3Cg fill='none' stroke='%23000000' stroke-width='0.5'%3E%3Cellipse cx='500' cy='500' rx='100' ry='80'/%3E%3Cellipse cx='500' cy='500' rx='200' ry='160'/%3E%3Cellipse cx='500' cy='500' rx='300' ry='240'/%3E%3Cellipse cx='500' cy='500' rx='400' ry='320'/%3E%3Cellipse cx='500' cy='500' rx='500' ry='400'/%3E%3Cpath d='M0,300 Q250,200 500,300 T1000,300'/%3E%3Cpath d='M0,500 Q250,400 500,500 T1000,500'/%3E%3Cpath d='M0,700 Q250,600 500,700 T1000,700'/%3E%3C/g%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: var(--spacing-xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero__content {
    max-width: 600px;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: 0.1em;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: #FFFFFF;
}

.hero__title--large {
    font-size: clamp(3rem, 8vw, 6rem);
    display: block;
    line-height: 1;
}

.hero__subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: #FFFFFF;
    letter-spacing: 0.15em;
    margin-bottom: var(--spacing-lg);
}

.hero__description {
    color: #FFFFFF;
    font-size: 1rem;
    max-width: 500px;
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.hero__image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__image img {
    max-height: 500px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.hero__badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    border: 1px solid rgba(10, 77, 146, 0.3);
}

.hero__badge-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--accent);
}

.hero__badge-label {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    line-height: 1.3;
    color: var(--text-secondary);
}

.hero__stats {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) var(--spacing-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: rgba(10, 77, 146, 0.2);
}

.stat-card__icon {
    width: 44px;
    height: 44px;
    background: rgba(10, 77, 146, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-xs);
}

.stat-card__icon svg {
    width: 20px;
    height: 20px;
}

.stat-card__number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    color: var(--accent);
    display: block;
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.stat-card__label {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.3;
}

/* ========================================
   ABOUT
   ======================================== */
.about {
    background-color: var(--bg-secondary);
    padding: var(--spacing-2xl) 0 0;
    position: relative;
}

.about__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.about__image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.about__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 77, 146, 0.1) 0%, transparent 50%);
}

.about__content {
    max-width: 550px;
}

.about__text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.about__checklist {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.about__check-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 500;
}

.check-icon {
    width: 24px;
    height: 24px;
    color: var(--accent);
    flex-shrink: 0;
}

.about__banner {
    margin-top: var(--spacing-2xl);
    padding: var(--spacing-xl) 0;
    background-color: #FFFFFF;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.about__banner-text {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    letter-spacing: 0.1em;
    line-height: 1.6;
    color: var(--text-secondary);
}

.about__banner-text strong {
    color: var(--text-primary);
}

/* ========================================
   WORKFLOW
   ======================================== */
.workflow {
    padding: var(--spacing-2xl) 0;
    position: relative;
    overflow: hidden;
}

.workflow .section-title {
    color: #FFFFFF;
}

.workflow__topo-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 400'%3E%3Cg fill='none' stroke='%23000000' stroke-width='1'%3E%3Cpath d='M0,100 Q200,50 400,100 T800,100'/%3E%3Cpath d='M0,150 Q200,100 400,150 T800,150'/%3E%3Cpath d='M0,200 Q200,150 400,200 T800,200'/%3E%3Cpath d='M0,250 Q200,200 400,250 T800,250'/%3E%3Cpath d='M0,300 Q200,250 400,300 T800,300'/%3E%3C/g%3E%3C/svg%3E");
    background-size: cover;
}

.workflow__steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-top: var(--spacing-xl);
}

.workflow__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 260px;
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg) var(--spacing-sm);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-normal);
}

.workflow__step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: rgba(10, 77, 146, 0.2);
}

.workflow__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.workflow__circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 4px solid var(--bg-secondary);
    transition: var(--transition-normal);
    margin-bottom: var(--spacing-md);
    flex-shrink: 0;
}

.workflow__step:hover .workflow__circle {
    border-color: var(--accent);
    transform: scale(1.05);
}

.workflow__circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.workflow__number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--text-primary);
    text-shadow: 0 4px 15px rgba(255, 255, 255, 0.9);
    z-index: 2;
}

.workflow__label {
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    font-weight: 700;
    text-align: center;
    color: var(--accent);
    margin-bottom: var(--spacing-xs);
}

.workflow__desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.5;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.workflow__desc strong {
    color: var(--text-primary);
    font-size: 0.95rem;
    display: block;
    margin-bottom: 0.25rem;
}

.workflow__step:hover .workflow__desc {
    opacity: 1;
    max-height: 250px;
    margin-top: var(--spacing-sm);
}

/* ========================================
   SERVICES
   ======================================== */
.services {
    padding: var(--spacing-2xl) 0;
    background-color: var(--bg-secondary);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.service-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: var(--bg-card);
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card__image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.service-card:hover .service-card__image img {
    transform: scale(1.1);
}

.service-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(255, 255, 255, 0.9) 100%);
}

.service-card__content {
    padding: var(--spacing-md) var(--spacing-lg);
}

.service-card__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.service-card__desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.services__cta {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-xl);
}

/* ========================================
   CONTACT
   ======================================== */
.contact {
    position: relative;
    padding: var(--spacing-2xl) 0;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.contact__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.contact__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact__bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
}

.contact__container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.contact__content {
    max-width: 600px;
    margin: 0 auto;
}

.contact__title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
}

.contact__subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background-color: var(--bg-secondary);
    padding: var(--spacing-2xl) 0 0;
}

.footer__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: stretch;
}

.footer__logo {
    margin-bottom: var(--spacing-lg);
}

.footer__logo img {
    height: 240px;
    width: auto;
}

.footer__details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.footer__item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer__item a {
    color: var(--accent);
}

.footer__item a:hover {
    text-decoration: underline;
}

.footer__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--accent);
}

.footer__map {
    height: 100%;
    min-height: 300px;
}

.footer__map iframe {
    width: 100%;
    height: 100% !important;
    display: block;
}

.footer__map {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.footer__bottom {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg) 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Footer CTA Banner */
.footer__cta-banner {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--spacing-lg);
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer__cta-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer__cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
}

.footer__cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--spacing-lg);
}

.footer__cta-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    letter-spacing: 0.05em;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.footer__cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer__cta-btn svg {
    stroke: #FFFFFF;
}

/* ========================================
   CTA SECTION (Full Width)
   ======================================== */
.cta-section {
    position: relative;
    width: 100%;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cta-section__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-section__overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
}

.cta-section__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-lg);
}

.cta-section__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    letter-spacing: 0.05em;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
    font-weight: 400;
    font-style: italic;
}

.cta-section__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-section__btn svg {
    stroke: #FFFFFF;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1366px) {
    .header__container {
        gap: var(--spacing-sm);
    }

    .header__menu {
        gap: 0.5rem;
    }

    .header__link {
        font-size: 0.75rem;
        letter-spacing: 0.02em;
    }
}

@media (max-width: 1200px) {
    .header__logo img {
        height: 80px;
    }

    .footer__logo img {
        height: 180px;
    }

    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__content {
        max-width: 100%;
    }

    .hero__description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__image {
        order: -1;
    }

    .hero__stats {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        padding-top: var(--spacing-lg);
        gap: var(--spacing-md);
    }

    .stat-card {
        flex: 1;
        min-width: 140px;
    }

    .about__container,
    .footer__container {
        grid-template-columns: 1fr;
    }

    .footer__info {
        text-align: center;
    }

    .footer__logo {
        display: flex;
        justify-content: center;
    }

    .footer__details {
        align-items: center;
    }

    .footer__item {
        justify-content: center;
        text-align: center;
    }

    .footer__social {
        justify-content: center;
    }

    /* Header adjustments moved to tablet breakpoint to prevent layout break */
    .header {
        padding: var(--spacing-xs) 0 var(--spacing-xs) 0;
        padding: calc(var(--spacing-xs) + env(safe-area-inset-top, 0px)) 0 var(--spacing-xs) 0;
    }

    .header.scrolled {
        padding: var(--spacing-xs) 0 var(--spacing-xs) 0;
        padding: calc(var(--spacing-xs) + env(safe-area-inset-top, 0px)) 0 var(--spacing-xs) 0;
    }

    .header__container {
        gap: var(--spacing-sm);
    }

    .header__logo img {
        /* Keep original height to prevent logo size alteration */
        height: 90px;
    }

    .header__social {
        display: flex;
    }

    .header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        overflow-y: auto;
        background: var(--bg-secondary);
        padding: 100px var(--spacing-lg) var(--spacing-lg);
        transition: var(--transition-normal);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 1001;
    }

    .header__nav.active {
        right: 0;
    }

    .header__menu {
        flex-direction: column;
        gap: var(--spacing-lg);
    }

    .header__nav-close {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        color: var(--text-primary);
        cursor: pointer;
        padding: 5px;
        z-index: 1002;
    }

    .header__nav-close svg {
        width: 32px;
        height: 32px;
        stroke-width: 2;
    }

    .header__toggle {
        display: flex;
    }

    .btn--whatsapp {
        display: none;
    }

    .mobile-whatsapp {
        display: flex;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
    }

    .header__container {
        gap: 0.5rem;
    }

    .header__logo {
        margin-left: -10px;
        margin-right: 60px;
    }

    /* Hero adjustments */
    .hero {
        padding-top: 160px;
        padding-top: calc(160px + env(safe-area-inset-top, 0px));
        padding-bottom: 80px;
        min-height: auto;
    }

    .hero__image img {
        max-height: 300px;
    }

    .hero__stats {
        flex-wrap: wrap;
        gap: var(--spacing-lg);
    }

    /* Workflow adjustments */
    .workflow__steps {
        gap: var(--spacing-lg);
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .workflow__step {
        max-width: calc(50% - (var(--spacing-lg) / 2));
        width: 100%;
    }

    .workflow__circle {
        width: 100px;
        height: 100px;
    }

    .workflow__number {
        font-size: 2.5rem;
    }

    /* About banner */
    .about__banner-text {
        font-size: clamp(1rem, 2vw, 1.4rem);
    }

    /* Footer adjustments */
    .footer__logo img {
        height: 150px;
    }

    .footer__map iframe {
        height: 250px;
    }

    /* Contact adjustments */
    .contact {
        min-height: 400px;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 0.75rem;
    }

    .header__container {
        gap: 0.25rem;
    }

    .header__social {
        gap: 0.25rem;
    }

    .social-icon {
        width: 32px;
        height: 32px;
    }

    .social-icon svg {
        width: 16px;
        height: 16px;
    }

    .header__logo {
        margin-left: -15px;
        margin-right: 55px;
    }

    .header__logo img {
        height: 90px;
    }

    .footer__logo img {
        height: 130px;
    }

    .hero {
        padding-top: 150px;
        padding-top: calc(150px + env(safe-area-inset-top, 0px));
        padding-bottom: 80px;
    }

    .hero__title--large {
        font-size: 2.5rem;
    }

    .hero__image img {
        max-height: 220px;
    }

    .hero__badge {
        padding: var(--spacing-xs) var(--spacing-sm);
        bottom: 10px;
        left: 10px;
    }

    .hero__badge-text {
        font-size: 1.5rem;
    }

    .hero__badge-label {
        font-size: 0.6rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-title--large {
        font-size: 2.5rem;
    }

    .contact__title {
        font-size: 2.5rem;
    }

    .btn--large {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }

    .about__text {
        font-size: 1rem;
    }

    .about__banner-text {
        font-size: 1rem;
        letter-spacing: 0.05em;
    }

    .workflow__steps {
        flex-direction: column;
        align-items: center;
    }

    .workflow__step {
        max-width: 100%;
    }

    .workflow__circle {
        width: 90px;
        height: 90px;
    }

    .workflow__number {
        font-size: 1.8rem;
    }

    .service-card__title {
        font-size: 1.3rem;
    }

    .service-card__desc {
        font-size: 0.85rem;
    }

    .cta-section {
        min-height: 220px;
    }

    .footer__item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__content,
.hero__image,
.hero__stats {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero__image {
    animation-delay: 0.2s;
}

.hero__stats {
    animation-delay: 0.4s;
}