/**
 * ============================================================
 * ARCHIVO: assets/styles.css
 * FUNCIÓN: apariencia completa del inicio, catálogo y administrador.
 * ============================================================
 * GUÍA RÁPIDA:
 * - Colores corporativos: modifica las variables dentro de :root.
 * - Ancho máximo del contenido: selector .shell.
 * - Tarjetas de producto: .product-card, .product-image y .product-body.
 * - Carrito lateral: .cart-panel.
 * - Panel administrativo: selectores que comienzan con .admin-.
 * - Adaptación móvil: bloques @media al final.
 */

/* VARIABLES GLOBALES: cambia aquí colores, sombras y radios. */
:root{
    --navy:#073b5b;
    --blue:#0b4d78;
    --cyan:#24a9df;
    --blue-light:#5fc1ec; /* azul claro: usado en los botones del encabezado */
    --pale:#eef9fd;
    --ink:#163243;
    --muted:#637c89;
    --white:#fff;
    --danger:#c83f49;
    --ok:#17855b;
    --shadow:0 18px 55px rgba(7,59,91,.14);
    --radius:24px;
    --accent: #ffb347;
}
    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{margin:0;font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;color:var(--ink);background:#f8fcfe}
    button,input,select,textarea{font:inherit}
    button{cursor:pointer}
    .shell{width:min(1180px,calc(100% - 32px));margin:auto}/* ENCABEZADO Y NAVEGACIÓN */

.topbar{
    position:sticky;
    top:0;z-index:20;
    background:rgba(255,255,255,.92);
    backdrop-filter:blur(14px);
    border-bottom:1px solid #d9edf5;
    box-shadow: 0 4px 20px rgba(7, 59, 91, 0.08)
}

.nav-wrap{
    height:76px;
    display:flex;
    align-items:center;
    justify-content:space-between
}

.brand img{
    width:145px;
    height:55px;
    object-fit:contain;
}

.nav-wrap nav{
    display:flex;
    align-items:center;
    gap:22px
}

.nav-wrap a{
    text-decoration:none;
    color:var(--blue);
    font-weight:800
}

.cart-button{
    border:0;
    border-radius:999px;
    background:var(--blue-light);
    color:white;
    padding:12px 18px;
    font-weight:800;
    transition:background .2s ease
}

.cart-button:hover{
    background:var(--cyan)
}

.cart-button span{
    display:inline-grid;
    place-items:center;
    min-width:24px;
    height:24px;
    background:var(--cyan);
    border-radius:50%;
    margin-left:6px
}/* PORTADA DEL CATÁLOGO */

.hero{
    overflow:hidden;
    background:linear-gradient(145deg,var(--navy),var(--blue) 65%,#167ead);
    color:white
}

.hero-grid{
    min-height:510px;
    display:grid;
    grid-template-columns:1.2fr .8fr;
    gap:70px;
    align-items:center;
    padding-block:70px
}

.tag,.eyebrow{
    font-size:.74rem;
    font-weight:900;
    letter-spacing:.16em
}
.tag{
    color:var(--navy)
}

.hero h1{
    font-size:clamp(2.6rem,6vw,5rem);
    line-height:1.02;
    margin:14px 0 20px;
    max-width:760px
}

.hero p{
    font-size:1.13rem;
    line-height:1.7;
    color:#d6f2ff;
    max-width:650px
}

.hero-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin:28px 0
}

.btn{
    border:0;
    border-radius:999px;
    padding:14px 22px;
    font-weight:900;
    display:inline-flex;
    justify-content:center;
    align-items:center;
    text-decoration:none
}

.primary{
    background: var(--accent);
    color: var(--navy);
}

.secondary{
    background:var(--cyan);
    color:var(--navy);
}

.notice{
    font-size:.9rem!important
}

.hero-card{
    position:relative;
    background:white;
    border-radius:32px;
    padding:38px;
    min-height:300px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    color:var(--blue);
    box-shadow:0 30px 70px rgba(0,0,0,.22);
    overflow:hidden;
    text-align:center
}

.hero-card img{
    width:100%;
    max-width:390px;
    position:relative;
    z-index:2
}

.hero-card strong,.hero-card span{
    position:relative;
    z-index:2
}

.hero-card strong{
    font-size:1.08rem;
    margin-top:18px
}

.hero-card span{
    font-size:.82rem;
    color:var(--muted);
    margin-top:6px
}

.bubble{
    position:absolute;
    border-radius:50%;
    background:var(--cyan);
    opacity:.12
}

.b1{
    width:220px;
    height:220px;
    right:-80px;
    top:-80px
}

.b2{
    width:150px;
    height:150px;
    left:-50px;
    bottom:-70px
}/* CATÁLOGO, FILTROS Y TARJETAS DE PRODUCTO */

.catalog{
    padding-block:70px 90px;
}

.section-heading{
    display:flex;
    justify-content:space-between;
    align-items:end;
    gap:20px;
    padding-bottom: 35px;
    padding-top: 40px;
}

.eyebrow{
    color:var(--cyan);
}

h2{
    margin:7px 0 0;
    color:var(--blue);
    font-size:clamp(1.8rem,4vw,2.8rem)
}

.filters{
    display:flex;
    gap:10px
}

.filters input,.filters select{
    border:1px solid #cce5ef;
    border-radius:14px;
    padding:13px 14px;
    background:white;
    min-width:210px
}

.product-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px
}

