/* css/contact.css - Modern Contact Page */

/* ===== CONTACT HERO SECTION ===== */
.contact-hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--color-black);
    padding: 120px 0 80px;
    width: 100%;
}

.contact-hero .container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    position: relative;
    z-index: 2;
}

.contact-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 40%, rgba(255, 59, 59, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(255, 59, 59, 0.05) 0%, transparent 50%);
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 59, 59, 0.02) 100%);
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    width: 100%;
}

.contact-hero-text {
    max-width: 600px;
    width: 100%;
}

.contact-hero-subtitle {
    font-family: var(--font-display);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-red);
    display: block;
    margin-bottom: var(--space-sm);
    opacity: 0;
    animation: fadeInUp 0.6s forwards 0.2s;
}

.contact-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
    opacity: 0;
    animation: fadeInUp 0.6s forwards 0.4s;
}

.contact-hero-description {
    margin-bottom: var(--space-lg);
    opacity: 0;
    animation: fadeInUp 0.6s forwards 0.6s;
}

.contact-hero-description .lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--color-white);
    margin-bottom: var(--space-md);
    line-height: 1.5;
}

.contact-hero-description p {
    font-size: 1.1rem;
    color: var(--color-gray-light);
    margin-bottom: var(--space-sm);
    line-height: 1.7;
}

/* ===== EXPECTATIONS CARD ===== */
.expectations-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 59, 59, 0.1);
    border-radius: 20px;
    padding: var(--space-lg);
    margin-top: var(--space-lg);
    backdrop-filter: blur(10px);
    opacity: 0;
    animation: fadeInUp 0.6s forwards 0.8s;
}

.expectations-card h3 {
    font-size: 1.3rem;
    margin-bottom: var(--space-sm);
    color: var(--color-red);
}

.expectations-card p {
    color: var(--color-gray-light);
    margin-bottom: var(--space-sm);
}

.expectations-list {
    list-style: none;
    padding: 0;
    margin: var(--space-md) 0;
}

.expectations-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    color: var(--color-white);
    font-size: 1rem;
    line-height: 1.5;
}

.expectations-list .bullet {
    color: var(--color-red);
    font-size: 1.2rem;
    line-height: 1;
}

.expectations-list span:last-child {
    flex: 1;
}

.expectations-card .note {
    color: var(--color-gray-light);
    font-style: italic;
    font-size: 0.95rem;
    padding-top: var(--space-sm);
    border-top: 1px solid rgba(255, 59, 59, 0.1);
}

/* ===== CONTACT HERO VISUAL ===== */
.contact-hero-visual {
    position: relative;
    height: 500px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-orb {
    position: relative;
    width: 300px;
    height: 300px;
}

.orb-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: var(--color-red);
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.3;
    animation: pulse 4s ease-in-out infinite;
}

.orb-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(255, 59, 59, 0.2);
    border-radius: 50%;
    animation: rotate 10s linear infinite;
}

.ring-1 {
    width: 200px;
    height: 200px;
    border-top-color: var(--color-red);
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
}

.ring-2 {
    width: 250px;
    height: 250px;
    border-top-color: transparent;
    border-right-color: var(--color-red);
    border-bottom-color: transparent;
    border-left-color: transparent;
    animation-duration: 15s;
    animation-direction: reverse;
}

.ring-3 {
    width: 300px;
    height: 300px;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: var(--color-red);
    border-left-color: transparent;
    animation-duration: 20s;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.5); opacity: 0.5; }
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.element {
    position: absolute;
    font-size: 2rem;
    opacity: 0.5;
    animation: float 6s ease-in-out infinite;
}

.e1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.e2 {
    top: 60%;
    right: 15%;
    animation-delay: 1s;
}

.e3 {
    bottom: 15%;
    left: 30%;
    animation-delay: 2s;
}

.e4 {
    top: 30%;
    right: 25%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(10px, -10px) rotate(10deg); }
}

