 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

body {
            font-family: 'Arial', sans-serif;
            line-height: 1.6;
            color: #333;
            background: #f8f9fa;
        }
        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 2rem;
        }

        .logo {
            display: flex;
            align-items: center;
            font-size: 1.5rem;
            font-weight: bold;
            color: #003366;
            text-decoration: none;
                  
  flex-direction: column; /* uno debajo del otro */

  text-align: center;
  gap: 5px;
        }
        .logo i {
            font-size: 2rem;
            color: #00AEEF;
            margin-right: 0.5rem;
            transform: rotate(-10deg);
        }

        .nav-links {
            display: flex;
            gap: 2rem;
            align-items: center;
        }

        .nav-links a {
            color: #003366;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .nav-links a:hover {
            color: #00AEEF;
        }

        /* Main Content */
        .main-container {
            max-width: 1300px;
            margin: 2rem auto;
            padding: 0 2rem;
            display: flex;
            flex-direction: row;
            gap: 3rem;
            align-items: start;
            padding-left: 200px;
        }

        /* Info Section */
        .info-section {
            background: white;
            padding: 2.5rem;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0, 51, 102, 0.1);
            height: fit-content;
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }

        .info-section h1 {
            color: #003366;
            font-size: 2.5rem;
            margin-bottom: 1rem;
            font-weight: 700;
        }

        .info-section .subtitle {
            color: #00AEEF;
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 2rem;
        }

        .info-item {
            display: flex;
            align-items: center;
            margin-bottom: 1.5rem;
            padding: 1rem;
            background: rgba(0, 174, 239, 0.05);
            border-radius: 10px;
            border-left: 4px solid #00AEEF;
        }

        .info-item i {
            font-size: 1.5rem;
            color: #00AEEF;
            margin-right: 1rem;
            width: 30px;
        }

        .info-item div h3 {
            color: #003366;
            margin-bottom: 0.3rem;
        }

        .info-item div p {
            color: #666;
            margin: 0;
        }

        .benefits {
            background: rgba(0, 51, 102, 0.05);
            padding: 1.5rem;
            border-radius: 15px;
            margin-top: 2rem;
        }

        .benefits h3 {
            color: #003366;
            margin-bottom: 1rem;
        }

        .benefits ul {
            list-style: none;
        }

        .benefits li {
            padding: 0.5rem 0;
            color: #666;
        }

        .benefits li::before {
            content: '✓';
            color: #00AEEF;
            font-weight: bold;
            margin-right: 0.5rem;
        }

        /* Form Section */
        form {
  display: flex;
  flex-direction: column;
  gap: 15px; /* separación vertical entre campos */
}

form label {
  display: flex;
  flex-direction: row;
  font-weight: bold;
  margin-bottom: 5px;
}

