/* =========================
       Variables de color y layout
       ========================= */
    :root{
      --verde-brasil: #009b3a;
      --amarillo-brasil: #ffcc29;
      --azul-mar: #0077b6;
      --turquesa: #00b4d8;
      --arena: #f4e7c2;
      --gris-claro: #f7f7f7;
      --texto: #073642;
      --max-width: 1100px;
      --radius: 10px;
      --shadow: 0 6px 18px rgba(7,54,66,0.08);
      --header-height: 0px; /* Se calculará dinámicamente */
    }

    /* =========================
       Reset y tipografía
       ========================= */
    *{box-sizing:border-box}
    html,body{height:100%; margin:0; padding:0}
    html{
      scroll-behavior:smooth;
      scroll-padding-top: 0px; /* Se actualizará dinámicamente */
    }
    body{
      font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
      color:var(--texto);
      background:linear-gradient(180deg, #ffffff 0%, var(--gris-claro) 100%);
      -webkit-font-smoothing:antialiased;
      -moz-osx-font-smoothing:grayscale;
      line-height:1.45;
      overflow-x: hidden;
    }

    a{color:inherit;text-decoration:none}
    img{max-width:100%;height:auto;display:block}
    
    /* ========================
            BACKGROUND
       ======================== */
        
    /* Fullscreen background image with blur effect */
    .bg {
      position:fixed;
      inset:0;
      z-index:-2;
      background-image: url("../img/background.jpg");
      background-size:cover;
      background-position:center center;
      transform:scale(1.03);
      filter:blur(6px) saturate(1.05);
      will-change:transform,filter;
    }

    /* Dark overlay to improve contrast */
    .bg-overlay {
      position:fixed;
      inset:0;
      background:linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.55));
      z-index:-1;
    }

    /* =========================
       Contenedor principal
       ========================= */
    .wrap{
      max-width:var(--max-width);
      margin:0 auto;
      padding:24px;
    }

    /* =========================
       Header: logo centrado, nav botones y selector de idiomas
       ========================= */
    header{
      text-align:center;
      margin-bottom:18px;
      padding-top:12px;
      padding-bottom:12px;
      display:flex;
      flex-direction:column;
      align-items:center;
      justify-content:center;
      gap:10px;
      position: relative;
      z-index: 100;
    }

    .logo{
      width:250px;
      height:250px;
      display:inline-flex;
      align-items:center;
      border-radius:999px;
      box-shadow:var(--shadow);
    }
	
	.logo_new{      
      display:inline-flex;
      align-items:center;      
       }
    
     .logo-mark{        
      width:250px;
      height:250px;
      border-radius:999px;
      display:grid;
      place-items:center;
      box-shadow:var(--shadow);
    }

    .logo svg{width:48px;height:48px;flex-shrink:0}
    .logo h1{font-size:18px;margin:0;font-weight:700;letter-spacing:0.4px}

    /* Nav botones debajo del logo */
    nav{
      margin-top:6px;
      display:flex;
      justify-content:center;
      gap:12px;
      flex-wrap:wrap;
    }

    .nav-btn{
      background:white;
      border:2px solid rgba(7,54,66,0.08);
      padding:10px 16px;
      border-radius:999px;
      cursor:pointer;
      font-weight:600;
      color:var(--texto);
      transition:all .22s ease;
      box-shadow:none;
      width: 163px;
    }

    .nav-btn:hover{
      transform:translateY(-3px);
      box-shadow:var(--shadow);
    }

    .nav-btn.primary{
      background:linear-gradient(90deg,var(--verde-brasil),var(--amarillo-brasil));
      color:#073642;
      border:none;
    }

    /* =========================
       Selector de idiomas (banderas)
       ========================= */
    .language-selector {
      display: flex;
      gap: 10px;
      justify-content: center;
      margin: 5px 0 10px 0;
    }
    
    .lang-btn {
      background: transparent;
      border: 2px solid rgba(255,255,255,0.3);
      border-radius: 8px;
      padding: 5px 10px;
      cursor: pointer;
      font-weight: 600;
      transition: all 0.3s;
      display: flex;
      align-items: center;
      gap: 5px;
      font-size: 14px;
    }
    
    .lang-btn:hover {
      transform: translateY(-2px);
      border-color: var(--amarillo-brasil);
    }
    
    .lang-btn.active {
      border-color: var(--verde-brasil);
      background: rgba(0,155,58,0.1);
    }
    
    .lang-flag {
      font-size: 18px;
    }

    /* =========================
       Secciones (landing style)
       ========================= */
    section{
      padding:48px 0;
      min-height: calc(100vh - var(--header-height));
      display: flex;
      flex-direction: column;
      justify-content: center;
      scroll-margin-top: 0px; /* Se actualizará dinámicamente */
    }

    .section-inner{
	  background: rgb(222 215 215 / 60%);
     /* background:white;*/
      border-radius:var(--radius);
      padding:22px;
      box-shadow:var(--shadow);
      margin: 0 auto;
      width: 100%;
    }

    h2{
      margin:0 0 12px 0;
      font-size:22px;
      color:var(--azul-mar);
    }

    p.lead{
      margin:0 0 18px 0;
      color:#234;
    }

    /* =========================
       Nosotros: texto + imagen
       ========================= */
    .nosotros{
      display:grid;
      grid-template-columns:1fr 360px;
      gap:20px;
      align-items:center;
    }

    .nosotros .foto{
      border-radius:12px;
      overflow:hidden;
      box-shadow:0 8px 30px rgba(0,0,0,0.08);
    }

    .nosotros p{font-size:15px}

    /* =========================
       Fotos: galería responsive
       ========================= */
    .galeria{
      display:grid;
      grid-template-columns:repeat(4,1fr);
      gap:10px;
    }

    .galeria button{
      border:0;
      padding:0;
      background:transparent;
      cursor:pointer;
      border-radius:8px;
      overflow:hidden;
      position:relative;
    }

    .galeria img{
      width:100%;
      height:160px;
      object-fit:cover;
      display:block;
      transition:transform .25s ease;
    }

    .galeria button:hover img{transform:scale(1.06)}

    /* Lightbox modal */
    .modal{
      position:fixed;
      inset:0;
      display:none;
      align-items:center;
      justify-content:center;
      background:rgba(0,0,0,0.6);
      z-index:1200;
      padding:20px;
    }

    .modal.open{display:flex}
    .modal .modal-content{
      max-width:1100px;
      width:100%;
      border-radius:12px;
      overflow:hidden;
      background:linear-gradient(180deg,#fff,#f8fbff);
      box-shadow:0 20px 60px rgba(2,6,23,0.6);
      position:relative;
    }

    .modal img{width:100%;height:auto;display:block}
    .modal .caption{
      padding:12px 16px;
      display:flex;
      justify-content:space-between;
      align-items:center;
      gap:12px;
    }

    .close-btn{
      background:var(--azul-mar);
      color:white;
      border:none;
      padding:8px 12px;
      border-radius:8px;
      cursor:pointer;
      font-weight:700;
    }

    /* =========================
       Reservas - NUEVO ESTILO para reseñas Booking
       ========================= */
    .reservas-grid{
      display:flex;
      gap:16px;
      flex-wrap:wrap;
      align-items:stretch;
    }

    .booking-card, .reviews-card{
      flex:1 1 320px;
      background:linear-gradient(180deg,var(--arena),#fff);
      padding:16px;
      border-radius:12px;
      box-shadow:var(--shadow);
    }

    .reviews-card{
      background:white;
    }

    .booking-card h3{margin:0 0 8px 0}
    .booking-links{display:flex;gap:10px;flex-wrap:wrap}
    .booking-links a{
      display:inline-flex;
      align-items:center;
      gap:8px;
      padding:10px 12px;
      border-radius:8px;
      background:var(--turquesa);
      color:white;
      font-weight:700;
      text-decoration:none;
    }
    
    /* Estilo para el destacado de reseñas */
    .booking-score {
      display: flex;
      align-items: center;
      gap: 15px;
      margin: 15px 0;
      flex-wrap: wrap;
    }
    
    .score-badge {
      background: #003580;
      color: white;
      padding: 15px 20px;
      border-radius: 12px;
      text-align: center;
      min-width: 100px;
    }
    
    .score-badge .number {
      font-size: 42px;
      font-weight: 800;
      line-height: 1;
    }
    
    .score-badge .text {
      font-size: 14px;
      opacity: 0.9;
    }
    
    .score-details {
      flex: 1;
    }
    
    .score-stars {
      color: #f5b342;
      font-size: 24px;
      letter-spacing: 4px;
      margin-bottom: 5px;
    }
    
    .review-count {
      font-weight: 600;
      color: #003580;
      margin-bottom: 5px;
    }
    
    .review-highlights {
      list-style: none;
      padding: 0;
      margin: 15px 0;
    }
    
    .review-highlights li {
      padding: 5px 0;
      border-bottom: 1px solid rgba(0,0,0,0.05);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    
    .review-highlights li:before {
      content: "⭐";
    }
    
    .booking-cta {
      display: inline-block;
      background: #003580;
      color: white;
      padding: 12px 24px;
      border-radius: 30px;
      font-weight: 700;
      text-decoration: none;
      margin-top: 15px;
      transition: all 0.3s;
    }
    
    .booking-cta:hover {
      background: #00224f;
      transform: translateY(-2px);
    }
    
    /* =========================
       Contacto - NUEVO ESTILO simplificado
       ========================= */
    .contact-info {
      max-width: 720px;
      margin: 0 auto;
    }
    
    .contact-methods {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
      margin: 30px 0;
    }
    
    .contact-item {
      background: white;
      padding: 20px;
      border-radius: 12px;
      box-shadow: var(--shadow);
      text-align: center;
    }
    
    .contact-item .icon {
      font-size: 32px;
      margin-bottom: 10px;
    }
    
    .contact-item h4 {
      margin: 0 0 10px 0;
      color: var(--azul-mar);
    }
    
    .contact-item a {
      color: var(--texto);
      text-decoration: none;
      font-weight: 600;
      word-break: break-all;
    }
    
    .contact-item a:hover {
      color: var(--turquesa);
    }
    
    .social-buttons {
      display: flex;
      gap: 15px;
      justify-content: center;
      margin: 25px 0;
      flex-wrap: wrap;
    }
    
    .btn-whatsapp, .btn-telegram {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 15px 30px;
      border-radius: 50px;
      font-weight: 700;
      text-decoration: none;
      transition: all 0.3s;
      font-size: 18px;
    }
    
    .btn-whatsapp {
      background: #25D366;
      color: white;
    }
    
    .btn-telegram {
      background: #0088cc;
      color: white;
    }
    
    .btn-whatsapp:hover, .btn-telegram:hover {
      transform: translateY(-3px);
      filter: brightness(1.1);
    }
    
    .contact-note {
      text-align: center;
      font-size: 16px;
      color: #345;
      background: rgba(255,255,255,0.7);
      padding: 20px;
      border-radius: 12px;
      margin-top: 20px;
    }

    /* =========================
       Footer
       ========================= */
    footer{
      margin-top:28px;
      text-align:center;
      color:#345;
      font-size:14px;
      padding:18px 0;
    }

    /* =========================
       Botón volver arriba
       ========================= */
    .back-to-top{
      position:fixed;
      right:18px;
      bottom:18px;
      width:48px;
      height:48px;
      border-radius:12px;
      background:linear-gradient(180deg,var(--azul-mar),var(--turquesa));
      color:white;
      display:flex;
      align-items:center;
      justify-content:center;
      box-shadow:0 8px 24px rgba(2,6,23,0.25);
      cursor:pointer;
      border:none;
      z-index:1400;
      opacity:0;
      transform:translateY(12px);
      transition:opacity .25s ease, transform .25s ease;
    }

    .back-to-top.show{
      opacity:1;
      transform:translateY(0);
    }

    /* Flecha hecha con CSS (triángulo) */
    .back-to-top .arrow{
      width:0;
      height:0;
      border-left:8px solid transparent;
      border-right:8px solid transparent;
      border-bottom:12px solid white;
      transform:translateY(-2px);
    }

    /* =========================
       Responsive
       ========================= */
    @media (max-width:980px){
      .nosotros{grid-template-columns:1fr 300px}
      .galeria{grid-template-columns:repeat(3,1fr)}
    }

    @media (max-width:720px){
      .wrap{padding:16px}
      .logo h1{font-size:16px}
      nav{gap:8px}
      .nav-btn{padding:8px 12px;font-size:14px}
      .nosotros{grid-template-columns:1fr; text-align:left}
      .galeria{grid-template-columns:repeat(2,1fr)}
      .galeria img{height:140px}
      .reservas-grid{flex-direction:column}
      
      .booking-score {
        flex-direction: column;
        text-align: center;
      }
      
      .score-badge {
        width: 100%;
      }
      
      .language-selector {
        flex-wrap: wrap;
      }
    }

    @media (max-width:420px){
      .galeria img{height:110px}
      .logo svg{width:40px;height:40px}
    }

    /* Small accessibility focus */
    .nav-btn:focus, .close-btn:focus, .btn-submit:focus, .booking-links a:focus, .back-to-top:focus, .lang-btn:focus{
      outline:3px solid rgba(0,180,216,0.18);
      outline-offset:3px;
    }