/* ===== LOADING SCREEN - CLEAN & SPACIOUS ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-black);
    z-index: var(--z-loading);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}


@keyframes gridPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
    50% { opacity: 1; transform: scaleY(1); }
}

.loading-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    width: 90%;
}

/* ===== CIRCLE WITH CONSISTENT SPACING ===== */
.loading-center {
    position: relative;
    width: 380px;  /* Even larger for guaranteed space */
    height: 380px;
    margin: 0 auto 60px;
}

.loading-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: rotate 20s linear infinite; /* Slower, more elegant */
}

.circle-text {
    fill: var(--color-red);
    font-size: 13px; /* Slightly smaller to not overwhelm */
    letter-spacing: 5px; /* More spacing between letters */
    text-transform: uppercase;
    font-family: var(--font-display);
    opacity: 0.7; /* More subtle */
    font-weight: 400;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== PERCENTAGE WITH FIXED SPACING - EVEN AT 100% ===== */
.loading-percentage-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 3;
    
    /* Fixed size container - guarantees space */
    width: 240px;  /* Increased from 200px to accommodate "100%" */
    height: 240px; /* Increased from 200px */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
    /* Clean design - removed gradients and blurs */
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    
    /* Add padding to ensure text stays centered */
    padding: 0 10px;
    box-sizing: border-box;
}

.percentage-number {
    font-family: var(--font-display);
    font-size: 5.5rem;
    font-weight: 800;
    color: var(--color-white);
    display: block;
    line-height: 1;
    text-shadow: 0 0 20px var(--color-red);
    animation: glitch 1.2s ease-in-out infinite;
    margin-bottom: 15px;
    width: 100%;
    text-align: center;
    
    /* Ensure consistent width for all numbers */
    min-width: 3ch; /* Minimum width for "100" */
    max-width: 100%;
    
    /* Use monospace digits to prevent width shifting */
    font-variant-numeric: tabular-nums;
}

.percentage-label {
    font-family: var(--font-display);
    font-size: 0.9rem;
    letter-spacing: 8px;
    color: var(--color-gray-light);
    text-transform: uppercase;
    display: block;
    opacity: 0.8;
    width: 100%;
    text-align: center;
}

/* Specific fix for when number becomes "100" */
.percentage-number[data-value="100"] {
    font-size: 5rem; /* Slightly smaller to fit better */
    letter-spacing: -2px; /* Tighter spacing for three digits */
}

/* Alternative approach - use a fixed width wrapper for the number */
.number-wrapper {
    display: inline-block;
    min-width: 3ch;
    text-align: center;
}

@keyframes glitch {
    0%, 100% { transform: skew(0deg, 0deg); opacity: 1; }
    95% { transform: skew(5deg, 2deg); opacity: 0.9; }
    96% { transform: skew(-5deg, -2deg); opacity: 0.9; }
    97% { transform: skew(3deg, 1deg); opacity: 0.9; }
}

/* Messages */
.loading-messages {
    height: 50px;
    margin: 50px 0 30px;
    position: relative;
}

.message {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    font-family: var(--font-display);
    font-size: 1.2rem; /* Slightly smaller */
    font-weight: 500;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 4px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-shadow: none; /* Removed shadow */
}

.message.active {
    opacity: 1;
    transform: translateY(0);
}

/* Progress bar */
.loading-progress-container {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
}

.progress-bar-wrapper {
    width: 100%;
    height: 2px;
    background: rgba(255, 59, 59, 0.2);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--color-red), var(--color-red-dark));
    width: 0%;
    transition: width 0.1s linear;
    position: relative;
    box-shadow: 0 0 20px var(--color-red);
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 12px;
    height: 100%;
    background: var(--color-white);
    filter: blur(5px);
    animation: progressGlow 1s ease-in-out infinite;
}