form input,
form select,
form textarea,
form button {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  display: block;
}
 .form-section {
            background: white;
            padding: 2.5rem;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0, 51, 102, 0.1);
            display: block;
        }

        .form-section h2 {
            color: #003366;
            font-size: 2rem;
            margin-bottom: 0.5rem;
            text-align: center;
        }

        .form-section .form-subtitle {
            color: #666;
            text-align: center;
            margin-bottom: 2rem;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-row {
        display: flex;
        gap: 20px;
      }

        .form-group label {
            display: block;
            color: #003366;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .required {
            color: #e74c3c;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 1rem;
            border: 2px solid #e1e8ed;
            border-radius: 10px;
            font-size: 1rem;
            transition: all 0.3s ease;
            background: #fafbfc;
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #00AEEF;
            background: white;
            box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.1);
        }

        .form-group textarea {
            resize: vertical;
            min-height: 100px;
        }

        .checkbox-group {
            display: flex;
            align-items: flex-start;
            gap: 0.5rem;
            margin-top: 1rem;
        }

        .checkbox-group input[type="checkbox"] {
            width: auto;
            margin-top: 0.2rem;
        }

        .checkbox-group label {
            font-weight: normal;
            font-size: 0.9rem;
            color: #666;
            margin-bottom: 0;
        }

        .submit-btn {
            width: 100%;
            background: linear-gradient(135deg, #003366, #004080);
            color: white;
            padding: 1.2rem 2rem;
            border: none;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 5px 20px rgba(0, 51, 102, 0.3);
            margin-top: 1rem;
        }

        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0, 51, 102, 0.4);
        }

        .submit-btn:active {
            transform: translateY(0);
        }

        /* Emergency Contact */
        .emergency-contact {
            background: linear-gradient(135deg, #00AEEF, #0099cc);
            color: white;
            padding: 1.5rem;
            border-radius: 15px;
            text-align: center;
            margin-top: 2rem;
        }

        .emergency-contact h4 {
            margin-bottom: 0.5rem;
        }

        .emergency-contact p {
            margin: 0.3rem 0;
            font-size: 1.1rem;
            font-weight: 600;
        }

        .emergency-contact a {
            color: white;
            text-decoration: none;
        }

        /* Fixed Contact Bar */
        .fixed-bar {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            display: flex;
            flex-direction: column;
            gap: 1rem;
            z-index: 1000;
        }

        .fixed-bar a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            text-decoration: none;
            color: white;
            font-size: 1.4rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        .whatsapp { background: #25D366; }
        .phone { background: #003366; }

        .fixed-bar a:hover {
            transform: scale(1.1) translateX(-5px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
        }

        /* Success Message */
        .success-message {
            display: none;
            background: linear-gradient(135deg, #27ae60, #2ecc71);
            color: white;
            padding: 2rem;
            border-radius: 15px;
            text-align: center;
            margin-bottom: 2rem;
            animation: slideInDown 0.5s ease-out;
        }

        .success-message.show {
            display: block;
        }

        .success-message i {
            font-size: 3rem;
            margin-bottom: 1rem;
        }

        /* Animations */
        @keyframes slideInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }

        .pulse-animation {
            animation: pulse 2s infinite;
        }

        /* Responsive Design */
        @media (max-width: 968px) {
            .main-container {
                grid-template-columns: 1fr;
                gap: 2rem;
                margin: 1rem auto;
            }

            .info-section h1 {
                font-size: 2rem;
            }

            .form-row {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            .nav-container {
                flex-direction: column;
                gap: 1rem;
                text-align: center;
            }

            .nav-links {
                flex-wrap: wrap;
                justify-content: center;
            }

            .info-section,
            .form-section {
                padding: 1.5rem;
            }

            .fixed-bar {
                bottom: 1rem;
                right: 1rem;
            }

            .fixed-bar a {
                width: 50px;
                height: 50px;
                font-size: 1.2rem;
            }
        }

        /* Loading Animation */
        .loading {
            pointer-events: none;
            opacity: 0.7;
        }

        .loading::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 20px;
            height: 20px;
            margin: -10px 0 0 -10px;
            border: 2px solid #ffffff;
            border-top: 2px solid transparent;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        /* Main Content */
        .main-content {
            margin-left: 280px;
            min-height: 100vh;
        }
        /* Sidebar Navigation */
        .sidebar {
            position: fixed;
            top: 0;
            left: 0;
            width: 280px;
            height: 100vh;
            background: linear-gradient(145deg, #2c5aa0, #1e3a5f);
            padding: 2rem 1rem;
            z-index: 1000;
            box-shadow: 2px 0 15px rgba(0,0,0,0.1);
        }

        .logo {
            text-align: center;
            margin-bottom: 2rem;
            color: white;
             display: flex;
          align-items: center;
          gap: 10px;
        
        }

        .logo h1 {
            font-size: 2rem;
            margin-bottom: 0.5rem;
            background: linear-gradient(45deg, #64b5f6, #ffffff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin: 0;
        }

        .logo p {
             font-size: 0.9rem;
            opacity: 0.8;
        }

        .nav-menu {
            list-style: none;
        }

        .nav-menu li {
            margin-bottom: 1rem;
        }

        .nav-menu a {
            display: flex;
            align-items: center;
            padding: 1rem 1.5rem;
            color: white;
            text-decoration: none;
            border-radius: 12px;
            transition: all 0.3s ease;
            background: rgba(255,255,255,0.1);
            backdrop-filter: blur(10px);
        }

        .nav-menu a:hover {
            background: rgba(255,255,255,0.2);
            transform: translateX(5px);
            box-shadow: 0 5px 15px rgba(100,181,246,0.3);
        }

        .nav-menu .icon {
            margin-right: 1rem;
            font-size: 1.2rem;
        }
         .container1 {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }


        /* Barra lateral de navegación */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(145deg, #2c5aa0, #1e3a5f);
    padding: 2rem 1rem;
    z-index: 1000;
    box-shadow: 2px 0 15px rgba(0,0,0,0.1);
}

.logo {
    text-align: center;
    margin-bottom: 2rem;
    color: white;
}

.logo h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #64b5f6, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.nav-menu {
    list-style: none;
}

.nav-menu li {
    margin-bottom: 1rem;
}

.nav-menu a {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.nav-menu a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(100,181,246,0.3);
}

.nav-menu .icon {
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* Main Content */
.main-content {
    margin-left: 280px;
    min-height: 100vh;
}

/* Hero Section with Carousel */
.hero-section {
    position: relative;
    height: 70vh;
    overflow: hidden;
    border-radius: 0 0 30px 30px;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-slide.active {
    opacity: 1;
}

.slide-1 {
    background-image: url(dientes.jpg);
}

.slide-2 {
    background-image: url(imagen2.jpg);
}

.slide-3 {
    background-image: url(imagen3.jpg);
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44,90,160,0.8), rgba(30,58,95,0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    color: white;
    max-width: 600px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.carousel-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: white;
    transform: scale(1.2);
}