:root {
    --primary: #0a2e42;
    --primary-light: #123a50;
    --primary-lighter: #1a4a62;
    --secondary: #f5f0e6;
    --secondary-dark: #e8dfd0;
    --beige: #d4c4a8;
    --gold: #9a7b5c;
    --gold-light: #b8976f;
    --gold-dark: #7a6248;
    --white: #ffffff;
    --text-dark: #1c2830;
    --text-medium: #4a5568;
    --text-light: #718096;
    --accent: #c9a87c;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 2px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(154, 123, 92, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.4);
}

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

.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 42px;
    text-align: center;
    margin-bottom: 16px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    margin: 20px auto 0;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-medium);
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
    font-weight: 400;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(154, 123, 92, 0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: 0 4px 30px rgba(10, 46, 66, 0.08);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: 0.5px;
}

.logo span {
    color: var(--gold);
    font-weight: 600;
}

nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

nav a {
    font-size: 13px;
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    position: relative;
    padding: 4px 0;
    transition: color 0.3s;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--primary);
}

nav a:hover::after {
    width: 100%;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #25D366, #20b858);
    color: var(--white);
    border-radius: 2px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.whatsapp-btn svg {
    width: 16px;
    height: 16px;
}

/* Hero */
.hero {
    min-height: 100vh;
    background: linear-gradient(145deg, var(--primary) 0%, var(--primary-light) 40%, var(--primary-lighter) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(154, 123, 92, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(201, 168, 124, 0.06) 0%, transparent 40%);
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: linear-gradient(180deg, transparent 0%, rgba(154, 123, 92, 0.03) 100%);
    transform: rotate(-15deg);
}

.hero-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, var(--secondary), transparent);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(154, 123, 92, 0.15);
    border: 1px solid rgba(201, 168, 124, 0.3);
    border-radius: 2px;
    font-size: 12px;
    color: var(--accent);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 28px;
    font-weight: 500;
}

.hero-badge svg {
    width: 14px;
    height: 14px;
}

.hero h1 {
    font-size: 56px;
    color: var(--white);
    margin-bottom: 24px;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 19px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 36px;
    line-height: 1.8;
    font-weight: 300;
}

.hero-points {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 44px;
    padding-left: 4px;
}

.hero-point {
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    font-weight: 400;
}

.hero-point svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* About Section */
.about {
    background: var(--secondary);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--beige), transparent);
}

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

.about-image {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    padding: 20px;
}

.about-image-main {
    width: 100%;
    height: 520px;
    background: linear-gradient(145deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about-image-main::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(201, 168, 124, 0.2);
    border-radius: 2px;
}

.about-image-main::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid rgba(201, 168, 124, 0.1);
    border-radius: 1px;
}

.about-icon {
    width: 140px;
    height: 140px;
    position: relative;
}

.about-icon svg {
    width: 100%;
    height: 100%;
    color: var(--accent);
    opacity: 0.9;
}

.about-image-accent {
    position: absolute;
    bottom: -30px;
    right: -20px;
    width: 180px;
    height: 180px;
    background: var(--gold);
    border-radius: 2px;
    opacity: 0.15;
    z-index: -1;
}

.about-content {
    padding-left: 20px;
}

.about-content h2 {
    font-size: 40px;
    margin-bottom: 28px;
    position: relative;
}

.about-content h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    margin-top: 20px;
}

.about-content p {
    font-size: 16px;
    color: var(--text-medium);
    line-height: 1.9;
    margin-bottom: 20px;
    font-weight: 400;
}

/* Partner Section */
.partner {
    background: var(--white);
}

.partner-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.3fr;
    gap: 80px;
    align-items: center;
}

.partner-image-wrapper {
    position: relative;
    padding: 20px;
}

.partner-image-main {
    width: 100%;
    height: 560px;
    background: linear-gradient(155deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.partner-image-main::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(154, 123, 92, 0.1) 0%, transparent 50%);
}

.partner-avatar {
    width: 100%;
    height: 100%;
    position: relative;
}

.partner-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.partner-content {
    padding-right: 20px;
}

.partner-content h2 {
    font-size: 40px;
    margin-bottom: 8px;
}

.partner-title {
    font-size: 15px;
    color: var(--gold);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 28px;
    font-family: 'DM Sans', sans-serif;
}

.partner-content p {
    font-size: 16px;
    color: var(--text-medium);
    line-height: 1.9;
    margin-bottom: 18px;
}

.partner-signature {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-style: italic;
    color: var(--primary);
    margin-top: 32px;
    position: relative;
    padding-left: 30px;
}

.partner-signature::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 1px;
    background: var(--gold);
}

/* Areas Section */
.areas {
    background: var(--white);
}

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

