/* ==========================================================================
   R & CB Advogados - Design System
   ========================================================================== */

/* ==========================================================================
   CSS Variables - Design Tokens
   ========================================================================== */
:root {
    /* Color Palette - Premium Lawyer Style */
    --primary-black: #1A1A1A;
    /* deeper charcoal for seriousness */
    --accent-gold: #8B6914;
    /* muted gold */
    --accent-gold-light: #C0A060;
    --accent-gold-dark: #8E6F3E;
    --ivory: #F9F8F6;
    --white: #FFFFFF;
    --gray-light: #E5E5E5;
    --gray-dark: #333333;
    --text-muted: #666666;

    /* Shadows & Effects */
    --luxury-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
    --gold-gradient: linear-gradient(135deg, #B8860B 0%, #D4B67E 50%, #8B6914 100%);
    --glass-bg: rgba(248, 246, 240, 0.98);
    --glass-border: rgba(184, 134, 11, 0.3);

    /* Typography */
    --font-primary: 'Playfair Display', serif;
    --font-serif: 'Playfair Display', serif;

    /* Transitions - Smooth Easing */
    --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-smooth: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

/* Smooth scrolling for all elements */
* {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--gray-dark);
    background: var(--white) url('../assets/textures/law_paper_texture.png') repeat;
    /* paper texture background */
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    letter-spacing: 0.05em;
}

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

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

/* Global smooth transitions for interactive elements */
button,
input,
select,
textarea {
    transition: all var(--transition-fast);
}

/* Smooth transform transitions */
.smooth-transform {
    transition: transform var(--transition-smooth), opacity var(--transition-smooth);
}

/* ==========================================================================
   Layout Components
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ==========================================================================
   Header
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--transition-normal);
    padding: 24px 0;
    background: transparent;
}

header.scrolled {
    background: #151515;
    /* Deep dark charcoal */
    padding: 16px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

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

.logo img {
    height: 60px;
    filter: brightness(0) invert(1);
    /* Always white logo on dark header */
    transition: all var(--transition-normal);
}

header.scrolled .logo img {
    height: 50px;
    filter: brightness(0) invert(1);
}

/* Navigation */
nav {
    display: flex;
    gap: 28px;
}

nav a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-fast);
    position: relative;
    padding: 5px 0;
}

header.scrolled nav a {
    color: rgba(255, 255, 255, 0.8);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: width var(--transition-fast);
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

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

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    gap: 6px;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--white);
    transition: all var(--transition-fast);
    border-radius: 2px;
}

header.scrolled .menu-toggle span {
    background: var(--accent-gold);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    z-index: 999;
    transition: right var(--transition-fast);
    padding: 100px 40px 40px;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav a {
    display: block;
    color: var(--gray-dark);
    text-decoration: none;
    padding: 15px 0;
    border-bottom: 1px solid rgba(184, 134, 11, 0.1);
    font-weight: 500;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.mobile-nav a:hover {
    color: var(--accent-gold);
    padding-left: 10px;
}

/* Mobile Menu Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 100vh;
    background: linear-gradient(to bottom, #151515, #1A1A1A);
    /* Elegant dark gradient */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    padding: 120px 20px 80px;
    overflow: hidden;
}

/* Watermark Crest Effect */
.hero::before {
    content: '';
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: url('../assets/images/medalhao.webp') center/contain no-repeat;
    opacity: 0.05;
    /* Very subtle watermark */
    pointer-events: none;
    filter: grayscale(1) invert(1);
    z-index: 0;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-image {
    margin-bottom: 28px;
}

.hero-image img {
    max-width: 160px;
    /* Reduced for elegance */
    height: auto;
    filter: none;
    margin-bottom: 10px;
}

.hero-pretitle {
    font-size: 0.85rem;
    letter-spacing: 4px;
    /* More spacing = more premium */
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 20px;
    font-family: var(--font-primary);
}

.hero-title {
    font-family: var(--font-serif);
    /* Explicit serif for title */
    font-size: 3.5rem;
    font-weight: 400;
    /* Lighter weight for elegance */
    line-height: 1.2;
    margin-bottom: 30px;
    text-shadow: none;
    /* Clean look */
    color: var(--white);
}

.hero-description {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.95;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--gold-gradient);
    color: var(--white);
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all var(--transition-normal);
    box-shadow: 0 8px 25px rgba(184, 134, 11, 0.3);
    position: relative;
    overflow: visible;
    white-space: nowrap;
    margin-bottom: 50px;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(184, 134, 11, 0.4);
}

/* ==========================================================================
   Section Styles
   ========================================================================== */
.section-header,
.luxury-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-pretitle {
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 12px;
}

.section-title,
.luxury-section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--primary-black);
}