@keyframes progressGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Tablet */
@media (max-width: 768px) {
    .loading-center {
        width: 300px;
        height: 300px;
        margin-bottom: 40px;
    }
    
    .circle-text {
        font-size: 11px;
        letter-spacing: 4px;
    }
    
    .loading-percentage-container {
        width: 200px; /* Increased from 160px */
        height: 200px; /* Increased from 160px */
    }
    
    .percentage-number {
        font-size: 4.5rem;
    }
    
    .percentage-number[data-value="100"] {
        font-size: 4rem;
    }
    
    .percentage-label {
        font-size: 0.8rem;
        letter-spacing: 6px;
    }
    
    .message {
        font-size: 1rem;
        letter-spacing: 3px;
    }
    
    .loading-progress-container {
        max-width: 280px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .loading-center {
        width: 250px;
        height: 250px;
        margin-bottom: 30px;
    }
    
    .circle-text {
        font-size: 10px;
        letter-spacing: 3px;
    }
    
    .loading-percentage-container {
        width: 180px; /* Increased from 140px */
        height: 180px; /* Increased from 140px */
    }
    
    .percentage-number {
        font-size: 3.5rem;
    }
    
    .percentage-number[data-value="100"] {
        font-size: 3rem;
    }
    
    .percentage-label {
        font-size: 0.7rem;
        letter-spacing: 5px;
    }
    
    .message {
        font-size: 0.9rem;
        letter-spacing: 2.5px;
    }
    
    .loading-messages {
        height: 40px;
        margin: 30px 0 20px;
    }
    
    .loading-progress-container {
        max-width: 240px;
    }
}

/* Small Mobile */
@media (max-width: 360px) {
    .loading-center {
        width: 220px;
        height: 220px;
    }
    
    .loading-percentage-container {
        width: 160px; /* Increased from 120px */
        height: 160px; /* Increased from 120px */
    }
    
    .percentage-number {
        font-size: 3rem;
    }
    
    .percentage-number[data-value="100"] {
        font-size: 2.5rem;
    }
    
    .message {
        font-size: 0.8rem;
    }
}


/* ===== CONTACT FORM SECTION ===== */
.contact-form-section {
    padding: var(--space-2xl) 0;
    background: var(--color-off-black);
    position: relative;
}

.form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 59, 59, 0.1);
    border-radius: 30px;
    padding: var(--space-xl);
    backdrop-filter: blur(10px);
}

.form-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.form-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-sm);
}

.form-header p {
    color: var(--color-gray-light);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* ===== FORM STYLES ===== */
.contact-form {
    width: 100%;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.form-group {
    position: relative;
    margin-bottom: var(--space-sm);
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 59, 59, 0.2);
    border-radius: 12px;
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-base);
    position: relative;
    z-index: 1;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23FF3B3B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
}

.form-group select option {
    background: var(--color-off-black);
    color: var(--color-white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-red);
    background: rgba(255, 59, 59, 0.1);
    box-shadow: 0 0 20px rgba(255, 59, 59, 0.1);
}

.input-highlight {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-red);
    transition: var(--transition-base);
    transform: translateX(-50%);
    z-index: 2;
}

.form-group input:focus ~ .input-highlight,
.form-group select:focus ~ .input-highlight,
.form-group textarea:focus ~ .input-highlight {
    width: calc(100% - 2rem);
}

/* Submit Button */
.submit-group {
    margin-top: var(--space-md);
}

.submit-btn {
    width: 100%;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    background: var(--gradient-red);
    color: white;
    border-radius: 12px;
    transition: var(--transition-base);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px var(--color-red);
}

.submit-btn .btn-icon {
    transition: var(--transition-base);
}

.submit-btn:hover .btn-icon {
    transform: translateX(5px);
}

.form-note {
    text-align: center;
    color: var(--color-gray-light);
    font-size: 0.85rem;
    margin-top: var(--space-sm);
}

/* Placeholder styles */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* ===== ALTERNATIVE CONTACT SECTION ===== */
.alt-contact-section {
    padding: var(--space-2xl) 0;
}

