/* Fferyllfa Penygroes — fresh v3 design */
:root{--ink:#173d43;--teal:#286d70;--deep:#123e43;--mint:#e9f2ec;--lime:#d8e9a4;--cream:#f8faf7;--body:#5c6c6c;--line:#e1e9e6;--white:#fff}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{margin:0;background:var(--white);color:var(--ink);font:16px/1.65 "DM Sans",Arial,sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}img{max-width:100%;display:block}button{font:inherit}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Manrope,Arial,sans-serif;letter-spacing:-.045em;line-height:1.18}h2{font-size:clamp(2.15rem,4vw,3.8rem);font-weight:800}h2 span{color:var(--teal)}p{color:var(--body)}.shell{width:min(1160px,calc(100% - 48px));margin-inline:auto}.skip{position:absolute;top:-80px;left:12px;background:var(--lime);padding:12px 18px;z-index:100}.skip:focus{top:12px}a:focus-visible,button:focus-visible{outline:3px solid #85b84b;outline-offset:4px}
.announcement{background:var(--deep);color:#e7f2ef;font-size:12px;line-height:1.4}.announcement .shell{display:flex;justify-content:space-between;align-items:center;gap:18px;min-height:38px}.announcement a{color:#fff}.announcement strong{font-weight:700}
.header{position:sticky;top:0;z-index:30;background:#fff;border-bottom:1px solid var(--line)}.header-row{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:92px}.brand{display:flex;align-items:center;flex:0 0 auto}.brand img{width:215px;height:auto;max-height:77px;object-fit:contain;object-position:left}.nav{display:flex;align-items:center;gap:clamp(14px,2vw,30px)}.nav>a{font-size:13px;font-weight:700;white-space:nowrap;transition:color .2s}.nav>a:hover{color:var(--teal)}.nav .nav-button{display:inline-flex;align-items:center;gap:13px;background:var(--deep);color:white;padding:13px 18px;border-radius:7px}.nav .nav-button:hover{background:var(--teal);color:#fff}.menu-toggle{display:none;border:0;background:transparent;padding:12px;cursor:pointer}.menu-toggle span{display:block;width:24px;height:2px;background:var(--deep);margin:5px 0;border-radius:2px}
.hero{background:var(--cream);overflow:hidden}.hero-layout{display:grid;grid-template-columns:1fr 1fr;gap:clamp(34px,6vw,85px);align-items:center;padding-block:65px}.hero-copy{padding-block:20px}.section-tag,.eyebrow{display:inline-flex;align-items:center;gap:10px;color:var(--teal);font-size:11px;font-weight:800;letter-spacing:.15em;text-transform:uppercase}.section-tag{margin-bottom:25px}.tag-dot,.status-dot{display:inline-block;flex:0 0 auto;background:#84b862;height:8px;width:8px;border-radius:100%}.hero h1{font-size:clamp(3rem,5.6vw,5.3rem);font-weight:800;line-height:1.08;margin-bottom:23px}.hero h1 span{color:var(--teal)}.hero-copy>p{font-size:18px;line-height:1.7;max-width:470px;margin-bottom:28px}.hero-buttons{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.button{display:inline-flex;justify-content:center;align-items:center;gap:17px;padding:14px 23px;min-height:51px;border-radius:8px;font-weight:700;font-size:14px;transition:background .2s,transform .2s}.button:hover{transform:translateY(-2px)}.button.primary{background:var(--deep);color:#fff}.button.primary:hover{background:var(--teal)}.button.outline{border:1px solid #b9cfca;color:var(--deep);background:#fff}.button.outline:hover{background:var(--mint)}.button.pale{background:var(--lime);color:var(--deep)}.button.pale:hover{background:#e5f2bd}.hero-reassurance{display:flex;align-items:center;gap:9px;font-size:12px;color:#526d69;margin-top:42px;border-top:1px solid var(--line);padding-top:18px}.hero-photo{position:relative;min-width:0}.hero-photo>img{height:490px;width:100%;border-radius:20px;object-fit:cover;object-position:center}.photo-note{position:absolute;bottom:22px;left:-22px;background:#fff;border-radius:12px;padding:14px 18px;display:flex;gap:12px;align-items:center;box-shadow:0 12px 42px #153e4320}.note-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:10px;background:var(--mint);color:var(--teal);font-size:22px}.photo-note strong,.photo-note small{display:block;line-height:1.5}.photo-note strong{font-size:13px}.photo-note small{color:var(--body);font-size:12px}
.quick{background:white;border-bottom:1px solid var(--line)}.quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.quick-grid>a{display:flex;align-items:center;gap:16px;padding:26px 20px;border-right:1px solid var(--line)}.quick-grid>a:first-child{padding-left:0}.quick-grid>a:last-child{border-right:0}.quick-icon{display:grid;place-items:center;flex:0 0 48px;height:48px;border-radius:12px;background:var(--mint);color:var(--teal);font-size:24px}.quick-grid strong,.quick-grid small{display:block;line-height:1.45}.quick-grid strong{font-size:14px}.quick-grid small{font-size:12px;color:var(--body);margin-top:3px}.quick-arrow{margin-left:auto;transition:transform .2s}.quick-grid a:hover .quick-arrow{transform:translate(3px,-3px)}
.section{padding-block:105px}.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(50px,8vw,105px);align-items:center}.about-pictures{position:relative;padding:0 55px 40px 0}.about-primary{width:100%;height:475px;object-fit:cover;border-radius:17px}.about-small{position:absolute;bottom:0;right:0;width:42%;height:205px;object-fit:cover;border-radius:13px;border:6px solid #fff;box-shadow:0 15px 34px #123e431a}.eyebrow{margin-bottom:20px}.about h2{margin-bottom:24px}.about p{font-size:16px;line-height:1.85;margin-bottom:18px}.about p.lead{font-size:19px;font-weight:700;color:var(--ink);line-height:1.55}.text-link{display:inline-flex;gap:15px;border-bottom:2px solid #95be88;font-size:14px;font-weight:800;margin-top:12px;padding-bottom:7px}.text-link:hover{color:var(--teal)}
.services{background:var(--cream)}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:60px;margin-bottom:38px}.section-heading h2{max-width:650px}.section-heading>p{max-width:315px;line-height:1.8;font-size:15px}.services-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.service-card{background:#fff;border:1px solid var(--line);border-radius:14px;min-height:255px;padding:28px;display:flex;flex-direction:column;align-items:flex-start;transition:transform .2s,box-shadow .2s}.service-card:hover{transform:translateY(-4px);box-shadow:0 14px 40px #123e4312}.service-icon{width:48px;height:48px;border-radius:11px;display:grid;place-items:center;background:var(--mint);color:var(--teal);font-size:24px;margin-bottom:20px}.service-card h3{font-size:19px;margin-bottom:9px;font-weight:800}.service-card p{font-size:13px;line-height:1.7;margin-bottom:20px}.service-link{color:var(--teal);font-weight:800;font-size:12px;margin-top:auto}.service-link span{margin-left:8px}.other-services{margin-top:30px;padding:23px 26px;border:1px solid #dae6de;border-radius:11px;background:#eef5ee;display:flex;align-items:center;gap:25px}.other-services strong{flex:0 0 auto;font-size:14px}.other-services p{font-size:13px;line-height:1.6}.other-services a{white-space:nowrap;font-weight:800;font-size:12px;color:var(--teal)}
.feature{display:grid;grid-template-columns:1fr 1fr;background:var(--deep);color:white;min-height:445px}.feature-image{min-height:390px}.feature-image img{width:100%;height:100%;object-fit:cover}.feature-text{padding:70px clamp(35px,7vw,110px);display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.eyebrow.light{color:var(--lime)}.feature h2{font-size:clamp(2.3rem,4vw,4rem);margin-bottom:23px}.feature h2 span{color:var(--lime)}.feature p{color:#dfebe6;font-size:16px;line-height:1.8;max-width:440px;margin-bottom:27px}
.team{background:#fff}.team-gallery{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:17px}.team-gallery img{width:100%;height:320px;object-fit:cover;border-radius:13px}
.prescriptions{background:#e4f0dd;padding-block:55px}.prescriptions-layout{display:flex;align-items:center;justify-content:space-between;gap:36px}.prescriptions-layout>div{max-width:710px}.prescriptions h2{font-size:clamp(1.8rem,3vw,2.6rem);margin-bottom:13px}.prescriptions p{font-size:15px;line-height:1.7}.prescriptions .button{white-space:nowrap}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(40px,7vw,95px);align-items:center}.contact-info h2{margin-bottom:18px}.contact-info>p{font-size:17px;line-height:1.8;margin-bottom:30px}.detail{display:flex;gap:15px;align-items:flex-start;margin-bottom:23px}.detail-icon{flex:0 0 44px;display:grid;place-items:center;height:44px;border-radius:10px;background:var(--mint);color:var(--teal);font-size:23px}.detail strong{display:block;font-weight:800;font-size:14px;margin-bottom:3px}.detail address{font-style:normal;color:var(--body);font-size:15px;line-height:1.65}.detail a{color:var(--teal);font-weight:800}.contact-info>.button{margin-top:8px}.contact-photo img{height:460px;width:100%;object-fit:cover;border-radius:19px}
.footer{background:var(--deep);color:white;padding-top:66px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1.2fr;gap:50px;padding-bottom:58px}.footer-brand img{width:265px;max-height:110px;object-fit:contain;object-position:left}.footer p{color:#d2e1de;font-size:14px;line-height:1.75}.footer-brand p{margin-top:14px}.footer-grid h3{font-size:15px;letter-spacing:0;margin-bottom:18px}.footer-grid>div:not(:first-child) a{display:block;font-size:14px;color:#dfebe6;margin-top:9px}.footer-grid a:hover{color:var(--lime)}.footer-bottom{display:flex;justify-content:space-between;gap:20px;padding-block:20px;border-top:1px solid #366065;color:#c8dad6;font-size:12px}
@media(max-width:1050px){.brand img{width:185px}.nav{gap:13px}.nav>a{font-size:12px}.nav .nav-button{padding:11px 13px}.hero-layout{gap:35px}.hero h1{font-size:clamp(2.9rem,5vw,4.3rem)}.quick-grid>a{padding:23px 12px;gap:11px}.quick-icon{flex-basis:41px;height:41px}.other-services{flex-wrap:wrap;gap:10px}}
@media(max-width:780px){html{scroll-padding-top:75px}.shell{width:min(100% - 36px,1160px)}.announcement .shell{justify-content:center}.announcement .shell>span{display:none}.header-row{min-height:74px}.brand img{width:175px;max-height:62px}.menu-toggle{display:block;margin-left:auto}.nav{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:stretch;gap:0;background:#fff;padding:10px 18px 22px;box-shadow:0 20px 35px #123e4324}.nav.is-open{display:flex}.nav>a{font-size:15px;padding:13px 7px;border-bottom:1px solid var(--line)}.nav .nav-button{justify-content:center;margin-top:12px}.hero-layout{grid-template-columns:1fr;padding-block:55px 42px;gap:34px}.hero-copy{padding:0}.hero h1{font-size:clamp(2.8rem,9vw,4.7rem)}.hero-reassurance{margin-top:30px}.hero-photo>img{height:365px}.photo-note{left:14px;bottom:14px}.quick-grid{grid-template-columns:1fr}.quick-grid>a,.quick-grid>a:first-child{padding:18px 0;border-right:0;border-bottom:1px solid var(--line)}.quick-grid>a:last-child{border:0}.section{padding-block:70px}.about-grid,.contact-grid{grid-template-columns:1fr;gap:45px}.about-pictures{padding-right:45px}.about-primary{height:345px}.about-small{height:165px}.section-heading{display:block}.section-heading>p{margin-top:18px;max-width:620px}.services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.service-card{min-height:250px}.feature{grid-template-columns:1fr}.feature-image{min-height:0;height:320px}.feature-text{padding:60px 24px}.team-gallery{grid-template-columns:1fr 1fr}.team-gallery img{height:230px}.team-gallery img:last-child{grid-column:1/-1;height:240px}.prescriptions-layout{align-items:flex-start;flex-direction:column;gap:22px}.contact-photo img{height:360px}.footer-grid{grid-template-columns:1fr 1fr;gap:40px}.footer-brand{grid-column:1/-1}}
@media(max-width:520px){.hero h1{font-size:clamp(2.75rem,11vw,3.8rem)}.hero-copy>p{font-size:16px}.hero-buttons{align-items:stretch;flex-direction:column}.hero-buttons .button{width:100%}.hero-photo>img{height:295px}.about-primary{height:300px}.about-small{height:140px}.services-grid{grid-template-columns:1fr}.service-card{min-height:225px}.other-services{display:block}.other-services p{margin:9px 0}.team-gallery{grid-template-columns:1fr}.team-gallery img,.team-gallery img:last-child{grid-column:auto;height:260px}.footer-grid{grid-template-columns:1fr}.footer-brand{grid-column:auto}.footer-bottom{flex-direction:column;gap:5px}.contact-photo img{height:290px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}


/* Bilingual language selector */
.announcement .announcement-left{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.language-switch{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-shrink:0;color:#e9f5f0;font-size:12px}
.language-switch .language-label{opacity:.8}
.language-switch a{color:#e9f5f0;padding:3px 4px;border-radius:3px}
.language-switch a[aria-current="page"]{color:#fff;font-weight:800;text-decoration:underline;text-decoration-color:#d8e9a4;text-decoration-thickness:2px;text-underline-offset:4px}
.language-switch a:not([aria-current="page"]):hover{color:#d8e9a4}
.language-divider{opacity:.6}
@media(max-width:780px){
 .announcement .shell{justify-content:space-between}
 .announcement .announcement-left{display:flex;gap:0}
 .announcement .announcement-left>span{display:none}
 .language-switch{gap:6px;font-size:12px}
 .language-switch .language-label{display:none}
}


/* Deeper teal palette — English and Welsh pages share this stylesheet.
   Balanced dark sections and warm neutrals, rather than a full black theme. */
:root{
  --ink:#173c40;
  --teal:#4f9993;
  --deep:#10383e;
  --mint:#dae8df;
  --lime:#d5e7a0;
  --cream:#e9efea;
  --body:#526866;
  --line:#cdded5;
  --white:#f5f7f2;
}
body{background:#e9efea}
.header{background:#edf2ed;border-color:#cfded5}
.nav .nav-button{background:#124c50}
.announcement{background:#092d33}
.hero{background:linear-gradient(115deg,#123d43 0%,#174f52 100%);color:#f5f8f5}
.hero h1{color:#f8fbf7}
.hero h1 span{color:#d5e7a0}
.hero-copy>p{color:#dcebe6}
.hero .section-tag{color:#d5e7a0}
.hero .hero-reassurance{color:#d6e9e1;border-top-color:#457174}
.hero .button.primary{background:#d5e7a0;color:#12383d}
.hero .button.primary:hover{background:#e3efbd}
.hero .button.outline{background:transparent;border-color:#a9c9be;color:#fff}
.hero .button.outline:hover{background:#ffffff16}
.hero-photo>img{box-shadow:0 20px 45px #031f263b}
.photo-note{color:#173d43}
.quick{background:#17494d;border-color:#2d6264;color:#f2f8f5}
.quick-grid>a{border-right-color:#3d6767}
.quick-grid strong{color:#f6faf6}
.quick-grid small{color:#c7ddd7}
.quick-icon{background:#2a5b5b;color:#d5e7a0}
.quick-arrow{color:#d5e7a0}
.about{background:#e9efea}
.about .eyebrow,.team .eyebrow,.contact .eyebrow{color:#28665e}
.about-text h2 span,.contact-info h2 span{color:#286d67}
.about-text p{color:#526865}
.about-text .lead{color:#173d43}
.about-small{border-color:#e9efea}
.services{background:#143f45;color:#f6f9f5}
.services .eyebrow{color:#c8e3ab}
.services h2,.services h2 span{color:#f6f9f5}
.services h2 span{color:#d5e7a0}
.services .section-heading>p{color:#d6e6de}
.service-card{background:#215158;border-color:#34656a;color:#fff}
.service-card:hover{background:#2b6064;border-color:#8cafad;box-shadow:0 14px 35px #051f2640}
.service-icon{background:#366b68;color:#dcecae}
.service-card h3{color:#fff}
.service-card p{color:#d3e3dc}
.service-link{color:#e3f2b7}
.other-services{background:#204e54;border-color:#37696b}
.other-services strong{color:#fff}
.other-services p{color:#d4e4dc}
.other-services a{color:#e3f2b7}
.feature{background:#092f35}
.team{background:#dee9e1}
.team .section-heading>p{color:#536b65}
.prescriptions{background:#c4d9c9}
.prescriptions .eyebrow{color:#275d56}
.prescriptions h2{color:#123f40}
.prescriptions p{color:#345e56}
.contact{background:#e4ece6}
.contact-photo img{box-shadow:0 18px 40px #10383e20}
.footer{background:#092f35}
@media(max-width:780px){
  .nav{background:#edf2ed}
  .nav>a{border-bottom-color:#cbdcd3}
  .quick-grid>a{border-bottom-color:#3d6767}
}

/* Accessible external Google Reviews link in the contact section */
.google-reviews-link{display:inline-flex;align-items:center;gap:8px;color:#164b4d;font-size:14px;font-weight:800;text-decoration:underline;text-underline-offset:4px;margin:12px 18px 18px 0}
.google-reviews-link:hover{color:#337b70}
.google-reviews-link:focus-visible{outline:3px solid #85b84b;outline-offset:4px}

/* General enquiry form — English and Welsh */
.enquiry-section{background:#d5e3d9;padding:75px 0 90px}
.enquiry-grid{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:clamp(30px,6vw,85px);align-items:start}
.enquiry-intro h2{margin:0 0 22px;max-width:380px}
.enquiry-intro p{max-width:410px;margin-bottom:23px}
.medical-warning{background:#f2f7ef;border-left:4px solid #477f70;border-radius:5px;padding:17px 19px;font-size:14px;line-height:1.7}
.medical-warning strong{display:block;margin-bottom:4px;color:#234f4c}
.enquiry-form{background:#f5f8f3;padding:34px;border:1px solid #c7d9cc;border-radius:16px;box-shadow:0 16px 40px #113d3d13;display:grid;gap:19px}
.enquiry-form label{display:block;color:#244b49;font-size:14px;font-weight:700}
.enquiry-form label>span[aria-hidden]{color:#6e423c}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.enquiry-form input:not([type=checkbox]),.enquiry-form select,.enquiry-form textarea{display:block;width:100%;min-width:0;border:1px solid #bbd1c5;background:#fff;color:#163e40;border-radius:7px;padding:13px 14px;margin-top:7px;font:inherit;font-size:15px;line-height:1.45;transition:border-color .2s,box-shadow .2s}
.enquiry-form textarea{resize:vertical;min-height:140px}
.enquiry-form input:focus-visible,.enquiry-form textarea:focus-visible,.enquiry-form select:focus-visible{outline:2px solid #398074;outline-offset:2px}
.enquiry-form .form-confirm{display:flex;align-items:flex-start;gap:12px;font-weight:500;line-height:1.55}
.form-confirm input{height:19px;width:19px;flex-shrink:0;margin:2px 0 0;accent-color:#1d6060}
.enquiry-form .form-note{font-size:12px;color:#5d716b;margin:0}
.enquiry-form .form-feedback{border-radius:7px;background:#e8f2dc;border:1px solid #a9c997;color:#234d39;padding:14px 17px;font-size:14px;font-weight:700}
.enquiry-form .form-feedback.is-error{background:#fff0ec;border-color:#e6b6a9;color:#7e392e}
.enquiry-submit{width:fit-content;border:0;cursor:pointer}
.form-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
@media(max-width:850px){.enquiry-grid{grid-template-columns:1fr}.enquiry-intro h2,.enquiry-intro p{max-width:650px}}
@media(max-width:520px){.enquiry-section{padding:60px 0}.enquiry-form{padding:22px}.form-row{grid-template-columns:1fr}.enquiry-submit{width:100%}}

/* Pharmacy opening hours in the contact section */
.opening-hours{margin:24px 0;padding:22px 24px;background:#f5f8f3;border:1px solid #c7d9cc;border-radius:14px;max-width:480px}
.opening-hours h3{margin:0 0 14px;color:#17494d;font-size:20px}
.opening-hours-list{list-style:none;margin:0;padding:0}
.opening-hours-list li{display:flex;justify-content:space-between;gap:16px;padding:9px 0;border-bottom:1px solid #dbe6dd;color:#244b49;font-size:15px;line-height:1.5}
.opening-hours-list li:last-child{border-bottom:0;padding-bottom:0}
.opening-hours-list li span:last-child{text-align:right;font-weight:700;white-space:nowrap}
@media(max-width:380px){.opening-hours{padding:18px}.opening-hours-list li{font-size:13px;gap:8px}}