.section-description,
.luxury-section-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ==========================================================================
   About Section
   ========================================================================== */
/* ==========================================================================
   About Section
   ========================================================================== */
.about {
    padding: 100px 0;
    background: #111111;
    /* Even darker for contrast */
    position: relative;
    overflow: hidden;
}

/* Subtle gold line separator */
.about::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    opacity: 0.3;
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    /* More space for text */
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-family: var(--font-serif);
    font-size: 3rem;
    margin-bottom: 30px;
    color: var(--white);
    position: relative;
    display: inline-block;
}

.about-text h2::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-gold);
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 24px;
    font-weight: 300;
}

.about-image {
    position: relative;
    display: flex;
    justify-content: center;
}

/* Stylized image container */
.about-image img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    filter: drop-shadow(0 0 30px rgba(184, 134, 11, 0.15));
    /* Gold glow */
    opacity: 0.9;
}

/* Decorative background element behind image */
.about-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(184, 134, 11, 0.08) 0%, transparent 70%);
    z-index: -1;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
/* ==========================================================================
   Services Section (Luxury Style)
   ========================================================================== */
.services-luxury {
    padding: 80px 0;
    background: var(--ivory);
    position: relative;
}

.services-luxury .section-title {
    color: var(--primary-black);
}

.services-luxury .section-description {
    color: var(--text-muted);
}

.services-grid-luxury {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-luxury-card {
    background: var(--white);
    padding: 45px 38px;
    border: 1px solid var(--glass-border);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-40px);
}

.service-luxury-card.animate {
    opacity: 1;
    transform: translateX(0);
}

.service-luxury-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-luxury-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(184,134,11,0.05) 0%, rgba(151,27,47,0.08) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.service-luxury-card:hover::after {
    opacity: 1;
}

.service-luxury-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--luxury-shadow);
    border-color: transparent;
}

.service-luxury-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
    position: relative;
    z-index: 2;
}

.service-luxury-icon {
    width: 75px;
    height: 75px;
    background: var(--gold-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 25px rgba(184,134,11,0.2);
    flex-shrink: 0;
}

.service-luxury-card:hover .service-luxury-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(184,134,11,0.4);
}

.service-title-area h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--primary-black);
    transition: color 0.3s ease;
}

.service-luxury-card:hover .service-title-area h4 {
    color: var(--accent-gold-dark);
}

.service-category {
    font-size: 0.85rem;
    color: var(--accent-gold);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.service-luxury-description {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
}

.service-features {
    margin-top: 24px;
    position: relative;
    z-index: 2;
}

.service-features ul {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 8px 0;
    padding-left: 22px;
    position: relative;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
    margin: 4px 0;
}

.service-features li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-size: 11px;
}

.service-features li:hover {
    background: rgba(184, 134, 11, 0.1);
    transform: translateX(8px);
    color: var(--accent-gold);
    padding-left: 26px;
}

/* ==========================================================================
   Text/Divider Section (Dark)
   ========================================================================== */
.text-section {
    padding: 100px 0;
    background: #151515;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.text-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    font-weight: 300;
}