.alt-contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.alt-contact-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 59, 59, 0.1);
    border-radius: 20px;
    padding: var(--space-lg);
    text-align: center;
    transition: var(--transition-base);
}

.alt-contact-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-red);
    box-shadow: 0 20px 30px -10px rgba(255, 59, 59, 0.2);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
}

.alt-contact-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
    color: var(--color-white);
}

.alt-contact-card p {
    color: var(--color-gray-light);
    font-size: 0.9rem;
    margin-bottom: var(--space-sm);
}

.contact-link {
    color: var(--color-red);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-base);
    display: inline-block;
}

.contact-link:hover {
    transform: translateX(5px);
}

.contact-address {
    color: var(--color-gray-light);
    font-size: 0.9rem;
    font-style: normal;
    line-height: 1.6;
}

.social-links-mini {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    margin-top: var(--space-xs);
}

.social-links-mini .social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 59, 59, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition-base);
}

.social-links-mini .social-link:hover {
    background: var(--color-red);
    transform: translateY(-3px);
}

/* ===== MAP SECTION ===== */
.map-section {
    padding: 0 0 var(--space-2xl) 0;
}

.map-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--color-charcoal), var(--color-off-black));
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 59, 59, 0.1);
}

.map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.map-pin {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
    display: block;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.map-overlay h3 {
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: 0.2rem;
}

.map-overlay p {
    color: var(--color-gray-light);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--color-off-black);
  padding: var(--space-xl) 0 var(--space-lg);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Background Pattern (subtle) */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 59, 59, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

/* Footer Grid - Desktop Default */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-lg);
  position: relative;
  z-index: 2;
}

/* Footer Info Section */
.footer-info {
  max-width: 350px;
}

.footer-info .logo {
  font-size: 2rem;
  margin-bottom: var(--space-md);
  display: inline-block;
  transition: var(--transition-base);
}

.footer-info .logo:hover {
  color: var(--color-red);
}

.footer-info p {
  color: var(--color-gray-light);
  line-height: 1.8;
  margin-bottom: var(--space-md);
  font-size: 0.95rem;
}

.footer-legal {
  color: var(--color-gray-mid);
  font-size: 0.85rem;
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Links Sections */
.footer-links h4 {
  color: var(--color-white);
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  padding-bottom: var(--space-xs);
}

.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--color-red);
  transition: width var(--transition-base);
}

.footer-links h4:hover::after {
  width: 50px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--space-sm);
  transition: var(--transition-fast);
}

.footer-links a {
  color: var(--color-gray-light);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  display: inline-block;
  position: relative;
  padding-left: 0;
}

.footer-links a:hover {
  color: var(--color-red);
  transform: translateX(8px);
}

/* Arrow animation on hover */
.footer-links a::before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: var(--transition-fast);
  color: var(--color-red);
}

