:root {
    --black: #000000;
    --gold: #c9a24d;
    --white: #f7f7f7;
    --gray: #eaeaea;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    background: var(--white);
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.header {
    background: var(--black);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo img {
    height: 75px;
}

.nav a {
    color: white;
    margin-left: 20px;
    text-decoration: none;
}

.btn-outline {
    border: 1px solid var(--gold);
    padding: 6px 14px;
    border-radius: 4px;
}

.hero {
    background: var(--black);
    color: white;
    padding: 120px 0;
    text-align: center;
}

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

.hero p {
    max-width: 600px;
    margin: auto;
    color: #ccc;
}

.hero-buttons {
    margin-top: 30px;
}

.btn-primary {
    background: var(--gold);
    color: var(--black);
    padding: 12px 20px;
    margin: 5px;
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
}

.btn-secondary {
    border: 1px solid white;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
}

.section {
    padding: 80px 0;
}

.light { background: var(--white); }
.gray { background: var(--gray); }
.dark { background: var(--black); color: white; }

.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.features div,
.card {
    border: 1px solid var(--gold);
    padding: 20px;
    margin-bottom: 10px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.center {
    text-align: center;
}

.list {
    list-style: none;
    max-width: 600px;
    margin: auto;
}

.list li {
    padding: 10px 0;
}

.cta {
    background: var(--gold);
    text-align: center;
    padding: 60px 20px;
}

.form input,
.form textarea {
    width: 100%;
    margin-bottom: 15px;
    padding: 10px;
}

.footer {
    background: var(--black);
    color: #aaa;
    text-align: center;
    padding: 20px;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--gold);
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
}
.photo-frame {
    border: 2px solid var(--gold);
    padding: 10px;
    max-width: 320px;
}

.photo-frame img {
    width: 100%;
    display: block;
    filter: grayscale(100%);
}

.hero-video {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-video video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}
.header {
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    z-index: 999;
}

.whatsapp-float img {
    width: 32px;
}
.section {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

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

.hero-center {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.hero-logo {
    max-width: 260px;
    margin-bottom: 30px;
}
.bufete-highlight {
    background: linear-gradient(135deg, #0e0e0e, #1a1a1a);
    color: white;
}

.bufete-text h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.subtitle {
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 20px;
}

.bufete-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.bufete-card {
    border: 1px solid var(--gold);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.bufete-card:hover {
    transform: translateY(-5px);
}
.footer {
    background: var(--black);
    color: #ccc;
    padding: 40px 0 20px;
}

.footer h3 {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #888;
}
.contact-info h3 {
    margin-bottom: 20px;
    color: var(--gold);
}

.map-box {
    margin-top: 20px;
    border: 1px solid var(--gold);
    padding: 5px;
    height: 180px;
}

.map-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
.lang-switch {
    color: white;
    font-size: 14px;
}

.lang-switch a {
    color: #ccc;
    text-decoration: none;
}

.lang-switch a.active {
    color: var(--gold);
    font-weight: bold;
}
.lang-switch {
    display: flex;
    gap: 10px;
    align-items: center;
}

.lang-flag {
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s, transform 0.3s;
}

.lang-flag.active {
    opacity: 1;
    transform: scale(1.1);
}