.area-card {
    background: var(--white);
    border: 1px solid rgba(154, 123, 92, 0.12);
    border-radius: 2px;
    padding: 36px 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.area-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(10, 46, 66, 0.08);
    border-color: rgba(154, 123, 92, 0.2);
}

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

.area-icon {
    width: 52px;
    height: 52px;
    background: var(--secondary);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: all 0.3s ease;
}

.area-card:hover .area-icon {
    background: var(--gold);
}

.area-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
    transition: color 0.3s ease;
}

.area-card:hover .area-icon svg {
    color: var(--white);
}

.area-card h3 {
    font-size: 16px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    line-height: 1.5;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.area-card:hover h3 {
    color: var(--primary);
}

/* Differentials Section */
.differentials {
    background: linear-gradient(155deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary-lighter) 100%);
    position: relative;
    overflow: hidden;
}

.differentials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 10% 90%, rgba(154, 123, 92, 0.12) 0%, transparent 40%),
        radial-gradient(ellipse at 90% 10%, rgba(201, 168, 124, 0.08) 0%, transparent 40%);
}

.differentials .section-title,
.differentials .section-subtitle {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.differentials .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.differentials .section-title::after {
    background: linear-gradient(90deg, var(--accent), rgba(201, 168, 124, 0.5));
}

.differentials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    position: relative;
    z-index: 1;
}

.differential-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.4s ease;
}

.differential-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
    border-color: rgba(201, 168, 124, 0.2);
}

.differential-icon {
    width: 56px;
    height: 56px;
    background: rgba(154, 123, 92, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: all 0.3s ease;
}

.differential-card:hover .differential-icon {
    background: var(--gold);
    transform: scale(1.1);
}

.differential-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
    transition: color 0.3s ease;
}

.differential-card:hover .differential-icon svg {
    color: var(--white);
}

.differential-card h3 {
    font-size: 18px;
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    margin-bottom: 14px;
}

.differential-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-weight: 400;
}

/* Mission Section */
.mission {
    background: var(--secondary);
    position: relative;
}

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

.mission-card {
    background: var(--white);
    border-radius: 2px;
    padding: 48px 36px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.mission-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(10, 46, 66, 0.1);
    border-color: rgba(154, 123, 92, 0.15);
}

.mission-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
}

.mission-icon svg {
    width: 30px;
    height: 30px;
    color: var(--white);
}

.mission-card h3 {
    font-size: 22px;
    margin-bottom: 18px;
}

.mission-card p {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.75;
    font-weight: 400;
}

/* Contact Section */
.contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
}

.contact-info h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.contact-info > p {
    font-size: 16px;
    color: var(--text-medium);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 36px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.contact-icon {
    width: 52px;
    height: 52px;
    background: var(--secondary);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: var(--gold);
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    transition: color 0.3s ease;
}

.contact-item:hover .contact-icon svg {
    color: var(--white);
}

.contact-details h4 {
    font-size: 13px;
    color: var(--text-light);
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.contact-details p {
    font-size: 16px;
    color: var(--primary);
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
}

.contact-details a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

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

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

.social-link {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gold);
    transform: translateY(-3px);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

/* Form */
.contact-form {
    background: var(--secondary);
    border-radius: 2px;
    padding: 48px;
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px 2px 0 0;
}

.contact-form h3 {
    font-size: 26px;
    margin-bottom: 32px;
}

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

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

.form-group label span {
    color: #c53030;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(154, 123, 92, 0.2);
    border-radius: 2px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: var(--text-dark);
    background: var(--white);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(154, 123, 92, 0.1);
}

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
}

.form-submit {
    width: 100%;
    padding: 18px;
    font-size: 14px;
    margin-top: 8px;
}

.form-notice {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 20px;
    text-align: center;
}

/* Footer */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 50px 0;
    text-align: center;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(154, 123, 92, 0.3), transparent);
}

footer p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
}

.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
}

.footer-logo span {
    color: var(--accent);
}

/* Fixed WhatsApp */
.fixed-whatsapp {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 999;
}

.fixed-whatsapp a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #20b858);
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: all 0.3s ease;
}

.fixed-whatsapp a:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
}

.fixed-whatsapp svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

/* Responsive */
@media (max-width: 1200px) {
    .container {
        padding: 0 32px;
    }
    
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .section-title {
        font-size: 34px;
    }

    nav {
        display: none;
    }

    .hero h1 {
        font-size: 42px;
    }

    .about-grid,
    .partner-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-content,
    .partner-content {
        padding: 0;
    }

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

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

    .form-row {
        grid-template-columns: 1fr;
    }
}

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

    .hero h1 {
        font-size: 34px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .about-image-main,
    .partner-image-main {
        height: 400px;
    }

    .areas-grid,
    .differentials-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 32px 24px;
    }

    .fixed-whatsapp a {
        width: 54px;
        height: 54px;
    }
}

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

.animate {
    animation: fadeInUp 0.8s ease forwards;
}