.footer-links a:hover::before {
  opacity: 1;
  left: -25px;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Large Desktop (1400px and above) */
@media (min-width: 1400px) {
  .footer {
    padding: calc(var(--space-xl) * 1.2) 0 var(--space-xl);
  }
  
  .footer-grid {
    gap: calc(var(--space-lg) * 1.2);
  }
  
  .footer-info {
    max-width: 400px;
  }
  
  .footer-info .logo {
    font-size: 2.2rem;
  }
  
  .footer-info p {
    font-size: 1rem;
  }
  
  .footer-links h4 {
    font-size: 1.2rem;
  }
  
  .footer-links a {
    font-size: 1rem;
  }
}

/* Standard Desktop (1200px to 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
  .footer-grid {
    gap: var(--space-md);
  }
  
  .footer-info {
    max-width: 320px;
  }
}

/* Small Desktop / Large Tablet (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .footer {
    padding: calc(var(--space-xl) * 0.9) 0 var(--space-lg);
  }
  
  .footer-grid {
    gap: var(--space-md);
  }
  
  .footer-info {
    max-width: 300px;
  }
  
  .footer-info .logo {
    font-size: 1.8rem;
  }
  
  .footer-info p {
    font-size: 0.9rem;
  }
  
  .footer-links h4 {
    font-size: 1rem;
    margin-bottom: calc(var(--space-md) * 0.8);
  }
  
  .footer-links a {
    font-size: 0.9rem;
  }
}

/* Tablet Landscape (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .footer {
    padding: calc(var(--space-xl) * 0.8) 0 var(--space-lg);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg) var(--space-md);
  }
  
  .footer-info {
    grid-column: 1 / -1;
    max-width: 100%;
    text-align: center;
    margin-bottom: var(--space-md);
  }
  
  .footer-info .logo {
    margin-left: auto;
    margin-right: auto;
  }
  
  .footer-links {
    text-align: center;
  }
  
  .footer-links h4::after {
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
  }
  
  .footer-links h4:hover::after {
    width: 60px;
  }
  
  .footer-links a:hover {
    transform: translateY(-2px) translateX(0);
  }
  
  .footer-links a::before {
    display: none; /* Remove arrow on tablet for cleaner look */
  }
  
  .footer-legal {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: var(--space-md);
  }
}

