/* Inner-page content styling for Farmacia Perú. Brand teal (#1abc9c) + Roboto/Montserrat,
   consistent with the homepage. Scoped to .fm-page so it never affects the header/footer. */
.fm-page{color:#3a3a3a;font-family:"Montserrat",sans-serif;line-height:1.7;}
.fm-page img{max-width:100%;height:auto;}
.fm-page a{color:#1e72bd;}

/* Hero band */
.fm-hero{background:linear-gradient(135deg,#1abc9c 0%,#13b39b 55%,#0e9e8a 100%);color:#fff;padding:66px 24px;text-align:center;}
.fm-hero .fm-crumb{display:block;margin:0 0 14px;font-size:12px;letter-spacing:2px;text-transform:uppercase;color:rgba(255,255,255,.85);}
.fm-hero .fm-crumb a{color:#fff;text-decoration:none;}
.fm-hero .fm-crumb a:hover{text-decoration:underline;}
.fm-hero h1{color:#fff;font-family:"Roboto",sans-serif;font-weight:300;font-style:oblique;font-size:46px;letter-spacing:-0.5px;margin:0;line-height:1.12;}
.fm-hero p{margin:16px auto 0;max-width:720px;font-size:18px;font-weight:300;color:rgba(255,255,255,.96);}

/* Sections */
.fm-section{max-width:1000px;margin:0 auto;padding:58px 22px;}
.fm-section--tint{background:#f5faf9;max-width:none;padding:0;}
.fm-section--tint>.fm-inner{max-width:1000px;margin:0 auto;padding:58px 22px;}
.fm-section h2,.fm-section--tint h2{font-family:"Roboto",sans-serif;font-weight:300;font-style:oblique;font-size:33px;color:#141414;margin:0 0 4px;letter-spacing:-0.4px;}
.fm-section h3{font-family:"Montserrat",sans-serif;font-weight:600;font-size:19px;color:#141414;margin:26px 0 8px;}
.fm-section p{margin:0 0 16px;font-size:16.5px;}
.fm-lead{font-size:19px;font-weight:300;color:#2a2a2a;}
.fm-rule{width:70px;height:3px;background:#1abc9c;border:0;margin:0 0 24px;}
.fm-center{text-align:center;}
.fm-center .fm-rule{margin-left:auto;margin-right:auto;}

/* Feature (image + text) */
.fm-feature{display:flex;flex-wrap:wrap;gap:42px;align-items:center;margin:36px 0;}
.fm-feature>div{flex:1 1 320px;}
.fm-feature img{border-radius:5px;display:block;width:100%;box-shadow:0 12px 32px rgba(0,0,0,.09);}
.fm-feature--rev{flex-direction:row-reverse;}

/* Card grid */
.fm-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:24px;margin:32px 0 0;}
.fm-card{background:#fff;border:1px solid #ececec;border-top:3px solid #1abc9c;border-radius:5px;padding:28px 24px;transition:box-shadow .25s ease,transform .25s ease;}
.fm-card:hover{box-shadow:0 14px 34px rgba(26,188,156,.16);transform:translateY(-3px);}
.fm-card .fm-ic{font-size:26px;color:#1abc9c;margin-bottom:12px;}
.fm-card h3{margin:0 0 8px;font-size:18px;color:#141414;}
.fm-card p{font-size:15px;margin:0;color:#555;line-height:1.6;}
.fm-card .fm-more{display:inline-block;margin-top:14px;color:#12a58c;font-weight:600;font-size:14px;text-decoration:none;}
.fm-card .fm-more:hover{text-decoration:underline;}

/* Check list */
.fm-list{list-style:none;margin:12px 0 0;padding:0;}
.fm-list li{display:flex;gap:12px;align-items:flex-start;padding:9px 0;font-size:16.5px;border-bottom:1px solid #f0f0f0;}
.fm-list li i{color:#1abc9c;font-size:15px;margin-top:5px;flex:0 0 auto;}

/* Image gallery */
.fm-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px;margin:32px 0 0;}
.fm-gallery img{width:100%;height:210px;object-fit:cover;border-radius:5px;box-shadow:0 8px 22px rgba(0,0,0,.08);}

/* Steps */
.fm-steps{counter-reset:st;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:22px;margin-top:30px;}
.fm-step{position:relative;padding:26px 24px;background:#f5faf9;border-radius:6px;}
.fm-step::before{counter-increment:st;content:counter(st);display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;background:#1abc9c;color:#fff;font-weight:600;font-size:18px;margin-bottom:14px;font-family:"Roboto",sans-serif;}
.fm-step h3{margin:0 0 6px;font-size:17px;color:#141414;}
.fm-step p{margin:0;font-size:15px;color:#555;line-height:1.6;}

/* Buttons */
.fm-btn{display:inline-block;font-family:"Roboto",sans-serif;font-size:15px;text-transform:uppercase;letter-spacing:2px;padding:14px 32px;border:3px solid #1abc9c;color:#1abc9c;background:transparent;text-decoration:none;transition:background .2s,color .2s;}
.fm-btn:hover,.fm-btn:focus{background:#1abc9c;color:#fff;}
.fm-btn--solid{background:#1abc9c;color:#fff;}
.fm-btn--solid:hover{background:#0e9e8a;color:#fff;}

/* CTA band */
.fm-cta{background:#1abc9c;color:#fff;text-align:center;padding:56px 22px;}
.fm-cta h2{color:#fff;font-family:"Roboto",sans-serif;font-weight:300;font-style:oblique;font-size:32px;margin:0 0 10px;}
.fm-cta p{color:rgba(255,255,255,.96);max-width:640px;margin:0 auto 24px;font-weight:300;font-size:17px;}
.fm-cta .fm-btn{border-color:#fff;color:#fff;}
.fm-cta .fm-btn:hover{background:#fff;color:#12a58c;}

/* Contact */
.fm-contact{display:flex;flex-wrap:wrap;gap:44px;}
.fm-contact>div{flex:1 1 320px;}
.fm-cinfo{padding:0;margin:16px 0 0;list-style:none;}
.fm-cinfo li{display:flex;gap:14px;align-items:flex-start;padding:13px 0;border-bottom:1px solid #f0f0f0;font-size:16px;}
.fm-cinfo i{color:#1abc9c;font-size:19px;width:24px;text-align:center;margin-top:3px;flex:0 0 auto;}
.fm-cinfo a{color:#1e72bd;text-decoration:none;}
.fm-cinfo a:hover{text-decoration:underline;}
.fm-map iframe{width:100%;height:340px;border:0;border-radius:5px;}

/* Static-site contact form */
.fm-form{margin-top:20px;}
.fm-form label{display:block;font-size:12px;font-weight:600;color:#444;margin:0 0 5px;text-transform:uppercase;letter-spacing:.5px;}
.fm-form input,.fm-form textarea{width:100%;padding:12px 14px;border:1px solid #cfd4d3;border-radius:3px;font-family:inherit;font-size:15px;margin-bottom:16px;background:#fff;color:#222;box-sizing:border-box;}
.fm-form input:focus,.fm-form textarea:focus{outline:none;border-color:#1abc9c;box-shadow:0 0 0 2px rgba(26,188,156,.15);}
.fm-form .fm-check-row{display:flex;gap:10px;align-items:flex-start;font-size:13px;color:#666;margin-bottom:18px;}
.fm-form .fm-check-row input{width:auto;margin:3px 0 0;flex:0 0 auto;}
.fm-form button{cursor:pointer;}

/* Legal prose */
.fm-legal{max-width:820px;margin:0 auto;padding:56px 22px;}
.fm-legal h2{font-family:"Roboto",sans-serif;font-weight:300;font-style:oblique;font-size:26px;color:#141414;margin:34px 0 10px;}
.fm-legal h3{font-size:18px;margin:22px 0 8px;color:#141414;}
.fm-legal p,.fm-legal li{font-size:16px;line-height:1.75;}
.fm-legal ul{margin:0 0 16px;padding-left:22px;}
.fm-legal li{margin-bottom:8px;}
.fm-legal .fm-updated{color:#888;font-size:14px;}

@media(max-width:768px){
  .fm-hero h1{font-size:33px;}
  .fm-hero{padding:52px 20px;}
  .fm-section h2,.fm-section--tint h2{font-size:27px;}
  .fm-section,.fm-section--tint>.fm-inner{padding:42px 18px;}
  .fm-feature{gap:24px;}
  .fm-gallery img{height:180px;}
}
