/* CSS Reset and Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #17243A;
    --accent: #C9A227;
    --bg-white: #FFFFFF;
    --bg-alt: #F7F8FA;
    --text-primary: #202631;
    --text-secondary: #667085;
    --border-color: #E5E7EB;
    --shadow: 0 4px 20px rgba(23, 36, 58, 0.08);
    --shadow-hover: 0 8px 30px rgba(23, 36, 58, 0.12);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    font-size: inherit;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

@media (min-width: 768px) {
    h1 {
        font-size: 3rem;
    }
    h2 {
        font-size: 2.25rem;
    }
    h3 {
        font-size: 1.75rem;
    }
}

@media (min-width: 1024px) {
    h1 {
        font-size: 3.5rem;
    }
    h2 {
        font-size: 2.5rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

.btn--primary {
    background-color: var(--primary);
    color: white;
}

.btn--primary:hover {
    background-color: #0f1a2e;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn--secondary {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn--secondary:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn--accent {
    background-color: var(--accent);
    color: white;
}

.btn--accent:hover {
    background-color: #b08f20;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn--large {
    padding: 0.875rem 2.25rem;
    font-size: 1rem;
}

.btn--small {
    padding: 0.625rem 1.5rem;
    font-size: 0.9rem;
}

/* Header */
.header {
    background-color: var(--bg-white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    padding-bottom: 1rem;
    flex-wrap: wrap;
}

.nav__logo a {
    font-family: 'Poppins', sans-serif;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--primary);
}