/* ==========================================================================
   Team Section (Dark)
   ========================================================================== */
.team {
    padding: 100px 0;
    background: #111111;
}

.team .section-title {
    color: var(--white);
}

.team .section-description {
    color: rgba(255, 255, 255, 0.7);
}

.team-card {
    background: #1A1A1A;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.team-info h5 {
    color: var(--white);
}

.team-info p {
    color: rgba(255, 255, 255, 0.6);
}

.team-card:hover {
    border-color: var(--accent-gold-dark);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.team-card {
    background: var(--ivory);
    border: 1px solid var(--gray-light);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    min-height: 680px;
    height: auto;
    perspective: 1500px;
    transition: box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.team-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border-color: var(--accent-gold-light);
}

.team-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 580px;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.team-card.flipped .team-card-inner {
    transform: rotateY(180deg);
}

.team-card-front,
.team-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    min-height: 580px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.team-card-front {
    display: flex;
    flex-direction: column;
}

.team-card-back {
    transform: rotateY(180deg);
    background: linear-gradient(180deg, var(--ivory) 0%, var(--white) 100%);
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
}

.team-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: linear-gradient(180deg, var(--ivory) 0%, rgba(249, 248, 246, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.team-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to top, var(--ivory), transparent);
    pointer-events: none;
    z-index: 1;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
    transition: transform var(--transition-slow);
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-info {
    padding: 25px 30px 30px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.team-position {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    display: block;
}

.team-info h5 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-black);
    line-height: 1.3;
}

.team-info p {
    color: var(--text-muted);
    line-height: 1.75;
    font-size: 0.92rem;
    flex: 1;
}

/* Click hint */
.team-card::before {
    content: 'Clique para ver mais';
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    transition: opacity var(--transition-fast);
    z-index: 10;
}

.team-card:hover::before {
    opacity: 0.8;
}

.team-back-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--accent-gold-light);
}

.team-back-header h5 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--primary-black);
}

.team-back-header .team-position {
    margin-bottom: 0;
}

.team-back-content {
    flex: 1;
}

.team-back-content h6 {
    font-size: 0.85rem;
    color: var(--accent-gold);
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.team-back-content ul {
    list-style: none;
    text-align: left;
}

.team-back-content ul li {
    padding: 12px 0;
    color: var(--gray-dark);
    border-bottom: 1px solid rgba(184, 134, 11, 0.15);
    position: relative;
    padding-left: 25px;
    font-size: 0.95rem;
    line-height: 1.6;
    transition: all var(--transition-fast);
}

.team-back-content ul li:hover {
    padding-left: 30px;
    color: var(--primary-black);
}

.team-back-content ul li:last-child {
    border-bottom: none;
}

.team-back-content ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
    transition: transform var(--transition-fast);
}

.team-back-content ul li:hover::before {
    transform: translateX(3px);
}

.btn-back {
    background: var(--gold-gradient);
    color: var(--white);
    border: none;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    margin-top: 25px;
    align-self: center;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.25);
}

.btn-back:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(184, 134, 11, 0.4);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(54, 69, 79, 0.9) 0%, rgba(54, 69, 79, 0.95) 100%);
    text-align: center;
    color: var(--white);
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 22px;
}

.cta p {
    font-size: 1rem;
    margin-bottom: 38px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    line-height: 1.7;
}

.cta .btn-primary {
    margin-bottom: 0;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
/* ==========================================================================
   Contact Section - Location (Site Atual Style)
   ========================================================================== */
.contact-location {
    padding: 80px 0;
    background: var(--ivory);
    position: relative;
}

.location-header {
    text-align: center;
    margin-bottom: 50px;
}

.location-title {
    font-size: 2.5rem;
    color: var(--primary-black);
    font-family: var(--font-serif);
    font-weight: 600;
    margin: 0;
}

.location-map-wrapper {
    margin-bottom: 40px;
}

.location-map-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--luxury-shadow);
    border: 1px solid var(--glass-border);
}

