/* MEG Pharma website stylesheet — editable in Adobe Dreamweaver. */

:root {
    --ink:#153f48;
    --teal:#147a87;
    --aqua:#eaf5f4;
    --muted:#637a7d;
    --cream:#f9fbfa;
    --border:#e2ebeb;
    --shadow:0 14px 40px rgba(16,64,71,.075)
}
* {
    box-sizing:border-box
}
html {
    scroll-behavior:smooth
}
body {
    margin:0;
    background:white;
    color:#173b43;
    font-family:Inter,'Segoe UI',Arial,sans-serif;
    line-height:1.65
}
a {
    color:inherit;
    text-decoration:none
}
a:hover {
    color:var(--teal)
}
img {
    max-width:100%;
    display:block
}
button,input,select {
    font:inherit
}
.wrap {
    max-width:1190px;
    margin:auto;
    padding:0 26px
}
.top {
    position:sticky;
    top:0;
    z-index:20;
    background:rgba(255,255,255,.98);
    border-bottom:1px solid var(--border)
}
.nav {
    height:86px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px
}
.brand img {
    width:166px;
    max-height:70px;
    object-fit:contain
}
.links {
    display:flex;
    align-items:center;
    gap:32px;
    font-weight:650;
    font-size:14px
}
.links a[aria-current] {
    color:var(--teal)
}
.menu-toggle {
    display:none;
    cursor:pointer;
    border:1px solid var(--border);
    background:white;
    border-radius:8px;
    padding:10px 14px
}
.btn {
    border:1px solid var(--teal);
    background:var(--teal);
    color:#fff;
    padding:13px 22px;
    border-radius:999px;
    font-weight:750;
    font-size:14px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px
}
.btn:hover {
    color:white;
    background:#0b5962
}
.btn.white {
    background:#fff;
    color:var(--ink);
    border-color:#fff
}
.btn.outline {
    background:transparent;
    color:var(--teal)
}
.btn.outline:hover {
    background:var(--aqua)
}
h1,h2,h3 {
    line-height:1.17;
    letter-spacing:-.035em;
    margin:0 0 16px
}
h1 {
    font-size:clamp(38px,5vw,69px)
}
h2 {
    font-size:clamp(28px,3.2vw,42px)
}
h3 {
    font-size:21px
}
p {
    margin:0 0 17px
}
.kicker {
    color:var(--teal);
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:.19em;
    font-weight:800;
    margin-bottom:13px
}
.muted {
    color:var(--muted)
}
.section {
    padding:88px 0
}
.section.tint {
    background:var(--cream)
}
.section-title {
    display:flex;
    gap:30px;
    align-items:end;
    justify-content:space-between;
    margin-bottom:31px
}
.section-title p {
    color:var(--muted);
    max-width:650px
}
.home-hero {
    position:relative;
    min-height:590px;
    background:#eaf4f3 url('../images/family-home.webp') center center/cover no-repeat;
    display:flex;
    align-items:center
}
.home-hero .text {
    max-width:470px;
    padding:56px 0;
    position:relative;
    z-index:1
}
.home-hero h1 {
    font-size:clamp(38px,5vw,67px);
    color:#0a4d60
}
.home-hero p:not(.kicker) {
    max-width:380px;
    color:#426e79;
    font-weight:550;
    font-size:17px
}
.home-hero .buttons {
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-top:26px
}
.home-hero:before {
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,rgba(239,249,249,.86),rgba(239,249,249,.45) 34%,transparent 65%)
}
.grid {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:23px
}
.prod-card {
    display:flex;
    flex-direction:column;
    border:1px solid var(--border);
    border-radius:16px;
    overflow:hidden;
    background:white;
    transition:.2s;
    box-shadow:0 4px 18px rgba(0,0,0,.025)
}
.prod-card:hover {
    transform:translateY(-4px);
    box-shadow:var(--shadow)
}
.prod-card figure {
    margin:0;
    height:265px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#f6f9f9;
    padding:18px
}
.prod-card img {
    height:100%;
    width:100%;
    object-fit:contain
}
.prod-card .info {
    padding:22px;
    flex:1
}
.prod-card small {
    color:var(--teal);
    font-size:11px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.05em
}
.prod-card h3 {
    font-size:19px;
    margin:9px 0
}
.prod-card p {
    font-size:13px;
    color:var(--muted);
    margin:0 0 13px
}
.more {
    color:var(--teal);
    font-weight:750;
    font-size:13px
}
.feature-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px
}
.feature {
    border:1px solid var(--border);
    background:white;
    padding:30px;
    border-radius:18px
}
.feature .symbol {
    color:var(--teal);
    font-size:30px;
    margin-bottom:12px
}
.feature p {
    color:var(--muted);
    font-size:14px
}
.banner {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
    padding:43px 48px;
    border-radius:20px;
    background:#0e5964;
    color:white
}
.banner h2 {
    font-size:34px
}
.banner p {
    color:#cbe3e4
}
.page-banner {
    background:#ecf6f5;
    padding:68px 0
}
.page-banner p {
    max-width:650px;
    color:var(--muted)
}
.about-image {
    width:100%;
    border-radius:18px;
    box-shadow:var(--shadow)
}
.about-split {
    display:grid;
    grid-template-columns:1.05fr .95fr;
    align-items:center;
    gap:60px
}
.about-split p {
    color:var(--muted)
}
.filters {
    display:flex;
    gap:12px;
    align-items:center;
    margin:0 0 25px;
    flex-wrap:wrap
}
.filters input,.filters select {
    border:1px solid #d2e1e2;
    border-radius:12px;
    padding:13px 16px;
    background:white;
    min-width:180px
}
.filters input {
    flex:1
}
.count {
    font-size:13px;
    color:var(--muted);
    margin-bottom:20px
}
.crumb {
    font-size:13px;
    color:var(--teal);
    margin:30px 0 22px
}
.product-layout {
    display:grid;
    grid-template-columns:minmax(280px,.95fr) minmax(340px,1.05fr);
    gap:65px;
    align-items:start
}
.product-photo {
    background:#f6f9f9;
    border-radius:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:475px;
    padding:26px
}
.product-photo img {
    max-height:470px;
    object-fit:contain
}
.product-text h1 {
    font-size:clamp(32px,4vw,49px)
}
.product-text .description {
    font-size:17px;
    color:#536d70
}
.pack {
    display:inline-block;
    background:#e8f4f3;
    padding:7px 13px;
    border-radius:99px;
    font-size:13px;
    font-weight:750;
    color:#136e79;
    margin-bottom:20px
}
.facts {
    border:1px solid #d6e1e1;
    border-radius:16px;
    padding:26px;
    background:#fff;
    box-shadow:var(--shadow)
}
.facts h2 {
    font-size:28px
}
.facts table {
    width:100%;
    border-collapse:collapse;
    font-size:12px;
    line-height:1.4
}
.facts th,.facts td {
    text-align:left;
    border-bottom:1px solid #e6eeee;
    padding:9px 5px;
    vertical-align:top
}
.facts th {
    background:#edf5f5;
    color:#28525a
}
.facts td:last-child {
    text-align:right;
    white-space:nowrap
}
.facts td:nth-child(2) {
    white-space:nowrap
}
.facts p {
    font-size:12px;
    color:#687f82;
    margin:12px 0 0
}
.detail-bottom {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:25px;
    margin-top:46px
}
.detail-bottom .feature {
    padding:24px
}
.source {
    margin:20px 0;
    color:#6b7e81;
    font-size:12px
}
.notice {
    font-size:12px;
    color:#637779;
    background:#f1f7f6;
    padding:15px;
    border-radius:12px
}
.empty {
    padding:24px;
    border:1px dashed #b4cbcb;
    border-radius:12px;
    background:#f6faf9
}
.footer {
    background:#0b303a;
    color:#d0e1e2;
    padding:58px 0 26px
}
.foot-grid {
    display:grid;
    grid-template-columns:2fr 1fr 1.5fr;
    gap:55px
}
.foot-grid img {
    width:170px;
    background:white;
    padding:10px;
    border-radius:9px
}
.footer a:hover {
    color:#a8e2e6
}
.footer h3 {
    font-size:15px;
    color:white
}
.footer p {
    font-size:13px;
    color:#bfd3d5
}
.footer .copy {
    border-top:1px solid #355661;
    margin-top:34px;
    padding-top:18px;
    font-size:12px;
    color:#9cb8bd
}
.contactgrid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:25px
}
.skip {
    position:absolute;
    left:-10000px
}
.skip:focus {
    left:10px;
    top:10px;
    z-index:100;
    background:white;
    padding:8px
}
.gallery-feature {
    margin:18px 0 0
}
.gallery-feature img {
    max-width:100%;
    border-radius:15px
}
.info-link {
    color:var(--teal);
    text-decoration:underline;
    text-underline-offset:3px
}
@media(max-width:900px) {
    .grid {
        grid-template-columns:repeat(3,1fr)
    }
    .product-layout {
        gap:28px
    }
    .home-hero {
        min-height:510px;
        background-position:center
    }
    .home-hero:before {
        background:linear-gradient(90deg,rgba(239,249,249,.94),rgba(239,249,249,.62) 55%,transparent)
    }
}
@media(max-width:680px) {
    .wrap {
        padding:0 18px
    }
    .nav {
        height:72px
    }
    .brand img {
        width:135px
    }
    .menu-toggle {
        display:block
    }
    .links {
        display:none;
        position:absolute;
        top:72px;
        left:0;
        right:0;
        background:white;
        padding:20px;
        box-shadow:var(--shadow);
        flex-direction:column;
        align-items:flex-start;
        gap:16px
    }
    .links.open {
        display:flex
    }
    .nav>.btn {
        display:none
    }
    .home-hero {
        min-height:565px;
        background-position:62% center;
        align-items:start
    }
    .home-hero:before {
        background:linear-gradient(180deg,rgba(243,250,250,.97),rgba(243,250,250,.74) 50%,rgba(243,250,250,.04) 100%)
    }
    .home-hero .text {
        padding:42px 0
    }
    .home-hero h1 {
        font-size:41px
    }
    .grid {
        grid-template-columns:repeat(2,1fr);
        gap:12px
    }
    .prod-card figure {
        height:195px
    }
    .prod-card .info {
        padding:13px
    }
    .prod-card h3 {
        font-size:15px
    }
    .prod-card p {
        font-size:11px
    }
    .feature-grid,.about-split,.product-layout,.detail-bottom,.contactgrid,.foot-grid {
        grid-template-columns:1fr
    }
    .about-split {
        gap:25px
    }
    .product-layout {
        gap:26px
    }
    .product-photo {
        min-height:340px
    }
    .product-photo img {
        max-height:340px
    }
    .section {
        padding:55px 0
    }
    .section-title,.banner {
        display:block
    }
    .banner {
        padding:28px
    }
    .banner .btn {
        margin-top:12px
    }
    .page-banner {
        padding:43px 0
    }
    .facts {
        padding:18px
    }
    .facts table {
        font-size:11px
    }
}
@media print {
    .top,.footer,.btn,.filters,.source,.skip {
        display:none!important
    }
    body {
        background:white
    }
    .section {
        padding:32px 0
    }
    .product-layout {
        gap:25px
    }
    .product-photo {
        min-height:240px
    }
    .product-photo img {
        max-height:320px
    }
    .facts {
        box-shadow:none
    }
    .home-hero {
        min-height:390px
    }
    .prod-card {
        break-inside:avoid
    }
}
/* Supplied homepage artwork contains its own branding and headline. Keep it unobscured. */ .home-hero {
    min-height:0;
    aspect-ratio:1.55;
    display:block;
    background-size:cover;
    background-position:center
}
.home-hero:before,.home-hero .text {
    display:none
}
.hero-cta {
    padding:38px 0;
    background:#eaf5f4
}
.hero-cta>.wrap {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px
}
.hero-cta h2 {
    font-size:clamp(24px,3vw,36px);
    margin-bottom:8px
}
.hero-cta p:not(.kicker) {
    margin:0;
    color:#526c70
}
@media(max-width:680px) {
    .home-hero {
        aspect-ratio:1.3;
        background-position:58% center
    }
    .hero-cta>.wrap {
        display:block
    }
    .hero-cta .btn {
        margin-top:16px
    }
}
/* 2026 homepage and product detail redesign */ .home-welcome {
    padding:58px 0 66px;
    background:linear-gradient(135deg,#f1f8f8 0%,#fff 72%)
}
.welcome-grid {
    display:grid;
    grid-template-columns:1fr 1.04fr;
    align-items:center;
    gap:54px
}
.welcome-copy {
    padding:20px 0
}
.welcome-copy h1 {
    font-size:clamp(39px,4.5vw,65px);
    line-height:1.11;
    color:#0b4755
}
.welcome-copy h1 em {
    font-style:normal;
    color:#16818c
}
.welcome-lead {
    max-width:440px;
    font-size:17px;
    color:#58767b;
    line-height:1.7
}
.welcome-copy .buttons {
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin:27px 0
}
.welcome-media {
    border-radius:26px;
    overflow:hidden;
    box-shadow:0 24px 65px rgba(12,73,81,.14);
    background:#e5f1f1
}
.welcome-media img {
    width:100%;
    aspect-ratio:1.55;
    object-fit:cover
}
.welcome-stat {
    display:flex;
    align-items:center;
    gap:16px;
    margin-top:42px;
    padding-top:24px;
    border-top:1px solid #dce9e8;
    color:#648086;
    max-width:390px;
    font-size:13px;
    line-height:1.5
}
.welcome-stat span:first-child {
    font-size:42px;
    line-height:1;
    color:#147985;
    font-weight:800
}
.intro-section {
    padding:46px 0;
    background:#fff
}
.intro-title {
    max-width:760px
}
.intro-title h2 {
    font-size:clamp(25px,3vw,37px)
}
.intro-title>p:last-child {
    color:var(--muted)
}
.prod-card figure {
    background:#fff
}
.product-layout {
    grid-template-columns:minmax(220px,.85fr) minmax(245px,1fr) minmax(260px,1fr);
    gap:28px;
    align-items:start
}
.detail-gallery {
    position:sticky;
    top:112px
}
.product-photo.colored-photo {
    background:#f3f7f7;
    padding:0;
    min-height:0;
    overflow:hidden;
    border:1px solid #e5efef
}
.product-photo.colored-photo img {
    width:100%;
    height:auto;
    max-height:none;
    aspect-ratio:1;
    object-fit:contain
}
.detail-description {
    padding:6px 0
}
.detail-description h1 {
    font-size:clamp(28px,3vw,43px)
}
.detail-description .description {
    font-size:16px;
    line-height:1.8
}
.detail-facts {
    padding:23px;
    box-shadow:0 8px 30px rgba(10,64,67,.05);
    scroll-margin-top:115px
}
.detail-facts h2 {
    font-size:25px
}
.detail-facts table {
    font-size:12px
}
.back-control {
    display:inline-flex;
    gap:12px;
    align-items:center;
    font-weight:750;
    color:#0e7482;
    padding:9px 15px;
    border:1px solid #c9e1e3;
    border-radius:99px;
    background:#f1faf9
}
.back-control span:first-child {
    font-size:22px;
    line-height:1
}
.back-control:hover {
    background:#ddf0f0
}
.back-bottom {
    display:inline-flex;
    color:#0d7080;
    font-weight:700;
    padding:14px 0 0
}
.facts-shortcut {
    display:block;
    width:max-content;
    max-width:100%;
    font-weight:750;
    color:#0e7782;
    margin:-4px 0 22px;
    text-decoration:underline;
    text-underline-offset:4px
}
.crumb {
    margin:27px 0
}
.detail-facts .empty {
    padding:15px
}
.detail-facts td:last-child {
    white-space:normal
}
.product-layout .detail-description>.btn:last-child {
    margin-top:14px
}
@media(max-width:1050px) {
    .product-layout {
        grid-template-columns:minmax(220px,.85fr) minmax(300px,1.15fr)
    }
    .detail-facts {
        grid-column:2
    }
    .detail-gallery {
        grid-row:1 / span 2
    }
    .welcome-grid {
        gap:28px
    }
}
@media(max-width:680px) {
    .home-welcome {
        padding:29px 0 45px
    }
    .welcome-grid {
        grid-template-columns:1fr;
        gap:24px
    }
    .welcome-copy {
        padding:0
    }
    .welcome-copy h1 {
        font-size:39px
    }
    .welcome-media {
        grid-row:2;
        border-radius:18px
    }
    .welcome-stat {
        margin-top:22px
    }
    .intro-section {
        padding:36px 0
    }
    .product-layout {
        grid-template-columns:1fr;
        gap:20px
    }
    .detail-gallery {
        position:static;
        grid-row:auto
    }
    .detail-facts {
        grid-column:auto
    }
    .product-photo.colored-photo img {
        max-height:430px
    }
    .detail-description h1 {
        font-size:34px
    }
    .detail-facts {
        padding:20px
    }
}
@media print {
    .welcome-grid {
        grid-template-columns:1fr 1fr
    }
    .welcome-media img {
        max-height:300px
    }
    .detail-gallery {
        position:static
    }
    .product-layout {
        grid-template-columns:1fr 1fr
    }
    .detail-facts {
        grid-column:1/-1
    }
}
/* CATALOGUE: all product cards and photograph zones must remain white. */
.prod-card, .prod-card figure, .white-product-image {
    background: #fff;
}
.prod-card img {
    mix-blend-mode: normal;
}
/* PRODUCT DETAIL: the single product picture is the colored-background image. */
.product-photo.colored-photo {
    background: #fff;
}

/* Respect hidden cards when product filters are applied. */
.prod-card[hidden] {
    display: none !important;
}