.product-card{
    background:white;
    border:1px solid #dcedf4;
    border-radius:var(--radius);
    overflow:hidden;box-shadow:var(--shadow);
    display:flex;
    transition: all 0.3s ease;
    flex-direction:column
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--cyan);
}

.product-image{
    aspect-ratio:4/3;
    background:var(--pale);
    position:relative
}

.product-image img{
    width:100%;
    height:100%;
    object-fit:cover
}

.stock{
    position:absolute;
    top:14px;right:14px;
    padding:8px 11px;
    border-radius:999px;
    font-size:.78rem;
    font-weight:900;
    background:white;
    color:var(--ok);
    box-shadow:0 6px 20px rgba(0,0,0,.12)
}

.stock.low{
    color:#c87500
}

.stock.out{
    color:var(--danger)
}

.product-body{
    padding:21px;
    display:flex;
    flex-direction:column;
    flex:1
}
.category{
    color:var(--cyan);
    font-size:.76rem;
    font-weight:900;
    letter-spacing:.1em;
    text-transform:uppercase
}

.product-body h3{
    margin:8px 0;
    font-size:1.35rem;
    color:var(--blue)
}

.product-body p{
    color:var(--muted);
    line-height:1.55;
    margin:0 0 14px
}

.features{
    margin:0 0 18px;
    padding-left:18px;
    color:#476472;
    font-size:.9rem;
    line-height:1.55
}

.product-meta{
    display:flex;
    justify-content:space-between;
    align-items:end;
    margin-top:auto;
    padding-top:14px;
    border-top:1px solid #e7f2f6
}

.price strong{
    display:block;
    color:var(--blue);
    font-size:1.45rem
}

.price small{
    color:var(--muted)
}

.add-controls{
    display:flex;
    gap:8px;
    align-items:center
}

.add-controls input{
    width:64px;
    border:1px solid #cce5ef;
    border-radius:12px;
    padding:11px;
    text-align:center
}

.add-btn{
    border:0;
    border-radius:12px;
    background:var(--blue);
    color:white;
    padding:12px 15px;
    transition: all 0.3s ease;
    font-weight:900
}

.add-btn:hover {
    background: var(--cyan);
    color: var(--navy);
}

.add-btn:disabled{
    opacity:.4;
    cursor:not-allowed
}

.empty{
    text-align:center;
    padding:50px;
    background:white;
    border-radius:20px
}