.location-map-container iframe {
    width: 100%;
    height: 500px;
    border: none;
    display: block;
}

.location-address {
    text-align: center;
}

.address-text {
    font-size: 1.5rem;
    color: var(--primary-black);
    font-family: var(--font-serif);
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
}

/* ==========================================================================
   Contact Section (Dark) - Legacy
   ========================================================================== */
.contact {
    padding: 100px 0;
    background: #111111;
    /* Consistent dark background */
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact .section-title {
    color: var(--white);
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--white);
    font-family: var(--font-serif);
}

.contact-info h4 {
    color: var(--accent-gold);
    margin-top: 30px;
}

.contact-info p,
.contact-info a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
}

.contact-info a:hover {
    color: var(--white);
}

.contact-social a {
    background: rgba(184, 134, 11, 0.1);
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
}

.contact-social a:hover {
    background: var(--accent-gold);
    color: #000;
    box-shadow: 0 0 20px rgba(184, 134, 11, 0.4);
}

/* Dark Map Styling (Filter) */
.map-container {
    filter: grayscale(100%) invert(92%) contrast(83%);
    /* Turning Google Maps dark */
    opacity: 0.8;
    border: 1px solid var(--accent-gold);
    transition: all 0.5s;
}

.map-container:hover {
    filter: none;
    /* Show real map colors on hover */
    opacity: 1;
}

/* ==========================================================================
   Footer (Dark)
   ========================================================================== */
footer {
    background: #000000;
    /* Pitch black for footer */
    border-top: 1px solid rgba(184, 134, 11, 0.2);
    padding: 80px 0 30px;
}

.footer-section h5 {
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.footer-section h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 1px;
    background: var(--accent-gold);
}

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



.footer-section a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-light);
    font-size: 0.9rem;
}

/* ==========================================================================
   Modal Styles
   ========================================================================== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    backdrop-filter: none;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 15px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
    visibility: visible;
    background: transparent;
    backdrop-filter: none;
}

.modal-content {
    background: var(--white);
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.8) translateY(30px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25);
}

.modal-overlay.active .modal-content {
    animation: modalSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.modal-header {
    animation: fadeInDown 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
}

.modal-body {
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.form-actions {
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
    margin-top: 18px;
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background: #111111;
    position: relative;
}

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

.contact-info-side {
    color: var(--white);
}

.contact-info-title {
    font-size: 2.2rem;
    font-family: var(--font-serif);
    color: var(--white);
    margin-bottom: 24px;
    font-weight: 600;
    line-height: 1.3;
}

.contact-info-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 45px;
    line-height: 1.8;
}

.contact-channels-box {
    background: rgba(184, 134, 11, 0.05);
    border: 1px solid var(--accent-gold);
    border-radius: 8px;
    padding: 35px;
}

.channels-title {
    font-size: 1.2rem;
    color: var(--accent-gold);
    margin-bottom: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.channels-intro {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
    line-height: 1.7;
}

.channel-item {
    margin-bottom: 22px;
}

.channel-item:last-child {
    margin-bottom: 0;
}

.channel-label {
    font-size: 0.9rem;
    color: var(--accent-gold);
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.channel-value {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    line-height: 1.6;
    font-weight: 400;
}

.channel-value a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s;
}

.channel-value a:hover {
    color: var(--accent-gold);
}

.contact-social-icons {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.contact-social-icons a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    background: transparent;
    transition: all 0.3s;
    text-decoration: none;
}

.contact-social-icons a:hover {
    background: var(--accent-gold);
    color: var(--primary-black);
    transform: translateY(-2px);
}

.contact-form-side {
    position: sticky;
    top: 100px;
}

.contact-form-card {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--luxury-shadow);
}

.form-title {
    font-size: 1.2rem;
    color: var(--gray-dark);
    margin-bottom: 28px;
    font-weight: 500;
    line-height: 1.6;
}

.contact-form-inline .form-group {
    margin-bottom: 16px;
}

.contact-form-inline .form-group label {
    font-size: 0.9rem;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--gray-dark);
}

.contact-form-inline .form-group input,
.contact-form-inline .form-group select,
.contact-form-inline .form-group textarea {
    padding: 12px 14px;
    font-size: 0.95rem;
    border: 1.5px solid var(--gray-light);
}

.contact-form-inline .form-group textarea {
    min-height: 90px;
}

.btn-form-submit {
    width: 100%;
    background: var(--gold-gradient);
    color: var(--white);
    border: none;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 8px;
}

.btn-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(184, 134, 11, 0.4);
}

.modal-header {
    background: var(--gold-gradient);
    color: var(--white);
    padding: 18px 20px;
    border-radius: 12px 12px 0 0;
    position: relative;
}

.modal-header h2 {
    font-size: 1.3rem;
    margin: 0;
    color: var(--white);
    font-weight: 600;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    line-height: 1;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-body {
    padding: 24px 20px;
}

/* ==========================================================================
   Form Styles
   ========================================================================== */