.nav__toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav__toggle-bar {
    width: 25px;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav__menu {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    margin-top: 1rem;
}

.nav__menu.active {
    display: flex;
}

.nav__item {
    width: 100%;
}

.nav__link {
    display: block;
    padding: 0.875rem 0;
    color: var(--text-primary);
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
}

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

.nav__item--cta {
    margin-top: 0.5rem;
}

.nav__item--cta .btn {
    width: 100%;
}

@media (min-width: 968px) {
    .nav__toggle {
        display: none;
    }
    
    .nav__menu {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 2rem;
        width: auto;
        margin-top: 0;
    }
    
    .nav__item {
        width: auto;
    }
    
    .nav__link {
        padding: 0.5rem 0;
        border-bottom: none;
    }
    
    .nav__item--cta {
        margin-top: 0;
    }
    
    .nav__item--cta .btn {
        width: auto;
    }
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section--alt {
    background-color: var(--bg-alt);
}

.section--primary {
    background-color: var(--primary);
    color: white;
}

.section__header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section__title {
    margin-bottom: 1rem;
}

.section__subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.section--primary .section__title,
.section--primary .section__subtitle {
    color: white;
}

@media (min-width: 768px) {
    .section {
        padding: 5rem 0;
    }
    
    .section__header {
        margin-bottom: 3.5rem;
    }
}

/* Hero Section */
.hero {
    padding: 3rem 0 4rem;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
}

.hero__container {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.hero__label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero__title {
    margin-bottom: 1.25rem;
}

.hero__description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero__buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero__support {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

.hero__image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__mockup {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.hero__mockup-desktop {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-hover);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.hero__mockup-browser {
    background: #f1f5f9;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.hero__mockup-dots {
    display: flex;
    gap: 0.375rem;
}

.hero__mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
}

.hero__mockup-dots span:first-child { background: #f87171; }
.hero__mockup-dots span:nth-child(2) { background: #fbbf24; }
.hero__mockup-dots span:nth-child(3) { background: #34d399; }

.hero__mockup-content {
    padding: 1.5rem;
}

.hero__mockup-header {
    height: 40px;
    background: linear-gradient(90deg, var(--primary) 0%, #2a3f5f 100%);
    border-radius: 6px;
    margin-bottom: 1rem;
}

.hero__mockup-hero {
    height: 80px;
    background: linear-gradient(90deg, var(--bg-alt) 0%, #e5e7eb 100%);
    border-radius: 6px;
    margin-bottom: 1rem;
}

.hero__mockup-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.hero__mockup-card {
    height: 60px;
    background: linear-gradient(90deg, #f9fafb 0%, #f3f4f6 100%);
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.hero__mockup-mobile {
    position: absolute;
    bottom: -2rem;
    right: -1rem;
    width: 120px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-hover);
    border: 2px solid var(--border-color);
    overflow: hidden;
}

.hero__mockup-mobile-screen {
    padding: 0.5rem;
}

.hero__mockup-hero--small {
    height: 40px;
    margin-bottom: 0.5rem;
}

.hero__mockup-cards--mobile {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.375rem;
}

.hero__mockup-card--small {
    height: 30px;
}

@media (min-width: 768px) {
    .hero {
        padding: 4rem 0 5rem;
    }
    
    .hero__buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (min-width: 968px) {
    .hero__container {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 4rem;
    }
    
    .hero__mockup-mobile {
        width: 140px;
        bottom: -3rem;
        right: -2rem;
    }
}

/* Services Preview */
.services-preview__grid {
    display: grid;
    gap: 1.5rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.service-card__icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, #2a3f5f 100%);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.service-card__title {
    margin-bottom: 0.75rem;
    font-size: 1.375rem;
}

.service-card__description {
    color: var(--text-secondary);
    margin-bottom: 0.875rem;
    flex-grow: 1;
}

.service-card__benefit {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.service-card__link {
    color: var(--accent);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.service-card__link:hover {
    gap: 0.625rem;
}

@media (min-width: 768px) {
    .services-preview__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-preview__grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .service-card {
        padding: 1.75rem;
    }
}

/* Website Types */
.website-types__grid {
    display: grid;
    gap: 1.25rem;
}

.type-card {
    background: white;
    padding: 1.75rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.type-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.type-card__title {
    margin-bottom: 0.625rem;
    font-size: 1.25rem;
}

.type-card__description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .website-types__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .website-types__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Portfolio Preview */
.portfolio-preview__grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.portfolio-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.portfolio-card__image {
    background: linear-gradient(135deg, var(--bg-alt) 0%, #e5e7eb 100%);
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-card__mockup {
    width: 80%;
    max-width: 200px;
}

.portfolio-card__browser {
    height: 100px;
    background: white;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    position: relative;
}

.portfolio-card__browser::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: #f1f5f9;
    border-bottom: 1px solid var(--border-color);
    border-radius: 6px 6px 0 0;
}

.portfolio-card__label {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(23, 36, 58, 0.9);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

.portfolio-card__content {
    padding: 1.5rem;
}

.portfolio-card__category {
    display: inline-block;
    background: var(--bg-alt);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.portfolio-card__title {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.portfolio-card__description {
    color: var(--text-secondary);
    margin-bottom: 0.875rem;
    font-size: 0.9rem;
}

.portfolio-card__coming {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
}

.portfolio-preview__cta {
    text-align: center;
}

@media (min-width: 768px) {
    .portfolio-preview__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .portfolio-preview__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Why Choose */
.why-choose__grid {
    display: grid;
    gap: 1.5rem;
}

.why-item {
    background: white;
    padding: 1.75rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.why-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.why-item__icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent) 0%, #d4b03a 100%);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.why-item__title {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.why-item__description {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (min-width: 640px) {
    .why-choose__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .why-choose__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Process */
.process__grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.process-step {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.process-step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, #2a3f5f 100%);
    color: white;
    border-radius: 50%;
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.process-step__title {
    margin-bottom: 0.625rem;
    font-size: 1.25rem;
    letter-spacing: 0.05em;
}

.process-step__description {
    color: var(--text-secondary);
}

.process__cta {
    text-align: center;
}

@media (min-width: 768px) {
    .process__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .process__grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .process-step {
        padding: 1.75rem;
    }
}

/* Packages Preview */
.packages-preview__cta {
    text-align: center;
}

/* FAQ */
.faq__list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.faq-item__question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: white;
    text-align: left;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: var(--transition);
}

.faq-item__question:hover {
    background: var(--bg-alt);
    color: var(--primary);
}

.faq-item__question i {
    transition: var(--transition);
    color: var(--text-secondary);
    flex-shrink: 0;
}

.faq-item__question[aria-expanded="true"] i {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: white;
}

.faq-item__answer.active {
    max-height: 500px;
}

.faq-item__answer p {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Final CTA */
.section--primary .final-cta__title {
    color: white;
}

.final-cta__content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.final-cta__title {
    margin-bottom: 1rem;
}

.final-cta__description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.final-cta__buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 640px) {
    .final-cta__buttons {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer__grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer__logo {
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.875rem;
}

.footer__description {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.footer__heading {
    color: white;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer__list li {
    color: rgba(255, 255, 255, 0.85);
}

.footer__list a {
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
}

.footer__list a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer__list--contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
}

.footer__list--contact i {
    color: var(--accent);
    margin-top: 0.25rem;
    flex-shrink: 0;
    width: 16px;
}

.footer__social {
    display: flex;
    gap: 0.875rem;
    margin-top: 1rem;
}

.footer__social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer__social a:hover {
    background: var(--accent);
    color: white;
    padding-left: 0;
}

.footer__bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    text-align: center;
}

.footer__bottom p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
}

.footer__bottom a {
    color: var(--accent);
    font-size: 0.9rem;
}

.footer__bottom a:hover {
    text-decoration: underline;
}

@media (min-width: 640px) {
    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer__bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 968px) {
    .footer__grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
        gap: 2.5rem;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 640px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.75rem;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

/* Responsive utilities */
@media (max-width: 767px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .hero__buttons .btn {
        width: 100%;
    }
    
    .final-cta__buttons .btn {
        width: 100%;
    }
}