/* Mobile Landscape (480px to 767px) */
@media (min-width: 480px) and (max-width: 767px) {
  .footer {
    padding: calc(var(--space-xl) * 0.7) 0 var(--space-md);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }
  
  .footer-info {
    grid-column: 1 / -1;
    max-width: 100%;
    text-align: center;
    margin-bottom: var(--space-md);
  }
  
  .footer-info .logo {
    font-size: 1.8rem;
    margin-bottom: var(--space-sm);
  }
  
  .footer-info p {
    font-size: 0.9rem;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .footer-links {
    text-align: center;
  }
  
  .footer-links h4 {
    font-size: 1rem;
    margin-bottom: calc(var(--space-md) * 0.7);
  }
  
  .footer-links h4::after {
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
  }
  
  .footer-links ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .footer-links li {
    margin-bottom: calc(var(--space-sm) * 0.8);
  }
  
  .footer-links a {
    font-size: 0.9rem;
  }
  
  .footer-links a:hover {
    transform: translateY(-2px) translateX(0);
    color: var(--color-red);
  }
  
  .footer-links a::before {
    display: none;
  }
  
  .footer-legal {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: var(--space-md);
    font-size: 0.8rem;
  }
}

/* Mobile Portrait (up to 479px) */
@media (max-width: 479px) {
  .footer {
    padding: calc(var(--space-xl) * 0.6) 0 var(--space-sm);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .footer-info {
    max-width: 100%;
    text-align: center;
  }
  
  .footer-info .logo {
    font-size: 1.8rem;
    margin-bottom: var(--space-sm);
  }
  
  .footer-info p {
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: var(--space-sm);
    padding: 0 var(--space-sm);
  }
  
  .footer-links {
    text-align: center;
  }
  
  .footer-links h4 {
    font-size: 1rem;
    margin-bottom: calc(var(--space-md) * 0.6);
  }
  
  .footer-links h4::after {
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
  }
  
  .footer-links ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .footer-links li {
    margin-bottom: calc(var(--space-sm) * 0.7);
  }
  
  .footer-links a {
    font-size: 0.85rem;
  }
  
  .footer-links a:hover {
    transform: translateY(-2px) translateX(0);
  }
  
  .footer-links a::before {
    display: none;
  }
  
  .footer-legal {
    margin-top: var(--space-md);
    padding-top: var(--space-sm);
    font-size: 0.75rem;
  }
}

/* Very Small Mobile (up to 360px) */
@media (max-width: 360px) {
  .footer {
    padding: calc(var(--space-xl) * 0.5) 0 var(--space-sm);
  }
  
  .footer-info .logo {
    font-size: 1.5rem;
  }
  
  .footer-info p {
    font-size: 0.8rem;
    padding: 0 0.5rem;
  }
  
  .footer-links h4 {
    font-size: 0.95rem;
  }
  
  .footer-links a {
    font-size: 0.8rem;
  }
  
  .footer-legal {
    font-size: 0.7rem;
  }
}

/* Landscape Mode on Mobile */
@media (max-height: 600px) and (orientation: landscape) {
  .footer {
    padding: var(--space-md) 0;
  }
  
  .footer-grid {
    gap: var(--space-md);
  }
  
  .footer-info {
    max-width: 300px;
  }
  
  .footer-info p {
    font-size: 0.85rem;
    margin-bottom: var(--space-sm);
  }
}

/* High-resolution screens (4K and above) */
@media (min-width: 2560px) {
  .footer {
    padding: calc(var(--space-2xl)) 0 calc(var(--space-xl) * 1.5);
  }
  
  .footer-grid {
    max-width: 1600px;
    margin: 0 auto;
    gap: calc(var(--space-xl) * 1.5);
  }
  
  .footer-info {
    max-width: 500px;
  }
  
  .footer-info .logo {
    font-size: 2.8rem;
  }
  
  .footer-info p {
    font-size: 1.2rem;
    line-height: 2;
  }
  
  .footer-links h4 {
    font-size: 1.5rem;
  }
  
  .footer-links a {
    font-size: 1.2rem;
  }
  
  .footer-legal {
    font-size: 1rem;
  }
}

/* Print Styles */
@media print {
  .footer {
    background: none;
    border-top: 1px solid #000;
    color: #000;
    padding: 2rem 0;
  }
  
  .footer a {
    color: #000 !important;
    text-decoration: underline;
  }
  
  .footer::before,
  .footer-links h4::after,
  .footer-links a::before {
    display: none;
  }
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Large Desktop */
@media (min-width: 1400px) {
    .alt-contact-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Desktop */
@media (max-width: 1200px) {
    .contact-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-hero-text {
        margin: 0 auto;
    }
    
    .contact-hero-visual {
        display: none;
    }
    
    .expectations-list li {
        text-align: left;
    }
}

/* Tablet */
@media (max-width: 992px) {
    .alt-contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
    
    .form-wrapper {
        padding: var(--space-lg);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .contact-hero {
        padding: 80px 0 60px;
        min-height: auto;
    }
    
    .contact-hero-description .lead {
        font-size: 1.2rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .form-wrapper {
        padding: var(--space-md);
    }
    
    .alt-contact-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .map-placeholder {
        height: 250px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .contact-hero-title {
        font-size: 2rem;
    }
    
    .expectations-card {
        padding: var(--space-md);
    }
    
    .expectations-list li {
        font-size: 0.95rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.875rem;
    }
    
    .submit-btn {
        padding: 1rem;
        font-size: 1rem;
    }
}

/* Hero scroll indicator (from services.css) */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: fadeIn 1s forwards 1.5s;
    z-index: 5;
    pointer-events: none;
}

@media (min-width: 992px) {
    .hero-scroll-indicator {
        bottom: 40px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .hero-scroll-indicator {
        bottom: 30px;
    }
    
    .hero-scroll-indicator span {
        font-size: 0.75rem;
    }
    
    .scroll-line {
        height: 50px;
    }
}

@media (max-width: 767px) {
    .hero-scroll-indicator {
        bottom: 20px;
        gap: 5px;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(5px);
        padding: 8px 16px;
        border-radius: 30px;
        border: 1px solid rgba(255, 59, 59, 0.3);
    }
    
    .hero-scroll-indicator span {
        font-size: 0.7rem;
        letter-spacing: 0.15em;
    }
    
    .scroll-line {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .hero-scroll-indicator {
        bottom: 15px;
        padding: 6px 12px;
    }
    
    .hero-scroll-indicator span {
        font-size: 0.65rem;
    }
    
    .scroll-line {
        height: 30px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