.form-group {
    margin-bottom: 16px;
}

.form-group:last-of-type {
    margin-bottom: 0;
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid var(--gray-light);
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    background: var(--white);
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 2px rgba(184, 134, 11, 0.08);
}

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

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}

.btn-submit {
    flex: 1;
    background: var(--gold-gradient);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(184, 134, 11, 0.35);
}

.btn-cancel {
    background: var(--gray-light);
    color: var(--gray-dark);
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-cancel:hover {
    background: var(--text-muted);
    color: var(--white);
}

.required {
    color: #e74c3c;
    font-size: 0.9em;
}

/* ==========================================================================
   Back to Top Button
   ========================================================================== */
.btn-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gold-gradient);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    box-shadow: 0 5px 20px rgba(184, 134, 11, 0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-top.visible {
    opacity: 1;
    visibility: visible;
}

.btn-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(184, 134, 11, 0.4);
}

/* ==========================================================================
   Service Modal
   ========================================================================== */
.service-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    z-index: 10001;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                backdrop-filter 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
}

.service-modal-overlay.active {
    display: flex;
    opacity: 1;
    visibility: visible;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.service-modal-content {
    background: var(--ivory);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 8px;
    position: relative;
    transform: scale(0.8) translateY(30px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: var(--luxury-shadow);
    border: 1px solid var(--glass-border);
}

.service-modal-overlay.active .service-modal-content {
    animation: modalSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.service-modal-header {
    animation: fadeInDown 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
}

.service-modal-body {
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.service-modal-actions {
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

.service-modal-header {
    padding: 25px 30px;
    border-bottom: 1px solid var(--gray-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
}

.service-modal-header h3 {
    font-size: 1.8rem;
    color: var(--primary-black);
    margin: 0;
}

.service-modal-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--accent-gold);
    cursor: pointer;
    line-height: 1;
    transition: transform var(--transition-fast);
}

.service-modal-close:hover {
    transform: rotate(90deg);
}

/* Service Detail Modal */
.service-detail-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    z-index: 10002;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                backdrop-filter 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
}

.service-detail-modal-overlay.active {
    display: flex;
    opacity: 1;
    visibility: visible;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.service-detail-modal-content {
    background: var(--white);
    width: 90%;
    max-width: 650px;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 12px;
    position: relative;
    transform: scale(0.8) translateY(30px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
}

.service-detail-modal-overlay.active .service-detail-modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Animação de entrada suave */
@keyframes modalSlideIn {
    0% {
        transform: scale(0.8) translateY(30px);
        opacity: 0;
    }
    60% {
        transform: scale(1.02) translateY(-5px);
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.service-detail-modal-overlay.active .service-detail-modal-content {
    animation: modalSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Animação de entrada para o header */
.service-detail-modal-header {
    animation: fadeInDown 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
}

/* Animação de entrada para o body */
.service-detail-modal-body {
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

/* Animação de entrada para os botões */
.service-detail-modal-actions {
    animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modalSlideOut {
    from {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
    to {
        transform: scale(0.8) translateY(30px);
        opacity: 0;
    }
}

.service-detail-modal-header {
    padding: 28px 32px;
    border-bottom: 1px solid var(--gray-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--gold-gradient);
    border-radius: 12px 12px 0 0;
}

.service-detail-modal-header h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin: 0;
    font-family: var(--font-serif);
    font-weight: 600;
}

.service-detail-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: all var(--transition-fast);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-detail-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.service-detail-modal-body {
    padding: 32px;
}

.service-detail-modal-body p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin: 0;
}

.service-detail-modal-actions {
    padding: 24px 32px;
    border-top: 1px solid var(--gray-light);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    background: var(--ivory);
    border-radius: 0 0 12px 12px;
}

.service-detail-modal-actions .btn-primary {
    padding: 12px 28px;
    font-size: 0.9rem;
    margin: 0;
}

.service-detail-modal-actions .btn-secondary {
    background: var(--gray-light);
    color: var(--gray-dark);
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s;
}

.service-detail-modal-actions .btn-secondary:hover {
    background: var(--text-muted);
    color: var(--white);
}

@media (max-width: 768px) {
    .service-detail-modal-content {
        width: 95%;
        max-width: 100%;
    }

    .service-detail-modal-header {
        padding: 22px 24px;
    }

    .service-detail-modal-header h3 {
        font-size: 1.5rem;
    }

    .service-detail-modal-body {
        padding: 24px;
    }

    .service-detail-modal-body p {
        font-size: 0.95rem;
    }

    .service-detail-modal-actions {
        padding: 20px 24px;
        flex-direction: column;
    }

    .service-detail-modal-actions .btn-primary,
    .service-detail-modal-actions .btn-secondary {
        width: 100%;
    }
}

.service-modal-body {
    padding: 30px;
}

.service-modal-body p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--gray-dark);
    line-height: 1.7;
}

.service-modal-body ul {
    list-style: none;
    margin-bottom: 0;
}

.service-modal-body li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    display: flex;
    align-items: center;
    color: var(--gray-dark);
    font-size: 1rem;
}

.service-modal-body li::before {
    content: '\f0da';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent-gold);
    margin-right: 15px;
}

.service-modal-actions {
    padding: 20px 30px;
    background: var(--white);
    border-top: 1px solid var(--gray-light);
    text-align: right;
}

/* ==========================================================================
   AOS Animations Enhancement
   ========================================================================== */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* Large screens */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 25px;
    }
}

/* Medium screens */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-image img {
        max-width: 180px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

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

    .services-grid-luxury {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .about-text h2 {
        font-size: 2.2rem;
    }

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

/* Tablets and small screens */
@media (max-width: 768px) {
    .container {
        padding: 0 18px;
    }

    nav {
        display: none !important;
    }

    .menu-toggle {
        display: flex !important;
    }

    .mobile-nav {
        display: block !important;
    }

    /* Garantir que todos os elementos sejam visíveis */
    .hero-content,
    .about-content,
    .services-grid-luxury,
    .team-grid,
    .contact-form-grid,
    .location-header,
    .location-map-wrapper,
    .location-address,
    .section-header,
    .luxury-section-header {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    header {
        padding: 14px 0;
    }

    header.scrolled {
        padding: 10px 0;
    }

    .logo img {
        height: 50px;
    }

    header.scrolled .logo img {
        height: 42px;
    }

    .hero {
        padding: 80px 18px 40px;
        min-height: 85vh;
        margin-bottom: 40px;
    }

    .hero-image {
        margin-bottom: 20px;
    }

    .hero-image img {
        max-width: 150px;
    }

    .hero-pretitle {
        font-size: 0.7rem;
        letter-spacing: 2px;
        margin-bottom: 12px;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 16px;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }

    .btn-primary {
        padding: 12px 28px;
        font-size: 0.75rem;
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-pretitle {
        font-size: 0.7rem;
        letter-spacing: 2px;
    }

    .section-description {
        font-size: 0.9rem;
    }

    .about,
    .services,
    .services-luxury,
    .team,
    .contact,
    .contact-location,
    .contact-form-section,
    .text-section,
    .cta {
        padding: 50px 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

    .about-image img {
        max-width: 100%;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-side {
        position: static;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .location-title {
        font-size: 2rem;
    }

    .location-map-container iframe {
        height: 400px;
    }

    .address-text {
        font-size: 1.2rem;
    }

    .section-header {
        margin-bottom: 35px;
    }

    .services-grid-luxury {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .service-luxury-card {
        padding: 32px 26px;
    }

    .service-luxury-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .service-title-area h4 {
        font-size: 1.3rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 28px 22px;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 16px;
    }

    .service-card h4 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    .service-card p {
        font-size: 0.85rem;
    }

    .about-text h2 {
        font-size: 1.8rem;
        margin-bottom: 18px;
    }

    .about-text p {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }

    .team-card {
        height: auto;
        min-height: auto;
    }

    .team-image {
        height: 500px;
        flex-shrink: 0;
    }

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

    .team-info {
        padding: 12px 18px;
        flex-shrink: 0;
    }

    .team-info h5 {
        font-size: 1.2rem;
        margin-bottom: 6px;
    }

    .team-info p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .team-position {
        font-size: 0.7rem;
        margin-bottom: 5px;
    }

    .team-position {
        font-size: 0.75rem;
    }

    .team-back-header h5 {
        font-size: 1.1rem;
    }

    .team-card-back {
        padding: 22px;
    }

    .cta h2 {
        font-size: 1.8rem;
        margin-bottom: 18px;
    }

    .cta p {
        font-size: 0.9rem;
        margin-bottom: 28px;
    }

    .contact-info h3 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }

    .contact-info h4 {
        font-size: 0.95rem;
        margin-top: 20px;
    }

    .contact-info p {
        font-size: 0.9rem;
    }

    .map-container {
        height: 300px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .footer-section h5 {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .footer-section p,
    .footer-section a {
        font-size: 0.85rem;
    }

    .text-content p {
        font-size: 0.9rem;
    }

    /* Modal responsive */
    .modal-content {
        max-width: 95%;
        width: 95%;
        margin: 10px;
        max-height: 95vh;
    }

    .modal-header {
        padding: 14px 16px;
    }

    .modal-header h2 {
        font-size: 1.1rem;
    }

    .modal-close {
        width: 28px;
        height: 28px;
        font-size: 1.2rem;
        top: 10px;
        right: 10px;
    }

    .modal-body {
        padding: 18px 16px;
    }

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

    .form-group label {
        font-size: 0.8rem;
        margin-bottom: 5px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .form-group textarea {
        min-height: 80px;
    }

    .form-actions {
        flex-direction: column;
        gap: 10px;
        margin-top: 18px;
    }

    .btn-submit,
    .btn-cancel {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .btn-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 70px 15px 30px;
        min-height: auto;
    }

    .hero-title {
        font-size: 1.7rem;
        line-height: 1.3;
    }

    .hero-image img {
        max-width: 120px;
    }

    .hero-description {
        font-size: 0.85rem;
    }

    .btn-primary {
        font-size: 0.7rem;
        padding: 10px 24px;
        white-space: normal;
        text-align: center;
    }

    .section-title {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .section-pretitle {
        font-size: 0.65rem;
    }

    .section-description {
        font-size: 0.85rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-text h2 {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .about-text p {
        font-size: 0.85rem;
    }

    .cta h2 {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .contact-info h3 {
        font-size: 1.4rem;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-channels-box {
        padding: 20px 15px;
    }

    .contact-form-card {
        padding: 25px 18px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .team-card {
        height: auto;
        min-height: auto;
    }

    .team-image {
        height: 480px;
        flex-shrink: 0;
    }

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

    .team-info {
        padding: 10px 15px;
        flex-shrink: 0;
    }

    .team-info h5 {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }

    .team-info p {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .team-position {
        font-size: 0.65rem;
        margin-bottom: 4px;
    }

    .team-position {
        font-size: 0.7rem;
        margin-bottom: 6px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-social a {
        width: 38px;
        height: 38px;
    }

    .location-title {
        font-size: 1.5rem;
    }

    .location-map-container iframe {
        height: 300px;
    }

    .address-text {
        font-size: 0.9rem;
        padding: 0 10px;
        line-height: 1.4;
    }

    .service-luxury-card {
        padding: 24px 20px;
    }

    .service-luxury-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .service-title-area h4 {
        font-size: 1.1rem;
    }

    .service-luxury-description {
        font-size: 0.85rem;
    }

    .service-features ul li {
        font-size: 0.8rem;
    }

    .contact-info-title {
        font-size: 1.5rem;
        margin-bottom: 16px;
        line-height: 1.3;
    }

    .contact-info-description {
        font-size: 0.9rem;
        margin-bottom: 28px;
        line-height: 1.7;
    }

    .contact-channels-box {
        padding: 22px 18px;
    }

    .channels-title {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .channels-intro {
        font-size: 0.88rem;
        margin-bottom: 20px;
        line-height: 1.6;
    }

    .channel-item {
        margin-bottom: 18px;
    }

    .channel-label {
        font-size: 0.82rem;
        margin-bottom: 5px;
    }

    .channel-value {
        font-size: 0.92rem;
        line-height: 1.5;
    }

    .contact-social-icons {
        gap: 10px;
        margin-top: 6px;
    }

    .contact-social-icons a {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .contact-form-card {
        padding: 22px 18px;
    }

    .form-title {
        font-size: 0.95rem;
        margin-bottom: 18px;
        line-height: 1.5;
    }

    .contact-form-inline .form-group {
        margin-bottom: 16px;
    }

    .contact-form-inline .form-group label {
        font-size: 0.82rem;
        margin-bottom: 6px;
    }

    .contact-form-inline .form-group input,
    .contact-form-inline .form-group select,
    .contact-form-inline .form-group textarea {
        padding: 10px 11px;
        font-size: 0.88rem;
    }

    .contact-form-inline .form-group textarea {
        min-height: 75px;
    }

    .btn-form-submit {
        padding: 12px 20px;
        font-size: 0.85rem;
        margin-top: 6px;
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */
@media print {

    header,
    .btn-primary,
    .btn-top,
    .modal-overlay,
    .mobile-nav {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .hero {
        min-height: auto;
        padding: 40px 0;
        background: none;
        color: black;
    }
}

/* ==========================================================================
   Custom Animations
   ========================================================================== */

/* Ripple effect for buttons */
@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }

    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* Fade in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Slide up animation */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide in from left */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slide in from right */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scale in animation */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Pulse animation for highlights */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Float animation for subtle movement */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Page entrance animation */
body {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

body.loaded {
    opacity: 1;
}

/* Enhance modal animations */
.modal-overlay.active .modal-content,
.service-modal-overlay.active .service-modal-content {
    animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Smooth focus states */
*:focus {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
    transition: outline-offset 0.2s ease;
}

*:focus:not(:focus-visible) {
    outline: none;
}

*:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 4px;
}

/* Selection styling */
::selection {
    background: var(--accent-gold);
    color: var(--white);
}

::-moz-selection {
    background: var(--accent-gold);
    color: var(--white);
}

/* Smooth scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--ivory);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-gold-light);
    border-radius: 5px;
    transition: background var(--transition-fast);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}