.hidden{
    display:none!important
}/* PANEL LATERAL DEL CARRITO */
.cart-panel{position:fixed;right:0;top:0;z-index:50;width:min(440px,100%);height:100dvh;background:white;box-shadow:-20px 0 60px rgba(0,0,0,.2);padding:24px;transform:translateX(105%);transition:.3s;overflow:auto; transition: transform 0.4s cubic-bezier(.4, 0, .2, 1);}
.cart-panel.open{transform:translateX(0)}
.overlay{position:fixed;inset:0;background:rgba(1,25,39,.55);z-index:40;opacity:0;pointer-events:none;transition:.3s}
.overlay.show{opacity:1;pointer-events:auto}
.cart-head{display:flex;justify-content:space-between;align-items:start;border-bottom:1px solid #e3eff4;padding-bottom:18px}
.cart-head h2{font-size:1.7rem}
.icon-btn{border:0;background:var(--pale);border-radius:50%;width:42px;height:42px;font-size:1.7rem;color:var(--blue)}
.cart-items{padding:15px 0}
.cart-item{display:grid;grid-template-columns:58px 1fr auto;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #edf4f7}
.cart-item img{width:58px;height:58px;object-fit:cover;border-radius:12px}
.cart-item strong{display:block;color:var(--blue)}
.cart-item small{color:var(--muted)}
.remove{border:0;background:transparent;color:var(--danger);font-size:1.2rem}
.buyer-fields{display:grid;gap:12px;margin-top:18px}
.buyer-fields label{font-size:.82rem;font-weight:800;color:var(--blue)}
.buyer-fields input,.buyer-fields textarea{display:block;width:100%;margin-top:6px;border:1px solid #cce5ef;border-radius:12px;padding:12px}
.buyer-fields textarea{min-height:78px;resize:vertical}
.cart-total{display:flex;justify-content:space-between;font-size:1.15rem;padding:22px 0; border-radius: 15px; margin-top: 15px;}
.cart-total strong{color:var(--blue);font-size:1.5rem; }
.whatsapp{width:100%;background:#1fb963;color:white;border-radius:14px; transition: transform 0.2s ease, box-shadow 0.2s ease;}

.whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(31, 185, 99, 0.3);
}
.link-btn{width:100%;border:0;background:transparent;color:var(--danger);padding:14px;font-weight:800}
footer{background:var(--navy);
    color:#cdebf7;
    padding:25px 0;
    /*padding-bottom: 0px;*/
}
footer .shell{display:flex;gap:18px;justify-content:space-between;align-items:center}
footer a{color:white}/* PANEL DE ADMINISTRACIÓN Y LOGIN */
.redes-sociales {
  display: flex;
  gap: 80px;
  align-items: center;
  /*flex-wrap:wrap; /* clave para que no se corten en pantallas angostas */
  padding: 30px;
  padding-top: 50px;
  padding-bottom: 20px;
  justify-content: space-between;
  margin: auto;
}

.redes-sociales img {
  width: 25px;
  height: 25px;
  object-fit: contain;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.redes-sociales img:hover {
  transform: scale(1.1);
}

/* Responsivo */
@media (max-width: 600px) {
  .redes-sociales {
    gap: 28px;
  }
  .redes-sociales img {
    width: 30px;
    height: 30px;
  }
}
.admin-body{background:#eef7fb}
.admin-shell{width:min(1180px,calc(100% - 28px));margin:28px auto}
.admin-header,.panel{background:white;border-radius:20px;box-shadow:var(--shadow);padding:22px}
.admin-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}
admin-header img{width:140px}.panel{margin-bottom:18px}
.admin-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}
.field{display:grid;gap:7px}.field.full{grid-column:1/-1}
.field input,.field textarea,.field select{border:1px solid #c7dfe9;border-radius:11px;padding:12px}
.field textarea{min-height:95px}.admin-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.btn-danger{background:var(--danger);color:white}.btn-light{background:var(--pale);color:var(--blue)}
.admin-table{width:100%;border-collapse:collapse}
.admin-table th,.admin-table td{text-align:left;padding:12px;border-bottom:1px solid #e5eff3;vertical-align:middle}
.admin-table img{width:60px;height:48px;object-fit:cover;border-radius:8px}
.status-dot{font-weight:800}
.message{padding:12px 14px;border-radius:12px;margin-bottom:15px;background:#e8fff5;color:#0b744b}
.error{background:#fff0f1;color:#9f2730}
.login-card{width:min(430px,calc(100% - 30px));margin:10vh auto;background:white;border-radius:24px;padding:30px;box-shadow:var(--shadow);text-align:center}
.login-card img{width:180px}
.login-card form{display:grid;gap:12px;margin-top:22px}
.login-card input{padding:13px;border:1px solid #c7dfe9;border-radius:12px}
.login-card .btn{width:100%;background:var(--blue);color:white;border-radius:12px}/* TABLETAS: ajustes para pantallas menores de 900 px. */
@media(max-width:900px){
    .hero-grid{grid-template-columns:1fr;gap:35px}
    .hero-card{min-height:240px}
    .product-grid{grid-template-columns:repeat(2,1fr)}
    .section-heading{align-items:stretch;flex-direction:column}
    .filters{width:100%}.filters>*{flex:1}
    .admin-grid{grid-template-columns:1fr}
    .field.full{grid-column:auto}
    .admin-table{display:block;overflow-x:auto}}/* CELULARES: ajustes para pantallas menores de 620 px. */
@media(max-width:620px){
    .nav-wrap nav>a{display:none}
    .hero-grid{padding-block:45px}
    .product-grid{grid-template-columns:1fr}
    .filters{flex-direction:column}
    .filters input,.filters select{min-width:0;width:100%}
    .product-meta{align-items:center}
    .hero-card{padding:24px}
    .hero h1{font-size:2.65rem}footer .shell{flex-direction:column;text-align:center}
    .admin-header{align-items:flex-start;gap:12px;flex-direction:column}
    .admin-table th:nth-child(3),.admin-table td:nth-child(3){display:none}}

/* LOGOTIPO OFICIAL MI PEZ: conserva su forma circular y evita deformaciones */
.brand img{width:64px;height:64px;object-fit:contain}
.hero-card img{width:min(100%,330px);aspect-ratio:1/1;object-fit:contain}
.admin-header img{width:92px;height:92px;object-fit:contain}
.login-card img{width:190px;height:190px;object-fit:contain}
@media(max-width:620px){.brand img{width:56px;height:56px}.nav-wrap{height:70px}.hero-card img{width:min(100%,260px)}}

/* PÁGINA PRINCIPAL: portada, estadísticas y bloques informativos. */
/* Diseño minimalista y claro: fondo pálido en vez del degradado oscuro anterior. */
.home-hero{background-image:linear-gradient(rgba(255,255,255,.78),rgba(255,255,255,.88)),url("fondo.jpg");background-size:cover;background-position:center;background-attachment:fixed;color:var(--ink);overflow:hidden;position:relative}
.home-hero-grid{min-height:420px;display:grid;grid-template-columns:1fr;justify-items:center;text-align:center;gap:20px;align-items:center;padding-block:80px 40px;}
.home-copy{max-width:760px}
.home-copy .tag{color:var(--cyan)}
.home-copy h1{font-size:clamp(2.4rem,5.5vw,4.4rem);line-height:1.08;margin:16px 0 20px;color:var(--blue)}
.home-copy p{font-size:1.12rem;line-height:1.7;color:var(--muted);max-width:640px;margin-inline:auto}
.home-hero .hero-actions{justify-content:center}
.home-hero .secondary{color:var(--blue);border:1px solid #cfe8f4}
.home-catalog-btn{display:inline-flex!important;text-decoration:none!important;color:#fff!important}

/* Divisor en forma de ola, minimalista, para cerrar la portada. */
.wave-divider{display:block;width:100%;height:70px;line-height:0}
.wave-divider svg{width:100%;height:100%;display:block}

/* Clase reutilizable para recortar CUALQUIER imagen con forma de ola.
   Úsala así: <div class="wave-media"><img src="tu-imagen.jpg" alt=""></div>
   Puedes voltear la ola agregando también la clase "wave-media--top". */
/*.wave-media{
    position:relative;
    overflow:hidden;
    border-radius:var(--radius);
    -webkit-mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'><path fill='black' d='M0,192L48,197.3C96,203,192,213,288,224C384,235,480,245,576,229.3C672,213,768,171,864,176C960,181,1056,235,1152,240C1248,245,1344,203,1392,181.3L1440,160L1440,320L0,320Z'/></svg>");
    mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'><path fill='black' d='M0,192L48,197.3C96,203,192,213,288,224C384,235,480,245,576,229.3C672,213,768,171,864,176C960,181,1056,235,1152,240C1248,245,1344,203,1392,181.3L1440,160L1440,320L0,320Z'/></svg>");
    -webkit-mask-size:100% 100%;mask-size:100% 100%;
    -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
}
.wave-media--top{
    -webkit-mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'><path fill='black' d='M0,128L48,149.3C96,171,192,213,288,213.3C384,213,480,171,576,160C672,149,768,171,864,181.3C960,192,1056,192,1152,176C1248,160,1344,128,1392,112L1440,96L1440,0L0,0Z'/></svg>");
    mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'><path fill='black' d='M0,128L48,149.3C96,171,192,213,288,213.3C384,213,480,171,576,160C672,149,768,171,864,181.3C960,192,1056,192,1152,176C1248,160,1344,128,1392,112L1440,96L1440,0L0,0Z'/></svg>");
}
.wave-media img{width:100%;height:100%;object-fit:cover;display:block;min-height:260px}*/
.home-showcase{padding-block:130px 60px;}
.home-showcase p{color:var(--muted);max-width:560px;margin:10px 0 26px}
.home-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:-44px;position:relative;z-index:2}
.home-stats article{background:#fff;border:1px solid #dceef5;border-radius:22px;padding:25px;text-align:center;box-shadow:var(--shadow)}
.home-stats strong{display:block;font-size:2.2rem;color:var(--blue)}
.home-stats span{color:var(--muted);font-weight:700}
.home-info{padding-block:15%;}
.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.info-grid article{background:#fff;border:1px solid #dceef5;border-radius:22px;padding:26px;box-shadow:var(--shadow)}
.info-grid article>span{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--cyan);color:#063b58;font-weight:900;}
.info-grid h3{color:var(--blue);font-size:1.35rem;margin:18px 0 8px}.info-grid p{color:var(--muted);line-height:1.6;margin:0}
.cart-item-detailed{grid-template-columns:58px 1fr auto;align-items:start}.cart-product-info{min-width:0}.cart-qty{display:flex;align-items:center;gap:5px;margin-top:9px}.cart-qty button{width:30px;height:30px;border:0;border-radius:8px;background:var(--pale);color:var(--blue);font-weight:900}.cart-qty input{width:58px;height:30px;border:1px solid #cce5ef;border-radius:8px;text-align:center}.line-total{display:block;margin-top:7px;color:var(--blue);font-size:.82rem;font-weight:900}.cart-summary-line{display:flex;justify-content:space-between;padding:17px 0 0;color:var(--muted)}.cart-summary-line strong{color:var(--blue)}
@media(max-width:900px){.home-hero-grid{grid-template-columns:1fr;gap:36px}.home-stats{grid-template-columns:1fr;margin-top:24px}.info-grid{grid-template-columns:1fr}.home-logo-card img{width:min(100%,320px)}}
@media(max-width:620px){.home-hero-grid{padding-block:46px}.home-copy h1{font-size:2.7rem}.home-logo-card{padding:22px}.home-stats{width:min(100% - 28px,1180px)}.cart-item-detailed{grid-template-columns:52px 1fr auto}.cart-item-detailed img{width:52px;height:52px}}


/* ============================================================
   CAMBIOS PERSONALIZADOS: FONDO, LOGO, GALERÍA Y SECCIÓN ONDULADA
   ============================================================ */

/* Logo del header: tamaño moderado, nítido y sin deformarse. */
.brand{
    display:flex;
    align-items:center;
    height:76px;
}

.brand img{
    width:92px;
    height:64px;
    object-fit:contain;
    display:block;
}

/* Fondo del inicio y del catálogo usando assets/fondo.jpg. */
.home-hero,
.hero{
    background-image:
        linear-gradient(rgba(255,255,255,.76),rgba(255,255,255,.88)),
        url("fondo.jpg");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    background-attachment:fixed;
}

/* El contenido del catálogo se mantiene legible sobre la fotografía. */
.hero{
    color:var(--ink);
}

.hero h1{
    color:var(--blue);
}

.hero p{
    color:var(--muted);
}

.hero-card{
    background:rgba(255,255,255,.92);
    backdrop-filter:blur(8px);
}

/* El catálogo completo también conserva el fondo fotográfico. */
body:has(.hero){
    background-image:
        linear-gradient(rgba(248,252,254,.84),rgba(248,252,254,.92)),
        url("fondo.jpg");
    background-size:cover;
    background-position:center;
    background-attachment:fixed;
}

/* Galería moderna de 3 imágenes después de "Calidad que se nota a simple vista". */
.home-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 34px;
    align-items: stretch;
}

.gallery-card{
    position:relative;
    min-height:360px;
    height: 450px;
    border-radius:28px;
    overflow:hidden;
    background:#eaf7fb;
    box-shadow:0 18px 45px rgba(7,59,91,.16);
    border:1px solid rgba(255,255,255,.8);
    transition:transform .35s ease,box-shadow .35s ease;
}

.gallery-card:hover{
    transform:translateY(-8px);
    box-shadow:0 25px 55px rgba(7,59,91,.23);
}

.gallery-card img{
    width:100%;
    height:100%;
    min-height:360px;
    object-fit:cover;
    display:block;
    transition:transform .5s ease;
}

.gallery-card:hover img{
    transform:scale(1.06);
}


.gallery-overlay{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    padding:70px 24px 24px;
    color:white;
    background:linear-gradient(transparent,rgba(7,59,91,.88));
}

.gallery-overlay span{
    font-size:.75rem;
    font-weight:900;
    letter-spacing:.15em;
    color:#bceeff;
}

.gallery-overlay h3{
    margin:8px 0 0;
    font-size:1.35rem;
}

/* Sección para una imagen con ondas arriba y abajo. */
.wave-image-section{
    padding-top: 150px;
    overflow:hidden;
}

.wave-image{
    position:relative;
    width:100%;
    height:520px;
    overflow:hidden;
    isolation:isolate;
    background:#0b4d78;
}

.wave-image::before,
.wave-image::after{
    content:"";
    position:absolute;
    left:-5%;
    width:110%;
    height:100px;
    background:#f8fcfe;
    z-index:2;
    border-radius:50%;
}

.wave-image::before{
    top:-65px;
}

.wave-image::after{
    bottom:-65px;
}

.wave-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.wave-image-content{
    position:absolute;
    z-index:3;
    inset:0;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:40px 20px;
    background:rgba(255, 255, 255, 0.25);
}

.wave-image-content .eyebrow{
    color:#d8f6ff;
}

.wave-image-content h2{
    color:white;
    max-width:700px;
    text-shadow:0 3px 18px rgba(0,0,0,.25);
}

/* Ajustes para tablet y celular. */
@media(max-width:900px){
    .home-gallery{
        grid-template-columns:repeat(2,1fr);
    }

    .gallery-card--featured{
        transform:none;
    }

    .gallery-card--featured:hover{
        transform:translateY(-8px);
    }

    .wave-image{
        height:440px;
    }
}

@media(max-width:620px){
    .brand img{
        width:78px;
        height:58px;
    }

    .brand{
        height:70px;
    }

    .home-gallery{
        grid-template-columns:1fr;
        gap:18px;
    }

    .gallery-card,
    .gallery-card img{
        min-height:300px;
    }

    .wave-image-section{
        padding:55px 0;
    }

    .wave-image{
        height:380px;
    }

    .wave-image::before,
    .wave-image::after{
        height:75px;
    }

    .wave-image::before{
        top:-50px;
    }

    .wave-image::after{
        bottom:-50px;
    }
}